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

Go to the source code of this file.

Data Structures

struct  ip6_hop_by_hop_main_t
 

Macros

#define IOAM_HBYH_ADD   0
 
#define IOAM_HBYH_MOD   1
 
#define IOAM_HBYH_POP   2
 
#define PPC_NONE   0
 
#define PPC_ENCAP   1
 
#define PPC_DECAP   2
 
#define TSP_SECONDS   0
 
#define TSP_MILLISECONDS   1
 
#define TSP_MICROSECONDS   2
 
#define TSP_NANOSECONDS   3
 

Functions

u8format_path_map (u8 *s, va_list *args)
 
clib_error_tip6_ioam_trace_profile_set (u32 trace_option_elts, u32 trace_type, u32 node_id, u32 app_data, int has_pow_option, u32 trace_tsp, int has_e2e_option)
 
int ip6_ioam_set_destination (ip6_address_t *addr, u32 mask_width, u32 vrf_id, int is_add, int is_pop, int is_none)
 
clib_error_tclear_ioam_rewrite_fn (void)
 
static u8 is_zero_ip4_address (ip4_address_t *a)
 
static void copy_ip6_address (ip6_address_t *dst, ip6_address_t *src)
 
static void set_zero_ip6_address (ip6_address_t *a)
 
static u8 cmp_ip6_address (ip6_address_t *a1, ip6_address_t *a2)
 
static u8 is_zero_ip6_address (ip6_address_t *a)
 

Variables

ip6_hop_by_hop_main_t ip6_hop_by_hop_main
 
ip6_hop_by_hop_main_thm
 

Macro Definition Documentation

#define IOAM_HBYH_ADD   0

Definition at line 30 of file ip6_hop_by_hop.h.

#define IOAM_HBYH_MOD   1

Definition at line 31 of file ip6_hop_by_hop.h.

#define IOAM_HBYH_POP   2

Definition at line 32 of file ip6_hop_by_hop.h.

#define PPC_DECAP   2

Definition at line 52 of file ip6_hop_by_hop.h.

#define PPC_ENCAP   1

Definition at line 51 of file ip6_hop_by_hop.h.

#define PPC_NONE   0

Definition at line 50 of file ip6_hop_by_hop.h.

#define TSP_MICROSECONDS   2

Definition at line 57 of file ip6_hop_by_hop.h.

#define TSP_MILLISECONDS   1

Definition at line 56 of file ip6_hop_by_hop.h.

#define TSP_NANOSECONDS   3

Definition at line 58 of file ip6_hop_by_hop.h.

#define TSP_SECONDS   0

Definition at line 55 of file ip6_hop_by_hop.h.

Function Documentation

clib_error_t* clear_ioam_rewrite_fn ( void  )

Definition at line 1260 of file ip6_hop_by_hop.c.

+ Here is the caller graph for this function:

static u8 cmp_ip6_address ( ip6_address_t a1,
ip6_address_t a2 
)
inlinestatic

Definition at line 96 of file ip6_hop_by_hop.h.

static void copy_ip6_address ( ip6_address_t dst,
ip6_address_t src 
)
inlinestatic

Definition at line 84 of file ip6_hop_by_hop.h.

u8* format_path_map ( u8 s,
va_list *  args 
)
int ip6_ioam_set_destination ( ip6_address_t addr,
u32  mask_width,
u32  vrf_id,
int  is_add,
int  is_pop,
int  is_none 
)

Definition at line 1430 of file ip6_hop_by_hop.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* ip6_ioam_trace_profile_set ( u32  trace_option_elts,
u32  trace_type,
u32  node_id,
u32  app_data,
int  has_pow_option,
u32  trace_tsp,
int  has_e2e_option 
)

Definition at line 1291 of file ip6_hop_by_hop.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u8 is_zero_ip4_address ( ip4_address_t a)
inlinestatic

Definition at line 79 of file ip6_hop_by_hop.h.

static u8 is_zero_ip6_address ( ip6_address_t a)
inlinestatic

Definition at line 100 of file ip6_hop_by_hop.h.

+ Here is the caller graph for this function:

static void set_zero_ip6_address ( ip6_address_t a)
inlinestatic

Definition at line 90 of file ip6_hop_by_hop.h.

Variable Documentation

ip6_hop_by_hop_main_t ip6_hop_by_hop_main

Definition at line 36 of file ip6_hop_by_hop.c.