DPDK 22.11.6
Data Structures | Macros
rte_vxlan.h File Reference
#include <stdint.h>
#include <rte_byteorder.h>
#include <rte_udp.h>

Go to the source code of this file.

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

◆ RTE_VXLAN_DEFAULT_PORT

#define RTE_VXLAN_DEFAULT_PORT   4789

VXLAN default port.

Definition at line 25 of file rte_vxlan.h.

◆ RTE_ETHER_VXLAN_HLEN

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

VXLAN tunnel header length.

Definition at line 39 of file rte_vxlan.h.

◆ RTE_ETHER_VXLAN_GPE_HLEN

#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 56 of file rte_vxlan.h.

◆ RTE_VXLAN_GPE_TYPE_IPV4

#define RTE_VXLAN_GPE_TYPE_IPV4   1

IPv4 Protocol.

Definition at line 60 of file rte_vxlan.h.

◆ RTE_VXLAN_GPE_TYPE_IPV6

#define RTE_VXLAN_GPE_TYPE_IPV6   2

IPv6 Protocol.

Definition at line 61 of file rte_vxlan.h.

◆ RTE_VXLAN_GPE_TYPE_ETH

#define RTE_VXLAN_GPE_TYPE_ETH   3

Ethernet Protocol.

Definition at line 62 of file rte_vxlan.h.

◆ RTE_VXLAN_GPE_TYPE_NSH

#define RTE_VXLAN_GPE_TYPE_NSH   4

NSH Protocol.

Definition at line 63 of file rte_vxlan.h.

◆ RTE_VXLAN_GPE_TYPE_MPLS

#define RTE_VXLAN_GPE_TYPE_MPLS   5

MPLS Protocol.

Definition at line 64 of file rte_vxlan.h.

◆ RTE_VXLAN_GPE_TYPE_GBP

#define RTE_VXLAN_GPE_TYPE_GBP   6

GBP Protocol.

Definition at line 65 of file rte_vxlan.h.

◆ RTE_VXLAN_GPE_TYPE_VBNG

#define RTE_VXLAN_GPE_TYPE_VBNG   7

vBNG Protocol.

Definition at line 66 of file rte_vxlan.h.