15 #ifndef __included_ip6_hop_by_hop_ioam_h__ 16 #define __included_ip6_hop_by_hop_ioam_h__ 31 #define IOAM_HBYH_ADD 0 32 #define IOAM_HBYH_MOD 1 33 #define IOAM_HBYH_POP 2 57 #define TSP_MILLISECONDS 1 58 #define TSP_MICROSECONDS 2 59 #define TSP_NANOSECONDS 3 65 int (*add_options[256])(
u8 *rewrite_string,
u8 rewrite_size);
78 u32 app_data,
int has_pot_option,
u32 trace_tsp,
81 u32 vrf_id,
int is_add,
int is_pop,
int is_none);
113 int rewrite_options(
u8 *rewrite_string,
u8 size));
int ip6_hbh_add_register_option(u8 option, u8 size, int rewrite_options(u8 *rewrite_string, u8 size))
void * ioam_end_of_path_cb
int ip6_ioam_set_destination(ip6_address_t *addr, u32 mask_width, u32 vrf_id, int is_add, int is_pop, int is_none)
static void set_zero_ip6_address(ip6_address_t *a)
clib_error_t * clear_ioam_rewrite_fn(void)
static u8 cmp_ip6_address(ip6_address_t *a1, ip6_address_t *a2)
u8 * format_path_map(u8 *s, va_list *args)
static u8 is_zero_ip4_address(ip4_address_t *a)
ip6_hop_by_hop_ioam_main_t ip6_hop_by_hop_ioam_main
int ip6_hbh_pop_register_option(u8 option, int options(ip6_header_t *ip, ip6_hop_by_hop_option_t *opt))
static u8 is_zero_ip6_address(ip6_address_t *a)
clib_error_t * ip6_ioam_trace_profile_set(u32 trace_option_elts, u32 trace_type, u32 node_id, u32 app_data, int has_pot_option, u32 trace_tsp, int has_e2e_option)
static void copy_ip6_address(ip6_address_t *dst, ip6_address_t *src)
int ip6_hbh_pop_unregister_option(u8 option)
int ip6_hbh_add_unregister_option(u8 option)