Christian Seberino
2005-11-18 16:42:46 UTC
I noticed that UDP has a total length field (bytes 5 & 6)
but TCP does NOT! (TCP has a header length field only
which is half of byte 13)
I tried to find the answer to this...the only thing I got
is that sometimes people pad out UDP payloads to make
it to the word boundary.
Why wouldn't this happen on TCP packets too? Must
UDP packets be aligned with word boundaries but NOT TCP
packets?
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://www.kernel-panic.org/pipermail/kplug-list/attachments/20051118/c0d259ea/attachment.pgp
but TCP does NOT! (TCP has a header length field only
which is half of byte 13)
I tried to find the answer to this...the only thing I got
is that sometimes people pad out UDP payloads to make
it to the word boundary.
Why wouldn't this happen on TCP packets too? Must
UDP packets be aligned with word boundaries but NOT TCP
packets?
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://www.kernel-panic.org/pipermail/kplug-list/attachments/20051118/c0d259ea/attachment.pgp