Scroll to navigation

rte_vxlan.h(3) DPDK rte_vxlan.h(3)

NAME

rte_vxlan.h

SYNOPSIS

#include <stdint.h>
#include <rte_byteorder.h>
#include <rte_udp.h>

Data Structures


struct rte_vxlan_hdr
struct rte_vxlan_gpe_hdr

Macros


#define RTE_VXLAN_DEFAULT_PORT 4789
#define RTE_ETHER_VXLAN_HLEN (sizeof(struct rte_udp_hdr) + sizeof(struct rte_vxlan_hdr))
#define RTE_ETHER_VXLAN_GPE_HLEN
#define RTE_VXLAN_GPE_TYPE_IPV4 1
#define RTE_VXLAN_GPE_TYPE_IPV6 2
#define RTE_VXLAN_GPE_TYPE_ETH 3
#define RTE_VXLAN_GPE_TYPE_NSH 4
#define RTE_VXLAN_GPE_TYPE_MPLS 5
#define RTE_VXLAN_GPE_TYPE_GBP 6
#define RTE_VXLAN_GPE_TYPE_VBNG 7

Detailed Description

VXLAN-related definitions

Definition in file rte_vxlan.h.

Macro Definition Documentation

#define RTE_VXLAN_DEFAULT_PORT 4789

VXLAN default port.

Definition at line 25 of file rte_vxlan.h.

#define RTE_ETHER_VXLAN_HLEN (sizeof(struct rte_udp_hdr) + sizeof(struct rte_vxlan_hdr))

VXLAN tunnel header length.

Definition at line 50 of file rte_vxlan.h.

#define RTE_ETHER_VXLAN_GPE_HLEN

Value:


(sizeof(struct rte_udp_hdr) + sizeof(struct rte_vxlan_gpe_hdr))
VXLAN-GPE tunnel header length.

Definition at line 79 of file rte_vxlan.h.

#define RTE_VXLAN_GPE_TYPE_IPV4 1

IPv4 Protocol.

Definition at line 83 of file rte_vxlan.h.

#define RTE_VXLAN_GPE_TYPE_IPV6 2

IPv6 Protocol.

Definition at line 84 of file rte_vxlan.h.

#define RTE_VXLAN_GPE_TYPE_ETH 3

Ethernet Protocol.

Definition at line 85 of file rte_vxlan.h.

#define RTE_VXLAN_GPE_TYPE_NSH 4

NSH Protocol.

Definition at line 86 of file rte_vxlan.h.

#define RTE_VXLAN_GPE_TYPE_MPLS 5

MPLS Protocol.

Definition at line 87 of file rte_vxlan.h.

#define RTE_VXLAN_GPE_TYPE_GBP 6

GBP Protocol.

Definition at line 88 of file rte_vxlan.h.

#define RTE_VXLAN_GPE_TYPE_VBNG 7

vBNG Protocol.

Definition at line 89 of file rte_vxlan.h.

Author

Generated automatically by Doxygen for DPDK from the source code.

Fri Dec 15 2023 Version 23.11.0