networkprotocols/tcpipv4v6prt/inc/tcp.h
changeset 25 d15a50675083
parent 18 39bb7c3571e9
child 51 78fceed50f62
equal deleted inserted replaced
20:e8d041006974 25:d15a50675083
   234 #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   234 #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   235 	//Function to set and get receive window
   235 	//Function to set and get receive window
   236 	void SetRecvWin(TUint aRecvWin) { iRecvBuf = aRecvWin;}
   236 	void SetRecvWin(TUint aRecvWin) { iRecvBuf = aRecvWin;}
   237 	TUint GetRecvWinSize()			{ return iRecvBuf;	 }
   237 	TUint GetRecvWinSize()			{ return iRecvBuf;	 }
   238 	TUint RecvMaxWnd()              { return iTcpMaxRecvWin;}
   238 	TUint RecvMaxWnd()              { return iTcpMaxRecvWin;}
       
   239 	TUint RecvBufFromIniFile()      { return iRecvBufFromIniFile; }
   239 #endif //SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   240 #endif //SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   240 
   241 
   241 #ifdef _LOG
   242 #ifdef _LOG
   242 	static void LogPacket(char aDir, RMBufChain& aPacket, RMBufPktInfo *info = 0, TInt aOffset = 0);
   243 	static void LogPacket(char aDir, RMBufChain& aPacket, RMBufPktInfo *info = 0, TInt aOffset = 0);
   243 #endif
   244 #endif
   293 
   294 
   294 	TUint32 iRandomIncrement;
   295 	TUint32 iRandomIncrement;
   295 	RMBufAllocator iBufAllocator;
   296 	RMBufAllocator iBufAllocator;
   296 #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   297 #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   297 	TUint iTcpMaxRecvWin;
   298 	TUint iTcpMaxRecvWin;
       
   299 	TUint iRecvBufFromIniFile;
   298 #endif //SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   300 #endif //SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   299 	};
   301 	};
   300 
   302 
   301 
   303 
   302 /**
   304 /**
   440 	TUint32 iHiddenFreeWindow;
   442 	TUint32 iHiddenFreeWindow;
   441 	//  Size of Window Shrink
   443 	//  Size of Window Shrink
   442 	TUint32 iShrinkedWindowSize;
   444 	TUint32 iShrinkedWindowSize;
   443 	// Window size set by user. This will override the default values for the bearers
   445 	// Window size set by user. This will override the default values for the bearers
   444 	TBool   iWindowSetByUser;
   446 	TBool   iWindowSetByUser;
       
   447 	//Flag for socket startup case. No tcp window expand/shrink in this case.
       
   448 	TBool iSocketStartupCase;
   445 #endif //SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   449 #endif //SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
   446 
   450 
   447 	// Maximum Segment Sizes
   451 	// Maximum Segment Sizes
   448 	TUint           iMSS;   //< Maximum set by user
   452 	TUint           iMSS;   //< Maximum set by user
   449 	TUint		    iSMSS;  //< Send MSS
   453 	TUint		    iSMSS;  //< Send MSS