Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2014-07-29 | reimplement if_nameindex and getifaddrs using netlink | Timo Teräs | -146/+168 | |
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. | ||||
2013-12-12 | include cleanups: remove unused headers and add feature test macros | Szabolcs Nagy | -0/+1 | |
2013-11-20 | fix fd leak (missing close-on-exec) in getifaddrs | Rich Felker | -1/+1 | |
2013-07-09 | fix missing SOCK_CLOEXEC in various functions that use sockets internally | Rich Felker | -1/+1 | |
2013-04-09 | getifaddrs: implement proper ipv6 netmasks | rofl0r | -2/+11 | |
2013-04-06 | getifaddrs: remove unused label | rofl0r | -1/+0 | |
2013-04-05 | getifaddrs: use if_nameindex to enumerate interfaces | rofl0r | -23/+9 | |
2013-04-05 | getifaddrs: one less indent level | rofl0r | -30/+28 | |
2013-04-05 | getifaddrs: less malloc | rofl0r | -55/+52 | |
2013-04-05 | add getifaddrs | rofl0r | -0/+191 | |
supports ipv4 and ipv6, but not the "extended" usage where usage statistics and other info are assigned to ifa_data members of duplicate entries with AF_PACKET family. |