diff options
author | Susant Sahani <ssahani@vmware.com> | 2019-10-04 21:40:51 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-10-14 14:32:48 +0200 |
commit | c16c780804714551ac2a777096865de5228fe6ff (patch) | |
tree | d3911a517681a05379561af3a7da3a263b9d6e20 /src/network/networkd-manager.h | |
parent | network: ndisc: do not drop all prefixes when a prefix matches a blacklist (diff) | |
download | systemd-c16c780804714551ac2a777096865de5228fe6ff.tar.xz systemd-c16c780804714551ac2a777096865de5228fe6ff.zip |
network: introduce ip nexthop routing
Used to manipulate entries in the kernel's nexthop tables.
Example:
```
[NextHop]
Id=3
Gateway=192.168.5.1
```
Diffstat (limited to 'src/network/networkd-manager.h')
-rw-r--r-- | src/network/networkd-manager.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |