|
libnl 3.11.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. | |
| int | rtnl_link_is_vrf (struct rtnl_link *link) |
| Check if link is a VRF link. | |
| int | rtnl_link_vrf_get_tableid (struct rtnl_link *link, uint32_t *id) |
| Get VRF table id. | |
| int | rtnl_link_vrf_set_tableid (struct rtnl_link *link, uint32_t id) |
| Set VRF table id. | |
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 178 of file vrf.c.
References rtnl_link_alloc(), rtnl_link_put(), and rtnl_link_set_type().
Here is the call graph for this function:| int rtnl_link_is_vrf | ( | struct rtnl_link * | link | ) |
Check if link is a VRF link.
| link | Link object |
Definition at line 199 of file vrf.c.
References rtnl_link_info_ops::io_name.
| int rtnl_link_vrf_get_tableid | ( | struct rtnl_link * | link, |
| uint32_t * | id ) |