FD.io VPP  v18.07-rc0-415-g6c78436
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
 

Enumerations

enum  handoff_dispatch_next_t {
  HANDOFF_DISPATCH_NEXT_IP4_INPUT, HANDOFF_DISPATCH_NEXT_IP6_INPUT, HANDOFF_DISPATCH_NEXT_MPLS_INPUT, HANDOFF_DISPATCH_NEXT_ETHERNET_INPUT,
  HANDOFF_DISPATCH_NEXT_DROP, HANDOFF_DISPATCH_N_NEXT
}
 

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

#define MPLS_BOTTOM_OF_STACK_BIT_MASK   0x00000100U

Definition at line 59 of file handoff.h.

#define MPLS_LABEL_MASK   0xFFFFF000U

Definition at line 60 of file handoff.h.

Enumeration Type Documentation

Enumerator
HANDOFF_DISPATCH_NEXT_IP4_INPUT 
HANDOFF_DISPATCH_NEXT_IP6_INPUT 
HANDOFF_DISPATCH_NEXT_MPLS_INPUT 
HANDOFF_DISPATCH_NEXT_ETHERNET_INPUT 
HANDOFF_DISPATCH_NEXT_DROP 
HANDOFF_DISPATCH_N_NEXT 

Definition at line 25 of file handoff.h.

Function Documentation

static u64 eth_get_key ( ethernet_header_t h0)
inlinestatic

Definition at line 200 of file handoff.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u64 eth_get_sym_key ( ethernet_header_t h0)
inlinestatic

Definition at line 134 of file handoff.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u64 ipv4_get_key ( ip4_header_t ip)
inlinestatic

Definition at line 37 of file handoff.h.

+ Here is the caller graph for this function:

static u64 ipv6_get_key ( ip6_header_t ip)
inlinestatic

Definition at line 47 of file handoff.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u64 mpls_get_key ( mpls_unicast_header_t m)
inlinestatic

Definition at line 63 of file handoff.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: