FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
lisp_gpe_packet.h File Reference

LISP-GPE packet header structure. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lisp_gpe_header_t
 LISP-GPE header. More...
 

Macros

#define foreach_lisp_gpe_flag_bit
 
#define LISP_GPE_VERSION   0x0
 
#define LISP_GPE_NEXT_PROTOCOL_IP4   0x1
 
#define LISP_GPE_NEXT_PROTOCOL_IP6   0x2
 
#define LISP_GPE_NEXT_PROTOCOL_ETHERNET   0x3
 
#define LISP_GPE_NEXT_PROTOCOL_NSH   0x4
 

Enumerations

enum  vnet_lisp_gpe_flag_bit_t { foreach_lisp_gpe_flag_bit }
 
enum  lisp_gpe_next_protocol_e {
  LISP_GPE_NEXT_PROTO_IP4 = 1, LISP_GPE_NEXT_PROTO_IP6, LISP_GPE_NEXT_PROTO_ETHERNET, LISP_GPE_NEXT_PROTO_NSH,
  LISP_GPE_NEXT_PROTOS
}
 

Detailed Description

LISP-GPE packet header structure.

Definition in file lisp_gpe_packet.h.

Macro Definition Documentation

#define foreach_lisp_gpe_flag_bit
Value:
_(N, 0x80) \
_(L, 0x40) \
_(E, 0x20) \
_(V, 0x10) \
_(I, 0x08) \
_(P, 0x04) \
_(O, 0x01)
#define P(fmt,...)

Definition at line 109 of file lisp_gpe_packet.h.

#define LISP_GPE_NEXT_PROTOCOL_ETHERNET   0x3

Definition at line 129 of file lisp_gpe_packet.h.

#define LISP_GPE_NEXT_PROTOCOL_IP4   0x1

Definition at line 127 of file lisp_gpe_packet.h.

#define LISP_GPE_NEXT_PROTOCOL_IP6   0x2

Definition at line 128 of file lisp_gpe_packet.h.

#define LISP_GPE_NEXT_PROTOCOL_NSH   0x4

Definition at line 130 of file lisp_gpe_packet.h.

#define LISP_GPE_VERSION   0x0

Definition at line 125 of file lisp_gpe_packet.h.

Enumeration Type Documentation

Enumerator
LISP_GPE_NEXT_PROTO_IP4 
LISP_GPE_NEXT_PROTO_IP6 
LISP_GPE_NEXT_PROTO_ETHERNET 
LISP_GPE_NEXT_PROTO_NSH 
LISP_GPE_NEXT_PROTOS 

Definition at line 132 of file lisp_gpe_packet.h.

Enumerator
foreach_lisp_gpe_flag_bit 

Definition at line 118 of file lisp_gpe_packet.h.