Go to the source code of this file.
◆ ERSPAN_HDR2
#define ERSPAN_HDR2 0x1000180000000000ul |
◆ foreach_gre_protocol
#define foreach_gre_protocol |
Value:_ (0x6558, teb) \
_ (0x0806, arp) \
_ (0x8847, mpls_unicast) \
_ (0x88BE, erspan) \
_ (0x894F, nsh)
Definition at line 21 of file packet.h.
◆ GRE_FLAGS_CHECKSUM
#define GRE_FLAGS_CHECKSUM (1 << 15) |
◆ GRE_FLAGS_KEY
#define GRE_FLAGS_KEY (1 << 13) |
◆ GRE_FLAGS_ROUTING
#define GRE_FLAGS_ROUTING (1 << 14) |
◆ GRE_FLAGS_SEQUENCE
#define GRE_FLAGS_SEQUENCE (1 << 12) |
◆ GRE_FLAGS_STRICT_SOURCE_ROUTE
#define GRE_FLAGS_STRICT_SOURCE_ROUTE (1 << 11) |
◆ GRE_SUPPORTED_VERSION
#define GRE_SUPPORTED_VERSION 0 |
◆ GRE_VERSION_MASK
#define GRE_VERSION_MASK 0x7 |
◆ gre_protocol_t
Enumerator |
---|
foreach_gre_protocol | |
Definition at line 30 of file packet.h.
◆ CLIB_PACKED() [1/2]
typedef CLIB_PACKED |
( |
struct { u32 seq_num;union { struct { u16 ver_vlan;u16 cos_en_t_session;u32 res_index;} t2;u64 t2_u64;};} |
| ) |
|
◆ CLIB_PACKED() [2/2]
typedef CLIB_PACKED |
( |
struct { gre_header_t gre;erspan_t2_t erspan;} |
| ) |
|