[EMAIL PROTECTED] wrote:

> Everytime the networking code wants to know how long the
> packet is, it is necessary to call msgdsize() - or similar.
> In the best cast, this requires a simple bit of pointer arithmetic,
> but otherwise becomes a linked list walk.  Costly.

I think ipha_length works just fine.
The only exception is where IP needs to verify that the length of the 
received packet is consistent with ipha_length.


    Erik
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to