> usr/src/cmd/cmd-inet/sbin/dhcpagent/interface.c
 > 
 > 194, 803: Not that this matters, but SIOCGIFINDEX and the struct ifreq
 >    structure are obsolete.

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).

--
meem
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to