summaryrefslogtreecommitdiff
path: root/src/network/res_querydomain.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-04-08 14:03:16 +0000
committerRich Felker <dalias@aerifal.cx>2014-07-29 20:57:31 -0400
commit08e4052c43692a9306c5c638d70fba7f7ba08c52 (patch)
treec6163802d24ed751bb5942ff862e17217083807b /src/network/res_querydomain.c
parentcbb609b3db500e6aebe15762abebc4cb23563b8a (diff)
downloadmusl-08e4052c43692a9306c5c638d70fba7f7ba08c52.tar.gz
musl-08e4052c43692a9306c5c638d70fba7f7ba08c52.tar.bz2
musl-08e4052c43692a9306c5c638d70fba7f7ba08c52.tar.xz
musl-08e4052c43692a9306c5c638d70fba7f7ba08c52.zip
reimplement if_nameindex and getifaddrs using netlink
the previous implementations had several deficiencies, the most severe of which was the inability to report unconfigured interfaces or interfaces without ipv4 addresses. among the options discussed for fixing this, using netlink turned out to be the one with the least cost and most additional advantages. other improvements include: if_nameindex now avoids duplicates in the list it produces, but still includes legacy-style interface aliases if any are in use. getifaddrs now reports hardware addresses and includes the scope_id for link-local ipv6 addresses in the resulting address.
Diffstat (limited to 'src/network/res_querydomain.c')
0 files changed, 0 insertions, 0 deletions