FD.io VPP  v16.06
Vector Packet Processing
sr_packet.h File Reference
+ Include dependency graph for sr_packet.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ip6_sr_header_t
 

Macros

#define IPPROTO_IPV6_ROUTE   43
 
#define ROUTING_HEADER_TYPE_SR   4
 
#define IP6_SR_HEADER_FLAG_CLEANUP   (0x8000)
 
#define IP6_SR_HEADER_FLAG_PROTECTED   (0x4000)
 
#define IP6_SR_HEADER_FLAG_RESERVED   (0x3000)
 
#define IP6_SR_HEADER_FLAG_PL_ELT_NOT_PRESENT   (0x0)
 
#define IP6_SR_HEADER_FLAG_PL_ELT_INGRESS_PE   (0x1)
 
#define IP6_SR_HEADER_FLAG_PL_ELT_EGRESS_PE   (0x2)
 
#define IP6_SR_HEADER_FLAG_PL_ELT_ORIG_SRC_ADDR   (0x3)
 

Functions

static int ip6_sr_policy_list_shift_from_index (int pl_index)
 
static int ip6_sr_policy_list_flags (u16 flags_host_byte_order, int pl_index)
 

Macro Definition Documentation

#define IP6_SR_HEADER_FLAG_CLEANUP   (0x8000)

Definition at line 194 of file sr_packet.h.

#define IP6_SR_HEADER_FLAG_PL_ELT_EGRESS_PE   (0x2)

Definition at line 200 of file sr_packet.h.

#define IP6_SR_HEADER_FLAG_PL_ELT_INGRESS_PE   (0x1)

Definition at line 199 of file sr_packet.h.

#define IP6_SR_HEADER_FLAG_PL_ELT_NOT_PRESENT   (0x0)

Definition at line 198 of file sr_packet.h.

#define IP6_SR_HEADER_FLAG_PL_ELT_ORIG_SRC_ADDR   (0x3)

Definition at line 201 of file sr_packet.h.

#define IP6_SR_HEADER_FLAG_PROTECTED   (0x4000)

Definition at line 195 of file sr_packet.h.

#define IP6_SR_HEADER_FLAG_RESERVED   (0x3000)

Definition at line 196 of file sr_packet.h.

#define IPPROTO_IPV6_ROUTE   43

Definition at line 167 of file sr_packet.h.

#define ROUTING_HEADER_TYPE_SR   4

Definition at line 170 of file sr_packet.h.

Function Documentation

static int ip6_sr_policy_list_flags ( u16  flags_host_byte_order,
int  pl_index 
)
inlinestatic

Definition at line 218 of file sr_packet.h.

+ Here is the caller graph for this function:

static int ip6_sr_policy_list_shift_from_index ( int  pl_index)
inlinestatic

Definition at line 211 of file sr_packet.h.

+ Here is the caller graph for this function: