6#ifndef NETLINK_LINK_VXLAN_H_
7#define NETLINK_LINK_VXLAN_H_
9#include <netlink/netlink.h>
10#include <netlink/route/link.h>
16struct ifla_vxlan_port_range;
18#define VXLAN_ID_MAX 16777215
21 RTNL_LINK_VXLAN_F_GBP = 1 << 0,
22#define RTNL_LINK_VXLAN_F_GBP RTNL_LINK_VXLAN_F_GBP
23 RTNL_LINK_VXLAN_F_GPE = 1 << 1,
24#define RTNL_LINK_VXLAN_F_GPE RTNL_LINK_VXLAN_F_GPE
25 RTNL_LINK_VXLAN_F_REMCSUM_NOPARTIAL = 1 << 2,
26#define RTNL_LINK_VXLAN_F_REMCSUM_NOPARTIAL RTNL_LINK_VXLAN_F_REMCSUM_NOPARTIAL
63 struct ifla_vxlan_port_range *);
65 struct ifla_vxlan_port_range *);
int rtnl_link_vxlan_get_tos(struct rtnl_link *)
Get IP ToS value to use for VXLAN.
int rtnl_link_vxlan_get_rsc(struct rtnl_link *)
Get Route Short Circuit status to use for VXLAN.
int rtnl_link_vxlan_disable_learning(struct rtnl_link *)
Disable VXLAN address learning.
int rtnl_link_vxlan_get_port_range(struct rtnl_link *, struct ifla_vxlan_port_range *)
Get range of UDP port numbers to use for VXLAN.
int rtnl_link_vxlan_set_udp_zero_csum6_rx(struct rtnl_link *, uint8_t)
Set skip UDP checksum received over IPv6 status to use for VXLAN.
int rtnl_link_vxlan_get_ttl(struct rtnl_link *)
Get IP TTL value to use for VXLAN.
int rtnl_link_vxlan_get_learning(struct rtnl_link *)
Get VXLAN learning status.
int rtnl_link_vxlan_set_learning(struct rtnl_link *, uint8_t)
Set VXLAN learning status.
int rtnl_link_vxlan_get_label(struct rtnl_link *, uint32_t *)
Get flow label to use for VXLAN.
int rtnl_link_vxlan_set_tos(struct rtnl_link *, uint8_t)
Set IP ToS value to use for VXLAN.
int rtnl_link_vxlan_set_port(struct rtnl_link *, uint32_t)
Set UDP destination port to use for VXLAN.
int rtnl_link_vxlan_get_proxy(struct rtnl_link *)
Get ARP proxy status to use for VXLAN.
int rtnl_link_vxlan_enable_rsc(struct rtnl_link *)
Enable Route Short Circuit.
int rtnl_link_vxlan_set_group(struct rtnl_link *, struct nl_addr *)
Set VXLAN multicast IP address.
int rtnl_link_vxlan_enable_proxy(struct rtnl_link *)
Enable ARP proxy.
int rtnl_link_vxlan_disable_l3miss(struct rtnl_link *)
Disable netlink IP ADDR miss notifications.
int rtnl_link_vxlan_set_local(struct rtnl_link *, struct nl_addr *)
Set source address to use for VXLAN.
int rtnl_link_vxlan_set_remcsum_rx(struct rtnl_link *, uint8_t)
Set remote offload receive checksum status to use for VXLAN.
int rtnl_link_vxlan_set_flags(struct rtnl_link *, uint32_t flags, int enable)
Set VXLAN flags RTNL_LINK_VXLAN_F_*.
int rtnl_link_vxlan_set_udp_csum(struct rtnl_link *, uint8_t)
Set UDP checksum status to use for VXLAN.
int rtnl_link_vxlan_get_udp_zero_csum6_rx(struct rtnl_link *)
Get skip UDP checksum received over IPv6 status to use for VXLAN.
int rtnl_link_vxlan_set_link(struct rtnl_link *, uint32_t)
Set physical device to use for VXLAN.
int rtnl_link_vxlan_enable_l2miss(struct rtnl_link *)
Enable netlink LLADDR miss notifications.
int rtnl_link_vxlan_get_flags(struct rtnl_link *, uint32_t *out_flags)
Get VXLAN flags RTNL_LINK_VXLAN_F_*.
int rtnl_link_vxlan_get_remcsum_rx(struct rtnl_link *)
Get remote offload receive checksum status to use for VXLAN.
int rtnl_link_vxlan_get_group(struct rtnl_link *, struct nl_addr **)
Get VXLAN multicast IP address.
int rtnl_link_vxlan_set_port_range(struct rtnl_link *, struct ifla_vxlan_port_range *)
Set range of UDP port numbers to use for VXLAN.
int rtnl_link_vxlan_set_collect_metadata(struct rtnl_link *, uint8_t)
Set collect metadata status to use for VXLAN.
int rtnl_link_vxlan_get_l2miss(struct rtnl_link *)
Get netlink LLADDR miss notification status to use for VXLAN.
int rtnl_link_vxlan_set_id(struct rtnl_link *, uint32_t)
Set VXLAN Network Identifier.
int rtnl_link_vxlan_get_collect_metadata(struct rtnl_link *)
Get collect metadata status to use for VXLAN.
int rtnl_link_vxlan_disable_l2miss(struct rtnl_link *)
Disable netlink LLADDR miss notifications.
int rtnl_link_vxlan_set_limit(struct rtnl_link *, uint32_t)
Set maximum number of forwarding database entries to use for VXLAN.
int rtnl_link_vxlan_set_label(struct rtnl_link *, uint32_t)
Set flow label to use for VXLAN.
int rtnl_link_is_vxlan(struct rtnl_link *)
Check if link is a VXLAN link.
int rtnl_link_vxlan_set_remcsum_tx(struct rtnl_link *, uint8_t)
Set remote offload transmit checksum status to use for VXLAN.
int rtnl_link_vxlan_get_local(struct rtnl_link *, struct nl_addr **)
Get source address to use for VXLAN.
int rtnl_link_vxlan_get_link(struct rtnl_link *, uint32_t *)
Get physical device to use for VXLAN.
int rtnl_link_vxlan_set_proxy(struct rtnl_link *, uint8_t)
Set ARP proxy status to use for VXLAN.
int rtnl_link_vxlan_enable_learning(struct rtnl_link *)
Enable VXLAN address learning.
int rtnl_link_vxlan_set_ttl(struct rtnl_link *, uint8_t)
Set IP TTL value to use for VXLAN.
struct rtnl_link * rtnl_link_vxlan_alloc(void)
Allocate link object of type VXLAN.
int rtnl_link_vxlan_get_udp_zero_csum6_tx(struct rtnl_link *)
Get skip UDP checksum transmitted over IPv6 status to use for VXLAN.
int rtnl_link_vxlan_get_l3miss(struct rtnl_link *)
Get netlink IP ADDR miss notification status to use for VXLAN.
int rtnl_link_vxlan_get_remcsum_tx(struct rtnl_link *)
Get remote offload transmit checksum status to use for VXLAN.
int rtnl_link_vxlan_get_port(struct rtnl_link *, uint32_t *)
Get UDP destination port to use for VXLAN.
int rtnl_link_vxlan_disable_proxy(struct rtnl_link *)
Disable ARP proxy.
int rtnl_link_vxlan_set_l2miss(struct rtnl_link *, uint8_t)
Set netlink LLADDR miss notification status to use for VXLAN.
int rtnl_link_vxlan_set_ageing(struct rtnl_link *, uint32_t)
Set expiration timer value to use for VXLAN.
int rtnl_link_vxlan_get_id(struct rtnl_link *, uint32_t *)
Get VXLAN Network Identifier.
int rtnl_link_vxlan_disable_rsc(struct rtnl_link *)
Disable Route Short Circuit.
int rtnl_link_vxlan_set_rsc(struct rtnl_link *, uint8_t)
Set Route Short Circuit status to use for VXLAN.
int rtnl_link_vxlan_set_l3miss(struct rtnl_link *, uint8_t)
Set netlink IP ADDR miss notification status to use for VXLAN.
int rtnl_link_vxlan_set_udp_zero_csum6_tx(struct rtnl_link *, uint8_t)
Set skip UDP checksum transmitted over IPv6 status to use for VXLAN.
int rtnl_link_vxlan_get_udp_csum(struct rtnl_link *)
Get UDP checksum status to use for VXLAN.
int rtnl_link_vxlan_enable_l3miss(struct rtnl_link *)
Enable netlink IP ADDR miss notifications.
int rtnl_link_vxlan_get_limit(struct rtnl_link *, uint32_t *)
Get maximum number of forwarding database entries to use for VXLAN.
int rtnl_link_vxlan_get_ageing(struct rtnl_link *, uint32_t *)
Get expiration timer value to use for VXLAN.