Peter Memishian wrote:
I don't see any use of the word `obsolete' in if_tcp(7P) -- only that they
are provided for compatibility.  Indeed, in the rest of UNIX programming
world, these are the standard interfaces.  I've begun to wonder whether we
made a mistake introducing the SIOCGLIF* ioctls in the first place, since
they seem to target a non-existent problem (interface names greater than
16 characters).

The reason to introduce the LIF ones was that struct ifreq couldn't hold a sockaddr_in6. Whether you think IPv6 solves a non-existent problem is something we can talk about over a beer ;-)

Other vendors might have introduced a struct ifreq6, but having a common "large" ifreq instead of a separate "IPv4" and "IPv6" one seemed like the better approach.

   Erik
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to