On 10/29/08 07:58, Kacheong Poon wrote:
[EMAIL PROTECTED] wrote:
The drawback of sockaddr_storage are that it has space for
things like sin_port in it, which may not be useful in all cases.
But most system call data (e.g., lifreq) are using sockaddr_storage,
so they are handy to pass around.
Actually, the above usage not just wastes some space, it
also does not contain other IP address related things, such
as prefix length. We are wasting space yet we need to use
more space to store some needed info...
Why is the prefix length required for this?
And is there anything aside from the prefix that is missing and that
you feel is necessary?
Darren
_______________________________________________
networking-discuss mailing list
[email protected]