libnl 3.7.0
|
Virtual eXtensible Local Area Network link module. More...
VXLAN Object | |
struct rtnl_link * | rtnl_link_vxlan_alloc (void) |
Allocate link object of type VXLAN. More... | |
int | rtnl_link_is_vxlan (struct rtnl_link *link) |
Check if link is a VXLAN link. More... | |
int | rtnl_link_vxlan_set_id (struct rtnl_link *link, uint32_t id) |
Set VXLAN Network Identifier. More... | |
int | rtnl_link_vxlan_get_id (struct rtnl_link *link, uint32_t *id) |
Get VXLAN Network Identifier. More... | |
int | rtnl_link_vxlan_set_group (struct rtnl_link *link, struct nl_addr *addr) |
Set VXLAN multicast IP address. More... | |
int | rtnl_link_vxlan_get_group (struct rtnl_link *link, struct nl_addr **addr) |
Get VXLAN multicast IP address. More... | |
int | rtnl_link_vxlan_set_link (struct rtnl_link *link, uint32_t index) |
Set physical device to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_link (struct rtnl_link *link, uint32_t *index) |
Get physical device to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_local (struct rtnl_link *link, struct nl_addr *addr) |
Set source address to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_local (struct rtnl_link *link, struct nl_addr **addr) |
Get source address to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_ttl (struct rtnl_link *link, uint8_t ttl) |
Set IP TTL value to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_ttl (struct rtnl_link *link) |
Get IP TTL value to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_tos (struct rtnl_link *link, uint8_t tos) |
Set IP ToS value to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_tos (struct rtnl_link *link) |
Get IP ToS value to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_learning (struct rtnl_link *link, uint8_t learning) |
Set VXLAN learning status. More... | |
int | rtnl_link_vxlan_get_learning (struct rtnl_link *link) |
Get VXLAN learning status. More... | |
int | rtnl_link_vxlan_enable_learning (struct rtnl_link *link) |
Enable VXLAN address learning. More... | |
int | rtnl_link_vxlan_disable_learning (struct rtnl_link *link) |
Disable VXLAN address learning. More... | |
int | rtnl_link_vxlan_set_ageing (struct rtnl_link *link, uint32_t expiry) |
Set expiration timer value to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_ageing (struct rtnl_link *link, uint32_t *expiry) |
Get expiration timer value to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_limit (struct rtnl_link *link, uint32_t limit) |
Set maximum number of forwarding database entries to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_limit (struct rtnl_link *link, uint32_t *limit) |
Get maximum number of forwarding database entries to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_port_range (struct rtnl_link *link, struct ifla_vxlan_port_range *range) |
Set range of UDP port numbers to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_port_range (struct rtnl_link *link, struct ifla_vxlan_port_range *range) |
Get range of UDP port numbers to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_proxy (struct rtnl_link *link, uint8_t proxy) |
Set ARP proxy status to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_proxy (struct rtnl_link *link) |
Get ARP proxy status to use for VXLAN. More... | |
int | rtnl_link_vxlan_enable_proxy (struct rtnl_link *link) |
Enable ARP proxy. More... | |
int | rtnl_link_vxlan_disable_proxy (struct rtnl_link *link) |
Disable ARP proxy. More... | |
int | rtnl_link_vxlan_set_rsc (struct rtnl_link *link, uint8_t rsc) |
Set Route Short Circuit status to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_rsc (struct rtnl_link *link) |
Get Route Short Circuit status to use for VXLAN. More... | |
int | rtnl_link_vxlan_enable_rsc (struct rtnl_link *link) |
Enable Route Short Circuit. More... | |
int | rtnl_link_vxlan_disable_rsc (struct rtnl_link *link) |
Disable Route Short Circuit. More... | |
int | rtnl_link_vxlan_set_l2miss (struct rtnl_link *link, uint8_t miss) |
Set netlink LLADDR miss notification status to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_l2miss (struct rtnl_link *link) |
Get netlink LLADDR miss notification status to use for VXLAN. More... | |
int | rtnl_link_vxlan_enable_l2miss (struct rtnl_link *link) |
Enable netlink LLADDR miss notifications. More... | |
int | rtnl_link_vxlan_disable_l2miss (struct rtnl_link *link) |
Disable netlink LLADDR miss notifications. More... | |
int | rtnl_link_vxlan_set_l3miss (struct rtnl_link *link, uint8_t miss) |
Set netlink IP ADDR miss notification status to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_l3miss (struct rtnl_link *link) |
Get netlink IP ADDR miss notification status to use for VXLAN. More... | |
int | rtnl_link_vxlan_enable_l3miss (struct rtnl_link *link) |
Enable netlink IP ADDR miss notifications. More... | |
int | rtnl_link_vxlan_disable_l3miss (struct rtnl_link *link) |
Disable netlink IP ADDR miss notifications. More... | |
int | rtnl_link_vxlan_set_port (struct rtnl_link *link, uint32_t port) |
Set UDP destination port to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_port (struct rtnl_link *link, uint32_t *port) |
Get UDP destination port to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_udp_csum (struct rtnl_link *link, uint8_t csum) |
Set UDP checksum status to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_udp_csum (struct rtnl_link *link) |
Get UDP checksum status to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_udp_zero_csum6_tx (struct rtnl_link *link, uint8_t csum) |
Set skip UDP checksum transmitted over IPv6 status to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_udp_zero_csum6_tx (struct rtnl_link *link) |
Get skip UDP checksum transmitted over IPv6 status to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_udp_zero_csum6_rx (struct rtnl_link *link, uint8_t csum) |
Set skip UDP checksum received over IPv6 status to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_udp_zero_csum6_rx (struct rtnl_link *link) |
Get skip UDP checksum received over IPv6 status to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_remcsum_tx (struct rtnl_link *link, uint8_t csum) |
Set remote offload transmit checksum status to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_remcsum_tx (struct rtnl_link *link) |
Get remote offload transmit checksum status to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_remcsum_rx (struct rtnl_link *link, uint8_t csum) |
Set remote offload receive checksum status to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_remcsum_rx (struct rtnl_link *link) |
Get remote offload receive checksum status to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_collect_metadata (struct rtnl_link *link, uint8_t collect) |
Set collect metadata status to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_collect_metadata (struct rtnl_link *link) |
Get collect metadata status to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_label (struct rtnl_link *link, uint32_t label) |
Set flow label to use for VXLAN. More... | |
int | rtnl_link_vxlan_get_label (struct rtnl_link *link, uint32_t *label) |
Get flow label to use for VXLAN. More... | |
int | rtnl_link_vxlan_set_flags (struct rtnl_link *link, uint32_t flags, int enable) |
Set VXLAN flags RTNL_LINK_VXLAN_F_*. More... | |
int | rtnl_link_vxlan_get_flags (struct rtnl_link *link, uint32_t *out_flags) |
Get VXLAN flags RTNL_LINK_VXLAN_F_*. More... | |
Virtual eXtensible Local Area Network link module.
Link Type Name: "vxlan"
VXLAN Documentation (Netlink Routing Development Guide)
struct rtnl_link * rtnl_link_vxlan_alloc | ( | void | ) |
Allocate link object of type VXLAN.
Definition at line 686 of file vxlan.c.
References rtnl_link_alloc(), rtnl_link_put(), and rtnl_link_set_type().
int rtnl_link_is_vxlan | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_set_id | ( | struct rtnl_link * | link, |
uint32_t | id | ||
) |
int rtnl_link_vxlan_get_id | ( | struct rtnl_link * | link, |
uint32_t * | id | ||
) |
int rtnl_link_vxlan_set_group | ( | struct rtnl_link * | link, |
struct nl_addr * | addr | ||
) |
Set VXLAN multicast IP address.
link | Link object |
addr | Multicast IP address to join |
Definition at line 765 of file vxlan.c.
References nl_addr_get_binary_addr(), nl_addr_get_family(), and nl_addr_get_len().
int rtnl_link_vxlan_get_group | ( | struct rtnl_link * | link, |
struct nl_addr ** | addr | ||
) |
Get VXLAN multicast IP address.
link | Link object |
addr | Pointer to store multicast IP address |
Definition at line 796 of file vxlan.c.
References nl_addr_build().
int rtnl_link_vxlan_set_link | ( | struct rtnl_link * | link, |
uint32_t | index | ||
) |
int rtnl_link_vxlan_get_link | ( | struct rtnl_link * | link, |
uint32_t * | index | ||
) |
int rtnl_link_vxlan_set_local | ( | struct rtnl_link * | link, |
struct nl_addr * | addr | ||
) |
Set source address to use for VXLAN.
link | Link object |
addr | Local address |
Definition at line 865 of file vxlan.c.
References nl_addr_get_binary_addr(), nl_addr_get_family(), and nl_addr_get_len().
int rtnl_link_vxlan_get_local | ( | struct rtnl_link * | link, |
struct nl_addr ** | addr | ||
) |
Get source address to use for VXLAN.
link | Link object |
addr | Pointer to store local address |
Definition at line 896 of file vxlan.c.
References nl_addr_build().
int rtnl_link_vxlan_set_ttl | ( | struct rtnl_link * | link, |
uint8_t | ttl | ||
) |
int rtnl_link_vxlan_get_ttl | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_set_tos | ( | struct rtnl_link * | link, |
uint8_t | tos | ||
) |
int rtnl_link_vxlan_get_tos | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_set_learning | ( | struct rtnl_link * | link, |
uint8_t | learning | ||
) |
Set VXLAN learning status.
link | Link object |
learning | Learning status value |
Definition at line 996 of file vxlan.c.
Referenced by rtnl_link_vxlan_disable_learning(), and rtnl_link_vxlan_enable_learning().
int rtnl_link_vxlan_get_learning | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_enable_learning | ( | struct rtnl_link * | link | ) |
Enable VXLAN address learning.
link | Link object |
Definition at line 1032 of file vxlan.c.
References rtnl_link_vxlan_set_learning().
int rtnl_link_vxlan_disable_learning | ( | struct rtnl_link * | link | ) |
Disable VXLAN address learning.
link | Link object |
Definition at line 1043 of file vxlan.c.
References rtnl_link_vxlan_set_learning().
int rtnl_link_vxlan_set_ageing | ( | struct rtnl_link * | link, |
uint32_t | expiry | ||
) |
int rtnl_link_vxlan_get_ageing | ( | struct rtnl_link * | link, |
uint32_t * | expiry | ||
) |
int rtnl_link_vxlan_set_limit | ( | struct rtnl_link * | link, |
uint32_t | limit | ||
) |
int rtnl_link_vxlan_get_limit | ( | struct rtnl_link * | link, |
uint32_t * | limit | ||
) |
int rtnl_link_vxlan_set_port_range | ( | struct rtnl_link * | link, |
struct ifla_vxlan_port_range * | range | ||
) |
int rtnl_link_vxlan_get_port_range | ( | struct rtnl_link * | link, |
struct ifla_vxlan_port_range * | range | ||
) |
int rtnl_link_vxlan_set_proxy | ( | struct rtnl_link * | link, |
uint8_t | proxy | ||
) |
Set ARP proxy status to use for VXLAN.
link | Link object |
proxy | Status value |
Definition at line 1189 of file vxlan.c.
Referenced by rtnl_link_vxlan_disable_proxy(), and rtnl_link_vxlan_enable_proxy().
int rtnl_link_vxlan_get_proxy | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_enable_proxy | ( | struct rtnl_link * | link | ) |
Enable ARP proxy.
link | Link object |
Definition at line 1225 of file vxlan.c.
References rtnl_link_vxlan_set_proxy().
int rtnl_link_vxlan_disable_proxy | ( | struct rtnl_link * | link | ) |
Disable ARP proxy.
link | Link object |
Definition at line 1236 of file vxlan.c.
References rtnl_link_vxlan_set_proxy().
int rtnl_link_vxlan_set_rsc | ( | struct rtnl_link * | link, |
uint8_t | rsc | ||
) |
Set Route Short Circuit status to use for VXLAN.
link | Link object |
rsc | Status value |
Definition at line 1248 of file vxlan.c.
Referenced by rtnl_link_vxlan_disable_rsc(), and rtnl_link_vxlan_enable_rsc().
int rtnl_link_vxlan_get_rsc | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_enable_rsc | ( | struct rtnl_link * | link | ) |
Enable Route Short Circuit.
link | Link object |
Definition at line 1284 of file vxlan.c.
References rtnl_link_vxlan_set_rsc().
int rtnl_link_vxlan_disable_rsc | ( | struct rtnl_link * | link | ) |
Disable Route Short Circuit.
link | Link object |
Definition at line 1295 of file vxlan.c.
References rtnl_link_vxlan_set_rsc().
int rtnl_link_vxlan_set_l2miss | ( | struct rtnl_link * | link, |
uint8_t | miss | ||
) |
Set netlink LLADDR miss notification status to use for VXLAN.
link | Link object |
miss | Status value |
Definition at line 1307 of file vxlan.c.
Referenced by rtnl_link_vxlan_disable_l2miss(), and rtnl_link_vxlan_enable_l2miss().
int rtnl_link_vxlan_get_l2miss | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_enable_l2miss | ( | struct rtnl_link * | link | ) |
Enable netlink LLADDR miss notifications.
link | Link object |
Definition at line 1343 of file vxlan.c.
References rtnl_link_vxlan_set_l2miss().
int rtnl_link_vxlan_disable_l2miss | ( | struct rtnl_link * | link | ) |
Disable netlink LLADDR miss notifications.
link | Link object |
Definition at line 1354 of file vxlan.c.
References rtnl_link_vxlan_set_l2miss().
int rtnl_link_vxlan_set_l3miss | ( | struct rtnl_link * | link, |
uint8_t | miss | ||
) |
Set netlink IP ADDR miss notification status to use for VXLAN.
link | Link object |
miss | Status value |
Definition at line 1366 of file vxlan.c.
Referenced by rtnl_link_vxlan_disable_l3miss(), and rtnl_link_vxlan_enable_l3miss().
int rtnl_link_vxlan_get_l3miss | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_enable_l3miss | ( | struct rtnl_link * | link | ) |
Enable netlink IP ADDR miss notifications.
link | Link object |
Definition at line 1402 of file vxlan.c.
References rtnl_link_vxlan_set_l3miss().
int rtnl_link_vxlan_disable_l3miss | ( | struct rtnl_link * | link | ) |
Disable netlink IP ADDR miss notifications.
link | Link object |
Definition at line 1413 of file vxlan.c.
References rtnl_link_vxlan_set_l3miss().
int rtnl_link_vxlan_set_port | ( | struct rtnl_link * | link, |
uint32_t | port | ||
) |
int rtnl_link_vxlan_get_port | ( | struct rtnl_link * | link, |
uint32_t * | port | ||
) |
int rtnl_link_vxlan_set_udp_csum | ( | struct rtnl_link * | link, |
uint8_t | csum | ||
) |
int rtnl_link_vxlan_get_udp_csum | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_set_udp_zero_csum6_tx | ( | struct rtnl_link * | link, |
uint8_t | csum | ||
) |
int rtnl_link_vxlan_get_udp_zero_csum6_tx | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_set_udp_zero_csum6_rx | ( | struct rtnl_link * | link, |
uint8_t | csum | ||
) |
int rtnl_link_vxlan_get_udp_zero_csum6_rx | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_set_remcsum_tx | ( | struct rtnl_link * | link, |
uint8_t | csum | ||
) |
int rtnl_link_vxlan_get_remcsum_tx | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_set_remcsum_rx | ( | struct rtnl_link * | link, |
uint8_t | csum | ||
) |
int rtnl_link_vxlan_get_remcsum_rx | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_set_collect_metadata | ( | struct rtnl_link * | link, |
uint8_t | collect | ||
) |
int rtnl_link_vxlan_get_collect_metadata | ( | struct rtnl_link * | link | ) |
int rtnl_link_vxlan_set_label | ( | struct rtnl_link * | link, |
uint32_t | label | ||
) |
int rtnl_link_vxlan_get_label | ( | struct rtnl_link * | link, |
uint32_t * | label | ||
) |
int rtnl_link_vxlan_set_flags | ( | struct rtnl_link * | link, |
uint32_t | flags, | ||
int | enable | ||
) |