3#ifndef NETLINK_LINK_GENEVE_H_
4#define NETLINK_LINK_GENEVE_H_
6#include <netlink/netlink.h>
7#include <netlink/route/link.h>
13#define RTNL_GENEVE_ID_MAX 16777215
15#define RTNL_LINK_GENEVE_F_COLLECT_METADATA (1<<0)
int rtnl_link_geneve_get_remote(struct rtnl_link *, struct nl_addr **)
Get Geneve unicast destination IP address.
struct rtnl_link * rtnl_link_geneve_alloc(void)
Allocate link object of type Geneve.
int rtnl_link_geneve_get_port(struct rtnl_link *, uint32_t *)
Get UDP destination port to use for Geneve.
int rtnl_link_geneve_set_flags(struct rtnl_link *, uint8_t flags, int enable)
Set Geneve flags.
int rtnl_link_geneve_set_tos(struct rtnl_link *, uint8_t)
Set IP ToS value to use for Geneve.
int rtnl_link_geneve_get_udp_zero_csum6_tx(struct rtnl_link *)
Get skip UDP checksum transmitted over IPv6 status to use for Geneve.
int rtnl_link_geneve_get_udp_zero_csum6_rx(struct rtnl_link *)
Get skip UDP checksum received over IPv6 status to use for Geneve.
int rtnl_link_geneve_set_remote(struct rtnl_link *, struct nl_addr *)
Set Geneve unicast destination IP address.
int rtnl_link_geneve_get_tos(struct rtnl_link *)
Get IP ToS value to use for Geneve.
int rtnl_link_geneve_set_udp_zero_csum6_tx(struct rtnl_link *, uint8_t)
Set skip UDP checksum transmitted over IPv6 status to use for Geneve.
int rtnl_link_geneve_get_flags(struct rtnl_link *, uint8_t *flags)
Get Geneve flags.
int rtnl_link_geneve_set_ttl(struct rtnl_link *, uint8_t)
Set IP TTL value to use for Geneve.
int rtnl_link_geneve_set_udp_zero_csum6_rx(struct rtnl_link *, uint8_t)
Set skip UDP checksum received over IPv6 status to use for Geneve.
int rtnl_link_geneve_set_label(struct rtnl_link *, uint32_t)
Set flow label to use for Geneve.
int rtnl_link_geneve_get_label(struct rtnl_link *, uint32_t *)
Get flow label to use for Geneve.
int rtnl_link_geneve_set_udp_csum(struct rtnl_link *, uint8_t)
Set UDP checksum status to use for Geneve.
int rtnl_link_geneve_get_udp_csum(struct rtnl_link *)
Get UDP checksum status to use for Geneve.
int rtnl_link_geneve_set_port(struct rtnl_link *, uint32_t)
Set UDP destination port to use for Geneve.
int rtnl_link_geneve_set_id(struct rtnl_link *, uint32_t)
Set Geneve Network Indentifier.
int rtnl_link_geneve_get_ttl(struct rtnl_link *)
Get IP TTL value to use for Geneve.
int rtnl_link_geneve_get_id(struct rtnl_link *, uint32_t *)
Get Geneve Network Identifier.
int rtnl_link_is_geneve(struct rtnl_link *)
Check if link is a Geneve link.