From c16c780804714551ac2a777096865de5228fe6ff Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Fri, 4 Oct 2019 21:40:51 +0200 Subject: network: introduce ip nexthop routing Used to manipulate entries in the kernel's nexthop tables. Example: ``` [NextHop] Id=3 Gateway=192.168.5.1 ``` --- src/network/networkd-manager.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/network/networkd-manager.h') diff --git a/src/network/networkd-manager.h b/src/network/networkd-manager.h index d5049df868..f2f309ffb0 100644 --- a/src/network/networkd-manager.h +++ b/src/network/networkd-manager.h @@ -83,11 +83,13 @@ int manager_rtnl_enumerate_addresses(Manager *m); int manager_rtnl_enumerate_neighbors(Manager *m); int manager_rtnl_enumerate_routes(Manager *m); int manager_rtnl_enumerate_rules(Manager *m); +int manager_rtnl_enumerate_nexthop(Manager *m); int manager_rtnl_process_address(sd_netlink *nl, sd_netlink_message *message, void *userdata); int manager_rtnl_process_neighbor(sd_netlink *nl, sd_netlink_message *message, void *userdata); int manager_rtnl_process_route(sd_netlink *nl, sd_netlink_message *message, void *userdata); int manager_rtnl_process_rule(sd_netlink *nl, sd_netlink_message *message, void *userdata); +int manager_rtnl_process_nexthop(sd_netlink *nl, sd_netlink_message *message, void *userdata); void manager_dirty(Manager *m); -- cgit v1.2.3