|
static u32 | ip_dst_fib_add_route (u32 dst_fib_index, const ip_prefix_t *dst_prefix) |
| Add route to IP4 or IP6 Destination FIB. More...
|
|
static void | ip_src_dst_fib_del_route (u32 src_fib_index, const ip_prefix_t *src_prefix, u32 dst_fib_index, const ip_prefix_t *dst_prefix) |
| Del route to IP4 or IP6 SD FIB. More...
|
|
static fib_node_index_t | ip_src_fib_add_route_w_dpo (u32 src_fib_index, const ip_prefix_t *src_prefix, const dpo_id_t *src_dpo) |
| Add route to IP4 or IP6 SRC FIB. More...
|
|
static fib_route_path_t * | lisp_gpe_mk_fib_paths (const lisp_fwd_path_t *paths) |
|
static fib_node_index_t | ip_src_fib_add_route (u32 src_fib_index, const ip_prefix_t *src_prefix, const lisp_fwd_path_t *paths) |
| Add route to IP4 or IP6 SRC FIB. More...
|
|
static void | gpe_native_fwd_add_del_lfe (lisp_gpe_fwd_entry_t *lfe, u8 is_add) |
|
static index_t | create_fib_entries (lisp_gpe_fwd_entry_t *lfe) |
|
static void | delete_fib_entries (lisp_gpe_fwd_entry_t *lfe) |
|
static lisp_gpe_fwd_entry_t * | find_fwd_entry (lisp_gpe_main_t *lgm, vnet_lisp_gpe_add_del_fwd_entry_args_t *a, lisp_gpe_fwd_entry_key_t *key) |
|
static int | lisp_gpe_fwd_entry_path_sort (void *a1, void *a2) |
|
static void | lisp_gpe_fwd_entry_mk_paths (lisp_gpe_fwd_entry_t *lfe, vnet_lisp_gpe_add_del_fwd_entry_args_t *a) |
|
void | vnet_lisp_gpe_add_fwd_counters (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 fwd_entry_index) |
|
static int | add_ip_fwd_entry (lisp_gpe_main_t *lgm, vnet_lisp_gpe_add_del_fwd_entry_args_t *a) |
| Add/Delete LISP IP forwarding entry. More...
|
|
static void | del_ip_fwd_entry_i (lisp_gpe_main_t *lgm, lisp_gpe_fwd_entry_t *lfe) |
|
static int | del_ip_fwd_entry (lisp_gpe_main_t *lgm, vnet_lisp_gpe_add_del_fwd_entry_args_t *a) |
| Add/Delete LISP IP forwarding entry. More...
|
|
static void | make_mac_fib_key (BVT(clib_bihash_kv) *kv, u16 bd_index, u8 src_mac[6], u8 dst_mac[6]) |
|
index_t | lisp_l2_fib_lookup (lisp_gpe_main_t *lgm, u16 bd_index, u8 src_mac[6], u8 dst_mac[6]) |
| Lookup L2 SD FIB entry. More...
|
|
static u32 | lisp_l2_fib_add_del_entry (u16 bd_index, u8 src_mac[6], u8 dst_mac[6], const dpo_id_t *dpo, u8 is_add) |
| Add/del L2 SD FIB entry. More...
|
|
static void | l2_fib_init (lisp_gpe_main_t *lgm) |
|
static void | del_l2_fwd_entry_i (lisp_gpe_main_t *lgm, lisp_gpe_fwd_entry_t *lfe) |
|
static int | del_l2_fwd_entry (lisp_gpe_main_t *lgm, vnet_lisp_gpe_add_del_fwd_entry_args_t *a) |
| Delete LISP L2 forwarding entry. More...
|
|
static void | lisp_gpe_l2_update_fwding (lisp_gpe_fwd_entry_t *lfe) |
| Construct and insert the forwarding information used by an L2 entry. More...
|
|
static int | add_l2_fwd_entry (lisp_gpe_main_t *lgm, vnet_lisp_gpe_add_del_fwd_entry_args_t *a) |
| Add LISP L2 forwarding entry. More...
|
|
const dpo_id_t * | lisp_nsh_fib_lookup (lisp_gpe_main_t *lgm, u32 spi_si_net_order) |
| Lookup NSH SD FIB entry. More...
|
|
static u32 | lisp_nsh_fib_add_del_entry (u32 spi_si_host_order, u32 lfei, u8 is_add) |
| Add/del NSH FIB entry. More...
|
|
static void | nsh_fib_init (lisp_gpe_main_t *lgm) |
|
static void | del_nsh_fwd_entry_i (lisp_gpe_main_t *lgm, lisp_gpe_fwd_entry_t *lfe) |
|
static int | del_nsh_fwd_entry (lisp_gpe_main_t *lgm, vnet_lisp_gpe_add_del_fwd_entry_args_t *a) |
| Delete LISP NSH forwarding entry. More...
|
|
static void | lisp_gpe_nsh_update_fwding (lisp_gpe_fwd_entry_t *lfe) |
| Construct and insert the forwarding information used by an NSH entry. More...
|
|
static int | add_nsh_fwd_entry (lisp_gpe_main_t *lgm, vnet_lisp_gpe_add_del_fwd_entry_args_t *a) |
| Add LISP NSH forwarding entry. More...
|
|
static lisp_gpe_fwd_entry_t * | lisp_gpe_fwd_entry_from_fib_node (fib_node_t *node) |
| conver from the embedded fib_node_t struct to the LSIP entry More...
|
|
static fib_node_back_walk_rc_t | lisp_gpe_fib_node_back_walk (fib_node_t *node, fib_node_back_walk_ctx_t *ctx) |
| Function invoked during a backwalk of the FIB graph. More...
|
|
static fib_node_t * | lisp_gpe_fwd_entry_get_fib_node (fib_node_index_t index) |
| Get a fib_node_t struct from the index of a LISP fwd entry. More...
|
|
static void | lisp_gpe_fwd_entry_fib_node_last_lock_gone (fib_node_t *node) |
| An indication from the graph that the last lock has gone. More...
|
|
int | vnet_lisp_gpe_add_del_fwd_entry (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 *hw_if_indexp) |
| Forwarding entry create/remove dispatcher. More...
|
|
int | vnet_lisp_flush_stats (void) |
|
static void | lisp_del_adj_stats (lisp_gpe_main_t *lgm, u32 fwd_entry_index, u32 ti) |
|
void | vnet_lisp_gpe_del_fwd_counters (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 fwd_entry_index) |
|
void | vnet_lisp_gpe_fwd_entry_flush (void) |
| Flush all the forwrding entries. More...
|
|
static u8 * | format_lisp_fwd_path (u8 *s, va_list *ap) |
|
static u8 * | format_lisp_gpe_fwd_entry (u8 *s, va_list *ap) |
|
static clib_error_t * | lisp_gpe_fwd_entry_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | lisp_gpe_fwd_entry_init (vlib_main_t *vm) |
|
u32 * | vnet_lisp_gpe_get_fwd_entry_vnis (void) |
|
lisp_api_gpe_fwd_entry_t * | vnet_lisp_gpe_fwd_entries_get_by_vni (u32 vni) |
|
int | vnet_lisp_gpe_get_fwd_stats (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, vlib_counter_t *c) |
|