summaryrefslogtreecommitdiff
path: root/src/nm-netlink-utils.h
AgeCommit message (Collapse)AuthorFilesLines
2012-02-13core: #include <netinet/in.h> for struct in6_addrRyan Lortie1-0/+1
commit ae34fa900b0a8410002f6f96b0bd27d807489dfa introduced a new function nm_netlink_route6_add(). Its declaration in the header includes a parameter with type 'struct in6_addr', but the proper system header for that type was not included.
2012-02-13core: fix erroneous IPv6 routes by making route addition typesafeDan Williams1-4/+9
Add two helper functions, one for IPv4 and one for IPv6, to ensure that the core code benefits from compiler type checking when adding routes. Previously nm_netlink_route_add() took a void* which meant we messed up adding IPv6 routes sometimes due to confusion over what was supposed to be passed to it. Also fixes what appears to be a C&P error with add_ip6_route_to_gateway(). Reported by Tomáš Trnka <tomastrnka@gmx.com>
2011-12-03trivial: fix commentDan Williams1-1/+1
2011-08-16libnl: Create a common netlink route add functionAlfredo Matos1-0/+7
2011-07-22core: move route creation to nm-netlink-utils.cDan Williams1-0/+13
2011-07-22core: move route iteration to nm-netlink-utils.cDan Williams1-1/+24
2011-07-22core: move route logging to nm-netlink-utils.cDan Williams1-0/+2
2011-07-22core: move route deletion to nm-netlink-utils.cDan Williams1-0/+4
2011-07-22core: move address checking functionality into separate fileDan Williams1-0/+31
Start to consolidate netlink stuff so we can eventually keep all the API changes for libnl1 vs. libnl3 in fewer places.