|
static u32 | ip6_compute_flow_hash_ext (const ip6_header_t *ip, u8 protocol, u16 src_port, u16 dst_port, flow_hash_config_t flow_hash_config) |
|
typedef | CLIB_PACKED (struct{ip6_hop_by_hop_option_t hdr;u8 e2e_type;u8 reserved[5];ip6_address_t id;}) ioam_e2e_id_option_t |
|
typedef | CLIB_PACKED (struct{ip6_hop_by_hop_option_t hdr;u8 e2e_type;u8 pool_id;u32 pool_index;}) ioam_e2e_cache_option_t |
|
static void | ioam_e2e_id_rewrite_handler (ioam_e2e_id_option_t *e2e_option, ip6_address_t *address) |
|
static void | ioam_cache_entry_free (ioam_cache_entry_t *entry) |
|
static ioam_cache_entry_t * | ioam_cache_entry_cleanup (u32 pool_index) |
|
static ioam_cache_entry_t * | ioam_cache_lookup (ip6_header_t *ip0, u16 src_port, u16 dst_port, u32 seq_no) |
|
static int | ioam_cache_add (vlib_buffer_t *b0, ip6_header_t *ip0, u16 src_port, u16 dst_port, ip6_hop_by_hop_header_t *hbh0, u32 seq_no) |
|
static void | ioam_cache_sr_rewrite_template_create (void) |
|
static int | ioam_cache_table_init (vlib_main_t *vm) |
|
static int | ioam_cache_table_destroy (vlib_main_t *vm) |
|
static u8 * | format_ioam_cache_entry (u8 *s, va_list *args) |
|
void | ioam_cache_ts_timer_node_enable (vlib_main_t *vm, u8 enable) |
|
void | expired_cache_ts_timer_callback (u32 *expired_timers) |
|
static int | ioam_cache_ts_table_init (vlib_main_t *vm) |
|
static void | ioam_cache_ts_timer_set (ioam_cache_main_t *cm, ioam_cache_ts_entry_t *entry, u32 interval) |
|
static void | ioam_cache_ts_timer_reset (ioam_cache_main_t *cm, ioam_cache_ts_entry_t *entry) |
|
static void | ioam_cache_ts_entry_free (u32 thread_id, ioam_cache_ts_entry_t *entry, u32 node_index) |
|
static int | ioam_cache_ts_table_destroy (vlib_main_t *vm) |
|
static int | ioam_cache_ts_entry_cleanup (u32 thread_id, u32 pool_index) |
|
static int | ioam_cache_ts_add (ip6_header_t *ip0, u16 src_port, u16 dst_port, u32 seq_no, u8 max_responses, u64 now, u32 thread_id, u32 *pool_index) |
|
static void | ioam_cache_ts_send (u32 thread_id, i32 pool_index) |
|
static void | ioam_cache_ts_check_and_send (u32 thread_id, i32 pool_index) |
|
static int | ioam_cache_ts_update (u32 thread_id, i32 pool_index, u32 buffer_index, ip6_hop_by_hop_header_t *hbh) |
|
static int | ioam_cache_ts_lookup (ip6_header_t *ip0, u8 protocol, u16 src_port, u16 dst_port, u32 seq_no, ip6_hop_by_hop_header_t **hbh, u32 *pool_index, u8 *thread_id, u8 response_seen) |
|
static u8 * | format_ioam_cache_ts_entry (u8 *s, va_list *args) |
|
static int | ip6_ioam_ts_cache_set_rewrite (void) |
|
static int | ip6_ioam_ts_cache_cleanup_rewrite (void) |
|