FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
handoff.h File Reference
+ Include dependency graph for handoff.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MPLS_BOTTOM_OF_STACK_BIT_MASK   0x00000100U
 
#define MPLS_LABEL_MASK   0xFFFFF000U
 

Functions

static u64 ipv4_get_key (ip4_header_t *ip)
 
static u64 ipv6_get_key (ip6_header_t *ip)
 
static u64 mpls_get_key (mpls_unicast_header_t *m)
 
static u64 eth_get_sym_key (ethernet_header_t *h0)
 
static u64 eth_get_key (ethernet_header_t *h0)
 

Macro Definition Documentation

◆ MPLS_BOTTOM_OF_STACK_BIT_MASK

#define MPLS_BOTTOM_OF_STACK_BIT_MASK   0x00000100U

Definition at line 48 of file handoff.h.

◆ MPLS_LABEL_MASK

#define MPLS_LABEL_MASK   0xFFFFF000U

Definition at line 49 of file handoff.h.

Function Documentation

◆ eth_get_key()

static u64 eth_get_key ( ethernet_header_t h0)
inlinestatic

Definition at line 189 of file handoff.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ eth_get_sym_key()

static u64 eth_get_sym_key ( ethernet_header_t h0)
inlinestatic

Definition at line 123 of file handoff.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipv4_get_key()

static u64 ipv4_get_key ( ip4_header_t ip)
inlinestatic

Definition at line 26 of file handoff.h.

+ Here is the caller graph for this function:

◆ ipv6_get_key()

static u64 ipv6_get_key ( ip6_header_t ip)
inlinestatic

Definition at line 36 of file handoff.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mpls_get_key()

static u64 mpls_get_key ( mpls_unicast_header_t m)
inlinestatic

Definition at line 52 of file handoff.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: