summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLokesh Dhoundiyal <lokesh.dhoundiyal@alliedtelesis.co.nz>2023-09-27 23:04:57 (GMT)
committerThomas Haller <thaller@redhat.com>2023-10-30 08:00:49 (GMT)
commit5979fcb0a6855ddc8fa3b3a20d6ba37c1856d040 (patch)
tree97313f0bbdf73b42142542a996cdca582310b63a /include
parenta735989cff5576fa2a8f9188eccf1fb30832f426 (diff)
downloadlibnl-5979fcb0a6855ddc8fa3b3a20d6ba37c1856d040.zip
libnl-5979fcb0a6855ddc8fa3b3a20d6ba37c1856d040.tar.gz
libnl-5979fcb0a6855ddc8fa3b3a20d6ba37c1856d040.tar.bz2
route/link: add bonding interface options set rtnl apis
[thaller@redhat.com: fixed wrong variable name in code and reworded commit message.] https://github.com/thom311/libnl/pull/363
Diffstat (limited to 'include')
-rw-r--r--include/netlink/route/link/bonding.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/netlink/route/link/bonding.h b/include/netlink/route/link/bonding.h
index e85b44a..e12d8a5 100644
--- a/include/netlink/route/link/bonding.h
+++ b/include/netlink/route/link/bonding.h
@@ -27,6 +27,9 @@ extern int rtnl_link_bond_release(struct nl_sock *, struct rtnl_link *);
extern void rtnl_link_bond_set_mode(struct rtnl_link *link, uint8_t mode);
extern void rtnl_link_bond_set_activeslave(struct rtnl_link *link, int active_slave);
+extern void rtnl_link_bond_set_hashing_type (struct rtnl_link *link, uint8_t type);
+extern void rtnl_link_bond_set_miimon (struct rtnl_link *link, uint32_t miimon);
+extern void rtnl_link_bond_set_min_links (struct rtnl_link *link, uint32_t min_links);
#ifdef __cplusplus
}