getifaddrs(3): Add ifa_addrflags to struct ifaddrs
authorRoy Marples <roy@marples.name>
Thu, 12 Sep 2019 09:29:30 +0000 (10:29 +0100)
committerRoy Marples <roy@marples.name>
Thu, 12 Sep 2019 09:29:30 +0000 (10:29 +0100)
commitbd735b630a10c8f16e55894e9934eab0e745be96
tree4319ef277f30ca63d68b63d05fa88330a5aba2ef
parent43a373152df2d405c9940983e584e6a25e76632d
getifaddrs(3): Add ifa_addrflags to struct ifaddrs

This saves a SIOCGIFAFLAG_IN6 ioctl per IPv6 address when
you're also interested in how useable the address is.

Taken-from: NetBSD
include/ifaddrs.h
lib/libc/net/getifaddrs.3
lib/libc/net/getifaddrs.c