[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] RE: [lwip] dependeny of MSS on MTU
From: |
Steve Langstaff |
Subject: |
[lwip-users] RE: [lwip] dependeny of MSS on MTU |
Date: |
Wed, 08 Jan 2003 23:38:48 -0000 |
If you were using BYTE stuffing then your comment about the packet size
doubling would be true.
If you are using BIT stuffing to replace e.g.
111111 with
1111101
then your maximum inflation will be 7/6.
--
Steve Langstaff.
-----Original Message-----
From: amol patel [mailto:address@hidden
Sent: 26 July 2002 10:18
To: address@hidden
Subject: [lwip] dependeny of MSS on MTU
Hi All!
In lwip stack we r using bit stuffing mechanism for escape
sequences. In the worst case if we have to bit stuff all the
characters of a packet then the size of the resulting packet will be
double of the original packet which we must be able to send using the
datalink layer. Now if the MSS * 2 > MTU we have to go for IP
fragmentation for which we have not included the code in lwip.
Is this implies that the size of the MSS should be 1/2 of the MTU to
avoid a situation like this?
Regards
Amol Patel
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
[This message was sent through the lwip discussion list.]
[This message was sent through the lwip discussion list.]