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