FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | geneve_options_t |
struct | geneve_header_t |
Macros | |
#define | GENEVE_MAX_OPT_LENGTH 128 |
#define | LINUX_OPT_CLASS 0x0100 |
#define | OVS_OPT_CLASS 0x0101 |
#define | OVN_OPT_CLASS 0x0102 |
#define | INT_OPT_CLASS 0x0103 |
#define | VMWARE_OPT_CLASS 0x0104 |
#define | GENEVE_BASE_HEADER_LENGTH 8 |
#define | GENEVE_MAX_TOTAL_HDR_LENGTH 260 |
#define | GENEVE_VERSION 0 |
#define | GENEVE_ETH_PROTOCOL 0x6558 |
#define | GENEVE_VERSION_SHIFT 30 |
#define | GENEVE_OPTLEN_SHIFT 24 |
#define | GENEVE_O_BIT_SHIFT 23 |
#define | GENEVE_C_BIT_SHIFT 22 |
#define | GENEVE_6_RESERVED_SHIFT 16 |
#define | GENEVE_VNI_SHIFT 8 |
#define | GENEVE_VERSION_MASK 0xC0000000 |
#define | GENEVE_OPTLEN_MASK 0x3F000000 |
#define | GENEVE_O_BIT_MASK 0x00800000 |
#define | GENEVE_C_BIT_MASK 0x00400000 |
#define | GENEVE_6_RESERVED_MASK 0x003F0000 |
#define | GENEVE_PROTOCOL_MASK 0x0000FFFF |
#define | GENEVE_VNI_MASK 0xFFFFFF00 |
Functions | |
static u32 | vnet_get_geneve_vni (geneve_header_t *h) |
static u32 | vnet_get_geneve_vni_bigendian (geneve_header_t *h) |
static void | vnet_set_geneve_vni (geneve_header_t *h, u32 vni) |
static u8 | vnet_get_geneve_version (geneve_header_t *h) |
static void | vnet_set_geneve_version (geneve_header_t *h, u8 version) |
static u8 | vnet_get_geneve_options_len (geneve_header_t *h) |
static void | vnet_set_geneve_options_len (geneve_header_t *h, u8 len) |
static u8 | vnet_get_geneve_oamframe_bit (geneve_header_t *h) |
static void | vnet_set_geneve_oamframe_bit (geneve_header_t *h, u8 oam) |
static u8 | vnet_get_geneve_critical_bit (geneve_header_t *h) |
static void | vnet_set_geneve_critical_bit (geneve_header_t *h, u8 critical_opts) |
static u16 | vnet_get_geneve_protocol (geneve_header_t *h) |
static void | vnet_set_geneve_protocol (geneve_header_t *h, u16 protocol) |
static void | vnet_geneve_hdr_1word_ntoh (geneve_header_t *h) |
static void | vnet_geneve_hdr_1word_hton (geneve_header_t *h) |
#define GENEVE_6_RESERVED_MASK 0x003F0000 |
Definition at line 130 of file geneve_packet.h.
#define GENEVE_6_RESERVED_SHIFT 16 |
Definition at line 123 of file geneve_packet.h.
#define GENEVE_BASE_HEADER_LENGTH 8 |
Definition at line 95 of file geneve_packet.h.
#define GENEVE_C_BIT_MASK 0x00400000 |
Definition at line 129 of file geneve_packet.h.
#define GENEVE_C_BIT_SHIFT 22 |
Definition at line 122 of file geneve_packet.h.
#define GENEVE_ETH_PROTOCOL 0x6558 |
Definition at line 99 of file geneve_packet.h.
#define GENEVE_MAX_OPT_LENGTH 128 |
Definition at line 31 of file geneve_packet.h.
#define GENEVE_MAX_TOTAL_HDR_LENGTH 260 |
Definition at line 96 of file geneve_packet.h.
#define GENEVE_O_BIT_MASK 0x00800000 |
Definition at line 128 of file geneve_packet.h.
#define GENEVE_O_BIT_SHIFT 23 |
Definition at line 121 of file geneve_packet.h.
#define GENEVE_OPTLEN_MASK 0x3F000000 |
Definition at line 127 of file geneve_packet.h.
#define GENEVE_OPTLEN_SHIFT 24 |
Definition at line 120 of file geneve_packet.h.
#define GENEVE_PROTOCOL_MASK 0x0000FFFF |
Definition at line 131 of file geneve_packet.h.
#define GENEVE_VERSION 0 |
Definition at line 98 of file geneve_packet.h.
#define GENEVE_VERSION_MASK 0xC0000000 |
Definition at line 126 of file geneve_packet.h.
#define GENEVE_VERSION_SHIFT 30 |
Definition at line 119 of file geneve_packet.h.
#define GENEVE_VNI_MASK 0xFFFFFF00 |
Definition at line 132 of file geneve_packet.h.
#define GENEVE_VNI_SHIFT 8 |
Definition at line 124 of file geneve_packet.h.
#define INT_OPT_CLASS 0x0103 |
Definition at line 55 of file geneve_packet.h.
#define LINUX_OPT_CLASS 0x0100 |
Definition at line 52 of file geneve_packet.h.
#define OVN_OPT_CLASS 0x0102 |
Definition at line 54 of file geneve_packet.h.
#define OVS_OPT_CLASS 0x0101 |
Definition at line 53 of file geneve_packet.h.
#define VMWARE_OPT_CLASS 0x0104 |
Definition at line 56 of file geneve_packet.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 192 of file geneve_packet.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 219 of file geneve_packet.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 150 of file geneve_packet.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |