6#ifndef NETLINK_LINK_BONDING_H_
7#define NETLINK_LINK_BONDING_H_
9#include <netlink/netlink.h>
10#include <netlink/route/link.h>
int rtnl_link_bond_enslave_ifindex(struct nl_sock *, int, int)
Add a link to a bond (enslave)
int rtnl_link_bond_add(struct nl_sock *, const char *, struct rtnl_link *)
Create a new kernel bonding device.
struct rtnl_link * rtnl_link_bond_alloc(void)
Allocate link object of type bond.
int rtnl_link_bond_enslave(struct nl_sock *, struct rtnl_link *, struct rtnl_link *)
Add a link to a bond (enslave)
int rtnl_link_bond_release(struct nl_sock *, struct rtnl_link *)
Release a link from a bond.
int rtnl_link_bond_release_ifindex(struct nl_sock *, int)
Release a link from a bond.