|
static void | ip_multipath_del_adjacency (ip_lookup_main_t *lm, u32 del_adj_index) |
|
static void | ip_poison_adjacencies (ip_adjacency_t *adj, uword n_adj) |
|
static void | ip_share_adjacency (ip_lookup_main_t *lm, u32 adj_index) |
|
static void | ip_unshare_adjacency (ip_lookup_main_t *lm, u32 adj_index) |
|
int | ip_register_adjacency (vlib_main_t *vm, u8 is_ip4, ip_adj_register_t *reg) |
|
int | ip_init_registered_adjacencies (u8 is_ip4) |
|
ip_adjacency_t * | ip_add_adjacency (ip_lookup_main_t *lm, ip_adjacency_t *copy_adj, u32 n_adj, u32 *adj_index_return) |
|
void | ip_update_adjacency (ip_lookup_main_t *lm, u32 adj_index, ip_adjacency_t *copy_adj) |
|
static void | ip_del_adjacency2 (ip_lookup_main_t *lm, u32 adj_index, u32 delete_multipath_adjacency) |
|
void | ip_del_adjacency (ip_lookup_main_t *lm, u32 adj_index) |
|
static int | next_hop_sort_by_weight (ip_multipath_next_hop_t *n1, ip_multipath_next_hop_t *n2) |
|
static u32 | ip_multipath_normalize_next_hops (ip_lookup_main_t *lm, ip_multipath_next_hop_t *raw_next_hops, ip_multipath_next_hop_t **normalized_next_hops) |
|
static uword | ip_next_hop_hash_key_from_handle (uword handle) |
|
static uword | ip_next_hop_hash_key_is_heap_handle (uword k) |
|
static uword | ip_next_hop_hash_key_get_heap_handle (uword k) |
|
static u32 | ip_multipath_adjacency_get (ip_lookup_main_t *lm, ip_multipath_next_hop_t *raw_next_hops, uword create_if_non_existent) |
|
u32 | ip_multipath_adjacency_add_del_next_hop (ip_lookup_main_t *lm, u32 is_del, u32 old_mp_adj_index, u32 next_hop_adj_index, u32 next_hop_weight, u32 *new_mp_adj_index) |
|
void | ip_multipath_adjacency_free (ip_lookup_main_t *lm, ip_multipath_adjacency_t *a) |
|
static ip_multipath_next_hop_t * | ip_next_hop_hash_key_get_next_hops (ip_lookup_main_t *lm, uword k, uword *n_next_hops) |
|
static uword | ip_next_hop_hash_key_sum (hash_t *h, uword key0) |
|
static uword | ip_next_hop_hash_key_equal (hash_t *h, uword key0, uword key1) |
|
clib_error_t * | ip_interface_address_add_del (ip_lookup_main_t *lm, u32 sw_if_index, void *addr_fib, u32 address_length, u32 is_del, u32 *result_if_address_index) |
|
void | ip_lookup_init (ip_lookup_main_t *lm, u32 is_ip6) |
|
u8 * | format_ip_flow_hash_config (u8 *s, va_list *args) |
|
u8 * | format_ip_lookup_next (u8 *s, va_list *args) |
|
static u8 * | format_ip_interface_address (u8 *s, va_list *args) |
|
u32 | vnet_register_special_adjacency_format_function (ip_lookup_main_t *lm, format_function_t *fp) |
|
u8 * | format_ip_adjacency (u8 *s, va_list *args) |
| Pretty print helper function for formatting specific adjacencies. More...
|
|
u8 * | format_ip_adjacency_packet_data (u8 *s, va_list *args) |
|
static uword | unformat_ip_lookup_next (unformat_input_t *input, va_list *args) |
|
static uword | unformat_ip_adjacency (unformat_input_t *input, va_list *args) |
|
clib_error_t * | vnet_ip_route_cmd (vlib_main_t *vm, unformat_input_t *main_input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | ip6_probe_neighbor_wait (vlib_main_t *vm, ip6_address_t *a, u32 sw_if_index, int retry_count) |
|
static clib_error_t * | ip4_probe_neighbor_wait (vlib_main_t *vm, ip4_address_t *a, u32 sw_if_index, int retry_count) |
|
static clib_error_t * | probe_neighbor_address (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
typedef | CLIB_PACKED (struct{ip4_address_t address;u32 address_length:6;u32 index:26;}) |
|
static clib_error_t * | ip4_show_fib (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static void | add_routes_in_fib (BVT(clib_bihash_kv)*kvp, void *arg) |
|
static void | count_routes_in_fib_at_prefix_length (BVT(clib_bihash_kv)*kvp, void *arg) |
|
static int | ip6_route_cmp (void *a1, void *a2) |
|
static clib_error_t * | ip6_show_fib (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|