libnl 3.7.0
|
IP-based Virtual LAN link module. More...
IPVLAN Object | |
struct rtnl_link * | rtnl_link_ipvlan_alloc (void) |
Allocate link object of type IPVLAN. More... | |
int | rtnl_link_is_ipvlan (struct rtnl_link *link) |
Check if link is a IPVLAN link. More... | |
int | rtnl_link_ipvlan_set_mode (struct rtnl_link *link, uint16_t mode) |
Set IPVLAN MODE. More... | |
int | rtnl_link_ipvlan_get_mode (struct rtnl_link *link, uint16_t *out_mode) |
Get IPVLAN Mode. More... | |
Mode Translation | |
char * | rtnl_link_ipvlan_mode2str (int mode, char *buf, size_t len) |
int | rtnl_link_ipvlan_str2mode (const char *name) |
IP-based Virtual LAN link module.
Link Type Name: "ipvlan"
IPVLAN Documentation (Netlink Routing Development Guide)
struct rtnl_link * rtnl_link_ipvlan_alloc | ( | void | ) |
Allocate link object of type IPVLAN.
Definition at line 172 of file ipvlan.c.
References rtnl_link_alloc(), rtnl_link_put(), and rtnl_link_set_type().
int rtnl_link_is_ipvlan | ( | struct rtnl_link * | link | ) |
int rtnl_link_ipvlan_set_mode | ( | struct rtnl_link * | link, |
uint16_t | mode | ||
) |
int rtnl_link_ipvlan_get_mode | ( | struct rtnl_link * | link, |
uint16_t * | out_mode | ||
) |
char * rtnl_link_ipvlan_mode2str | ( | int | mode, |
char * | buf, | ||
size_t | len | ||
) |