about summary refs log tree commit diff
path: root/src/network/netlink.h
Commit message (Collapse)AuthorAgeFilesLines
* apply hidden visibility to various remaining internal interfacesRich Felker2018-09-121-1/+1
|
* reimplement if_nameindex and getifaddrs using netlinkTimo Teräs2014-07-291-0/+94
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.