8b0aa988ec
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. |
||
---|---|---|
.. | ||
af_atalk.c | ||
af_inet6.c | ||
af_inet.c | ||
af_inetany.c | ||
af_inetany.h | ||
af_link.c | ||
agr.c | ||
carp.c | ||
env.c | ||
env.h | ||
ether.c | ||
extern.h | ||
ieee80211.c | ||
ifconfig_hostops.c | ||
ifconfig_rumpops.c | ||
ifconfig.8 | ||
ifconfig.c | ||
l2tp.c | ||
Makefile | ||
Makefile.common | ||
media.c | ||
media.h | ||
parse.c | ||
parse.h | ||
pfsync.c | ||
prog_ops.h | ||
tunnel.c | ||
util.c | ||
util.h | ||
vlan.c |