diff options
| author | Tobias Jungel <tobias.jungel@bisdn.de> | 2018-04-17 12:54:14 +0200 |
|---|---|---|
| committer | Thomas Haller <thaller@redhat.com> | 2018-06-25 14:27:50 +0200 |
| commit | 2e87f72bf4f5ebc2ca66443598f0ec0351765ddb (patch) | |
| tree | f2122c2a1056fbeb8967387a26c3c8c31db1e9a2 /include | |
| parent | ad7c49e77bd6734f220872c70164d8fabdabdfcd (diff) | |
| download | platform_external_libnl-2e87f72bf4f5ebc2ca66443598f0ec0351765ddb.tar.gz platform_external_libnl-2e87f72bf4f5ebc2ca66443598f0ec0351765ddb.tar.bz2 platform_external_libnl-2e87f72bf4f5ebc2ca66443598f0ec0351765ddb.zip | |
neigh: add get/set functions for NEIGH_ATTR_MASTER
Beeing able to set NEIGH_ATTR_MASTER hash based lookups are possible for
AF_BRIDGE neighbours.
https://github.com/thom311/libnl/pull/189
Diffstat (limited to 'include')
| -rw-r--r-- | include/netlink/route/neighbour.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/netlink/route/neighbour.h b/include/netlink/route/neighbour.h index 6ea4753..0f17b66 100644 --- a/include/netlink/route/neighbour.h +++ b/include/netlink/route/neighbour.h @@ -82,6 +82,9 @@ extern int rtnl_neigh_get_family(struct rtnl_neigh *); extern void rtnl_neigh_set_vlan(struct rtnl_neigh *, int); extern int rtnl_neigh_get_vlan(struct rtnl_neigh *); +extern void rtnl_neigh_set_master(struct rtnl_neigh *, int); +extern int rtnl_neigh_get_master(struct rtnl_neigh *); + #ifdef __cplusplus } #endif |
