|
static u32 | crc_u32 (u32 data, u32 value) |
|
i32 | ip4_get_port (ip4_header_t *ip, map_dir_e dir, u16 buffer_len) |
|
i32 | ip6_get_port (ip6_header_t *ip6, map_dir_e dir, u16 buffer_len) |
|
int | map_create_domain (ip4_address_t *ip4_prefix, u8 ip4_prefix_len, ip6_address_t *ip6_prefix, u8 ip6_prefix_len, ip6_address_t *ip6_src, u8 ip6_src_len, u8 ea_bits_len, u8 psid_offset, u8 psid_length, u32 *map_domain_index, u16 mtu, u8 flags) |
|
int | map_delete_domain (u32 map_domain_index) |
|
int | map_add_del_psid (u32 map_domain_index, u16 psid, ip6_address_t *tep, u8 is_add) |
|
static void | map_pre_resolve_init (map_main_pre_resolved_t *pr) |
|
static u8 * | format_map_pre_resolve (u8 *s, va_list ap) |
|
static void | map_last_lock_gone (fib_node_t *node) |
| Function definition to inform the FIB node that its last lock has gone. More...
|
|
static map_main_pre_resolved_t * | map_from_fib_node (fib_node_t *node) |
|
static void | map_stack (map_main_pre_resolved_t *pr) |
|
static fib_node_back_walk_rc_t | map_back_walk (fib_node_t *node, fib_node_back_walk_ctx_t *ctx) |
| Function definition to backwalk a FIB node. More...
|
|
static fib_node_t * | map_fib_node_get (fib_node_index_t index) |
| Function definition to get a FIB node from its index. More...
|
|
static void | map_fib_resolve (map_main_pre_resolved_t *pr, fib_protocol_t proto, u8 len, const ip46_address_t *addr) |
|
static void | map_fib_unresolve (map_main_pre_resolved_t *pr, fib_protocol_t proto, u8 len, const ip46_address_t *addr) |
|
static void | map_pre_resolve (ip4_address_t *ip4, ip6_address_t *ip6, int is_del) |
|
static clib_error_t * | map_security_check_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | map_security_check_frag_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | map_add_domain_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | map_del_domain_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | map_add_rule_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | map_pre_resolve_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | map_icmp_relay_source_address_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | map_icmp_unreachables_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | map_fragment_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | map_fragment_df_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | map_traffic_class_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8 * | format_map_domain (u8 *s, va_list *args) |
|
static u8 * | format_map_ip4_reass (u8 *s, va_list *args) |
|
static u8 * | format_map_ip6_reass (u8 *s, va_list *args) |
|
static clib_error_t * | show_map_domain_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_map_fragments_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u64 | map_error_counter_get (u32 node_index, map_error_t map_error) |
|
static clib_error_t * | show_map_stats_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | map_params_reass_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u8 * | format_map_trace (u8 *s, va_list *args) |
|
static_always_inline map_ip4_reass_t * | map_ip4_reass_lookup (map_ip4_reass_key_t *k, u32 bucket, f64 now) |
|
void | map_ip4_reass_free (map_ip4_reass_t *r, u32 **pi_to_drop) |
|
map_ip4_reass_t * | map_ip4_reass_get (u32 src, u32 dst, u16 fragment_id, u8 protocol, u32 **pi_to_drop) |
|
int | map_ip4_reass_add_fragment (map_ip4_reass_t *r, u32 pi) |
|
static_always_inline map_ip6_reass_t * | map_ip6_reass_lookup (map_ip6_reass_key_t *k, u32 bucket, f64 now) |
|
void | map_ip6_reass_free (map_ip6_reass_t *r, u32 **pi_to_drop) |
|
map_ip6_reass_t * | map_ip6_reass_get (ip6_address_t *src, ip6_address_t *dst, u32 fragment_id, u8 protocol, u32 **pi_to_drop) |
|
int | map_ip6_reass_add_fragment (map_ip6_reass_t *r, u32 pi, u16 data_offset, u16 next_data_offset, u8 *data_start, u16 data_len) |
|
void | map_ip4_reass_reinit (u32 *trashed_reass, u32 *dropped_packets) |
|
u8 | map_get_ht_log2len (f32 ht_ratio, u16 pool_size) |
|
int | map_ip4_reass_conf_ht_ratio (f32 ht_ratio, u32 *trashed_reass, u32 *dropped_packets) |
|
int | map_ip4_reass_conf_pool_size (u16 pool_size, u32 *trashed_reass, u32 *dropped_packets) |
|
int | map_ip4_reass_conf_lifetime (u16 lifetime_ms) |
|
int | map_ip4_reass_conf_buffers (u32 buffers) |
|
void | map_ip6_reass_reinit (u32 *trashed_reass, u32 *dropped_packets) |
|
int | map_ip6_reass_conf_ht_ratio (f32 ht_ratio, u32 *trashed_reass, u32 *dropped_packets) |
|
int | map_ip6_reass_conf_pool_size (u16 pool_size, u32 *trashed_reass, u32 *dropped_packets) |
|
int | map_ip6_reass_conf_lifetime (u16 lifetime_ms) |
|
int | map_ip6_reass_conf_buffers (u32 buffers) |
|
clib_error_t * | map_init (vlib_main_t *vm) |
|