This commit is contained in:
Keith Winstein
2011-08-03 21:20:44 -04:00
parent 829d060fbb
commit 7ea81ca237
3 changed files with 35 additions and 4 deletions
+5 -2
View File
@@ -49,10 +49,9 @@ namespace Network {
uint64_t next_seq;
const Direction direction;
int MTU;
Flow( Direction s_direction )
: next_seq( 0 ), direction( s_direction ), MTU( 2048 )
: next_seq( 0 ), direction( s_direction )
{}
Packet new_packet( Payload &s_payload );
@@ -71,6 +70,10 @@ namespace Network {
bool server;
bool attached;
int MTU;
void update_MTU( void );
public:
Connection( bool s_server );