libnl 3.7.0
|
Virtual Routing and Forwarding link module. More...
Macros | |
#define | VRF_TABLE_ID_MAX RT_TABLE_MAX |
VRF Object | |
struct rtnl_link * | rtnl_link_vrf_alloc (void) |
Allocate link object of type VRF. More... | |
int | rtnl_link_is_vrf (struct rtnl_link *link) |
Check if link is a VRF link. More... | |
int | rtnl_link_vrf_get_tableid (struct rtnl_link *link, uint32_t *id) |
Get VRF table id. More... | |
int | rtnl_link_vrf_set_tableid (struct rtnl_link *link, uint32_t id) |
Set VRF table id. More... | |
Virtual Routing and Forwarding link module.
Link Type Name: "vrf"
VRF Documentation (Netlink Routing Development Guide)
struct rtnl_link * rtnl_link_vrf_alloc | ( | void | ) |
Allocate link object of type VRF.
Definition at line 175 of file vrf.c.
References rtnl_link_alloc(), rtnl_link_put(), and rtnl_link_set_type().
int rtnl_link_is_vrf | ( | struct rtnl_link * | link | ) |
int rtnl_link_vrf_get_tableid | ( | struct rtnl_link * | link, |
uint32_t * | id | ||
) |