libnl 3.9.0
|
Generic Network Virtualization Encapsulation. More...
Geneve Object | |
struct rtnl_link * | rtnl_link_geneve_alloc (void) |
Allocate link object of type Geneve. | |
int | rtnl_link_is_geneve (struct rtnl_link *link) |
Check if link is a Geneve link. | |
int | rtnl_link_geneve_set_id (struct rtnl_link *link, uint32_t id) |
Set Geneve Network Indentifier. | |
int | rtnl_link_geneve_get_id (struct rtnl_link *link, uint32_t *id) |
Get Geneve Network Identifier. | |
int | rtnl_link_geneve_set_remote (struct rtnl_link *link, struct nl_addr *addr) |
Set Geneve unicast destination IP address. | |
int | rtnl_link_geneve_get_remote (struct rtnl_link *link, struct nl_addr **addr) |
Get Geneve unicast destination IP address. | |
int | rtnl_link_geneve_set_ttl (struct rtnl_link *link, uint8_t ttl) |
Set IP TTL value to use for Geneve. | |
int | rtnl_link_geneve_get_ttl (struct rtnl_link *link) |
Get IP TTL value to use for Geneve. | |
int | rtnl_link_geneve_set_tos (struct rtnl_link *link, uint8_t tos) |
Set IP ToS value to use for Geneve. | |
int | rtnl_link_geneve_get_tos (struct rtnl_link *link) |
Get IP ToS value to use for Geneve. | |
int | rtnl_link_geneve_set_port (struct rtnl_link *link, uint32_t port) |
Set UDP destination port to use for Geneve. | |
int | rtnl_link_geneve_get_port (struct rtnl_link *link, uint32_t *port) |
Get UDP destination port to use for Geneve. | |
int | rtnl_link_geneve_set_label (struct rtnl_link *link, uint32_t label) |
Set flow label to use for Geneve. | |
int | rtnl_link_geneve_get_label (struct rtnl_link *link, uint32_t *label) |
Get flow label to use for Geneve. | |
int | rtnl_link_geneve_set_udp_csum (struct rtnl_link *link, uint8_t csum) |
Set UDP checksum status to use for Geneve. | |
int | rtnl_link_geneve_get_udp_csum (struct rtnl_link *link) |
Get UDP checksum status to use for Geneve. | |
int | rtnl_link_geneve_set_udp_zero_csum6_tx (struct rtnl_link *link, uint8_t csum) |
Set skip UDP checksum transmitted over IPv6 status to use for Geneve. | |
int | rtnl_link_geneve_get_udp_zero_csum6_tx (struct rtnl_link *link) |
Get skip UDP checksum transmitted over IPv6 status to use for Geneve. | |
int | rtnl_link_geneve_set_udp_zero_csum6_rx (struct rtnl_link *link, uint8_t csum) |
Set skip UDP checksum received over IPv6 status to use for Geneve. | |
int | rtnl_link_geneve_get_udp_zero_csum6_rx (struct rtnl_link *link) |
Get skip UDP checksum received over IPv6 status to use for Geneve. | |
int | rtnl_link_geneve_set_flags (struct rtnl_link *link, uint8_t flags, int enable) |
Set Geneve flags. | |
int | rtnl_link_geneve_get_flags (struct rtnl_link *link, uint8_t *flags) |
Get Geneve flags. | |
Generic Network Virtualization Encapsulation.
Link Type Name: "geneve"
Geneve Documentation (Netlink Routing Development Guide)
struct rtnl_link * rtnl_link_geneve_alloc | ( | void | ) |
Allocate link object of type Geneve.
Definition at line 350 of file geneve.c.
References rtnl_link_alloc(), rtnl_link_put(), and rtnl_link_set_type().
int rtnl_link_is_geneve | ( | struct rtnl_link * | link | ) |
Check if link is a Geneve link.
link | Link object |
Definition at line 371 of file geneve.c.
References rtnl_link_info_ops::io_name.
int rtnl_link_geneve_set_id | ( | struct rtnl_link * | link, |
uint32_t | id | ||
) |
int rtnl_link_geneve_get_id | ( | struct rtnl_link * | link, |
uint32_t * | id | ||
) |
int rtnl_link_geneve_set_remote | ( | struct rtnl_link * | link, |
struct nl_addr * | addr | ||
) |
Set Geneve unicast destination IP address.
link | Link object |
addr | The unicast destination IP address |
Definition at line 429 of file geneve.c.
References nl_addr_get_binary_addr(), nl_addr_get_family(), and nl_addr_get_len().
int rtnl_link_geneve_get_remote | ( | struct rtnl_link * | link, |
struct nl_addr ** | addr | ||
) |
Get Geneve unicast destination IP address.
link | Link object |
addr | Pointer to store unicast destination IP addree |
Definition at line 460 of file geneve.c.
References nl_addr_build().
int rtnl_link_geneve_set_ttl | ( | struct rtnl_link * | link, |
uint8_t | ttl | ||
) |
int rtnl_link_geneve_get_ttl | ( | struct rtnl_link * | link | ) |
int rtnl_link_geneve_set_tos | ( | struct rtnl_link * | link, |
uint8_t | tos | ||
) |
int rtnl_link_geneve_get_tos | ( | struct rtnl_link * | link | ) |
int rtnl_link_geneve_set_port | ( | struct rtnl_link * | link, |
uint32_t | port | ||
) |
int rtnl_link_geneve_get_port | ( | struct rtnl_link * | link, |
uint32_t * | port | ||
) |
int rtnl_link_geneve_set_label | ( | struct rtnl_link * | link, |
uint32_t | label | ||
) |
int rtnl_link_geneve_get_label | ( | struct rtnl_link * | link, |
uint32_t * | label | ||
) |
int rtnl_link_geneve_set_udp_csum | ( | struct rtnl_link * | link, |
uint8_t | csum | ||
) |
int rtnl_link_geneve_get_udp_csum | ( | struct rtnl_link * | link | ) |
int rtnl_link_geneve_set_udp_zero_csum6_tx | ( | struct rtnl_link * | link, |
uint8_t | csum | ||
) |
int rtnl_link_geneve_get_udp_zero_csum6_tx | ( | struct rtnl_link * | link | ) |
int rtnl_link_geneve_set_udp_zero_csum6_rx | ( | struct rtnl_link * | link, |
uint8_t | csum | ||
) |
int rtnl_link_geneve_get_udp_zero_csum6_rx | ( | struct rtnl_link * | link | ) |
int rtnl_link_geneve_set_flags | ( | struct rtnl_link * | link, |
uint8_t | flags, | ||
int | enable | ||
) |