Becoz a UDP packet is not "complete" unless it has all the payload.
If a UDP packet arrives, and the length says 10-octets, but there were only 9, throw the packet away

No. UDP does not *require* that the packet be thrown away if it does not match checksum or length. Lots of implementations do that, but it is not required.

That's true. For checksum, 0x0000 is reserved for no-checksum-required, but most (all ?) stacks don't pass on partial packets.

--
Michael O'Keefe                      |          [EMAIL PROTECTED]
Live on and Ride a 03 BMW F650GSDakar|          [EMAIL PROTECTED]      / |
I like less more or less less than   |Work:+1 858 845 3514        /  |
more. UNIX-live it,love it,fork() it |Fax :+1 858 845 2652       /_p_|
My views are MINE ALONE, blah, blah, |Home:+1 760 788 1296       \`O'|
blah, yackety yack - don't come back |Fax :+1 858                _/_\|_,


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to