summaryrefslogtreecommitdiffstats
path: root/lib/route/nl-route.h
Commit message (Collapse)AuthorAgeFilesLines
* route: add support for getting permanent mac address of linkAntonio Prcela2024-09-121-0/+1
| | | | https://github.com/thom311/libnl/pull/404
* build: cleanup defining SYSCONFDIR on command lineThomas Haller2024-05-291-1/+1
| | | | | | | | | | | | | | | | Optimally, ./configure defines things in include/config.h. However, that does not work well with defines that contain path names (see [1]). Continue to use "-D" command line option. However, factor out the definition to one place. Also, rename from SYSCONFDIR to _NL_SYSCONFDIR_LIBNL. Note that "src_lib_libnl_cli_3_la_CPPFLAGS" defined to -DSYSCONFDIR=\"$(sysconfdir)\", without the "libnl" subdirectory. In this case, the define was never used. The change doesn't matter. [1] https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Installation-Directory-Variables.html
* route: move "struct rtnl_nexthop" to "nl-priv-dynamic-route"Thomas Haller2024-05-171-15/+0
| | | | | | | | rtnl_route_get_nexthops() returns the list of nexthops, but that is not usable without access to the rtnh_list field. We want to use that from tests. Move to another header (but still not public API).
* clang-format: reformat files with new formatThomas Haller2023-08-171-19/+19
| | | | $ ./tools/clang-format.sh
* include: drop "netlink-private/netlink.h" and move declarationsThomas Haller2023-08-021-0/+29
|
* include: split and drop "netlink-private/types.h"Thomas Haller2023-08-021-0/+162
Move all the declarations from "netlink-private/types.h" to places closer to where they are used.