[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...
Anyway, it is something for the past. If we are talking
about new interfaces, I guess we can do better.
--
K. Poon.
[EMAIL PROTECTED]
_______________________________________________
networking-discuss mailing list
[email protected]