NetBSD/sbin/ifconfig
roy 8b0aa988ec ifconfig: go back to using direct ioctls rather than data from getifaddrs
AF_LINK may not be the first address returned for the interface.
Technically, it *might* not even exist on the interface even though
other families do.
This is likely a driver bug if this really is the case though.

As such it's just easier to use direct ioctls rather than thump around
getifaddrs results. As it stands, the code makes a lot of getifaddrs
calls anyway, so an extra ioctl or two won't break the bank.
2020-10-14 13:37:14 +00:00
..
Makefile
Makefile.common
af_atalk.c Update for proplib(3) API changes. 2020-06-07 05:54:00 +00:00
af_inet.c Remove extra semicolon. 2020-05-14 08:34:17 +00:00
af_inet6.c
af_inetany.c Update for proplib(3) API changes. 2020-06-07 05:54:00 +00:00
af_inetany.h
af_link.c
agr.c
carp.c Update for proplib(3) API changes. 2020-06-07 05:54:00 +00:00
env.c Update for proplib(3) API changes. 2020-06-07 05:54:00 +00:00
env.h
ether.c Update for proplib(3) API changes. 2020-06-07 05:54:00 +00:00
extern.h
ieee80211.c
ifconfig.8 Add [-]eee and [-]vlan-hwfilter. 2020-09-29 08:52:11 +00:00
ifconfig.c ifconfig: go back to using direct ioctls rather than data from getifaddrs 2020-10-14 13:37:14 +00:00
ifconfig_hostops.c
ifconfig_rumpops.c
l2tp.c
media.c ifconfig: go back to using direct ioctls rather than data from getifaddrs 2020-10-14 13:37:14 +00:00
media.h ifconfig: go back to using direct ioctls rather than data from getifaddrs 2020-10-14 13:37:14 +00:00
parse.c Update for proplib(3) API changes. 2020-06-07 05:54:00 +00:00
parse.h
pfsync.c Update for proplib(3) API changes. 2020-06-07 05:54:00 +00:00
prog_ops.h
tunnel.c Update for proplib(3) API changes. 2020-06-07 05:54:00 +00:00
util.c ifconfig: if SIOCGLIFADDR fails, continue to the next address 2020-10-11 21:32:37 +00:00
util.h
vlan.c