|
static index_t | lisp_adj_find (const ip_address_t *addr, u32 sw_if_index) |
|
static void | lisp_adj_insert (const ip_address_t *addr, u32 sw_if_index, index_t ai) |
|
static void | lisp_adj_remove (const ip_address_t *addr, u32 sw_if_index) |
|
static lisp_gpe_adjacency_t * | lisp_gpe_adjacency_get_i (index_t lai) |
|
fib_forward_chain_type_t | lisp_gpe_adj_get_fib_chain_type (const lisp_gpe_adjacency_t *ladj) |
|
static void | ip46_address_to_ip_address (const ip46_address_t *a, ip_address_t *b) |
|
static void | lisp_gpe_adj_stack_one (lisp_gpe_adjacency_t *ladj, adj_index_t ai) |
| Stack the tunnel's midchain on the IP forwarding chain of the via. More...
|
|
static adj_walk_rc_t | lisp_gpe_adj_walk_cb (adj_index_t ai, void *ctx) |
| Call back when restacking all adjacencies on a GRE interface. More...
|
|
static void | lisp_gpe_adj_stack (lisp_gpe_adjacency_t *ladj) |
|
static lisp_gpe_next_protocol_e | lisp_gpe_adj_proto_from_vnet_link_type (vnet_link_t linkt) |
|
static lisp_afi_e | lisp_afi_from_vnet_link_type (vnet_link_t link) |
|
static void | lisp_gpe_increment_stats_counters (lisp_cp_main_t *lcm, ip_adjacency_t *adj, vlib_buffer_t *b) |
|
static void | lisp_gpe_fixup (vlib_main_t *vm, ip_adjacency_t *adj, vlib_buffer_t *b) |
|
void | lisp_gpe_update_adjacency (vnet_main_t *vnm, u32 sw_if_index, adj_index_t ai) |
| The LISP-GPE interface registered function to update, i.e. More...
|
|
u8 * | lisp_gpe_build_rewrite (vnet_main_t *vnm, u32 sw_if_index, vnet_link_t link_type, const void *dst_address) |
|
index_t | lisp_gpe_adjacency_find_or_create_and_lock (const locator_pair_t *pair, u32 overlay_table_id, u32 vni) |
|
static lisp_gpe_adjacency_t * | lisp_gpe_adjacency_from_fib_node (const fib_node_t *node) |
| Get a pointer to a tunnel from a pointer to a FIB node. More...
|
|
static void | lisp_gpe_adjacency_last_lock_gone (lisp_gpe_adjacency_t *ladj) |
|
void | lisp_gpe_adjacency_unlock (index_t lai) |
|
const lisp_gpe_adjacency_t * | lisp_gpe_adjacency_get (index_t lai) |
|
static fib_node_back_walk_rc_t | lisp_gpe_adjacency_back_walk (fib_node_t *node, fib_node_back_walk_ctx_t *ctx) |
| LISP GPE tunnel back walk. More...
|
|
static fib_node_t * | lisp_gpe_adjacency_get_fib_node (fib_node_index_t index) |
|
static void | lisp_gpe_adjacency_last_fib_lock_gone (fib_node_t *node) |
|
u8 * | format_lisp_gpe_adjacency (u8 *s, va_list *args) |
|
static clib_error_t * | lisp_gpe_adjacency_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | lisp_gpe_adj_module_init (vlib_main_t *vm) |
|
Common utility functions for IPv4, IPv6 and L2 LISP-GPE adjacencys.
Definition in file lisp_gpe_adjacency.c.
Hash table of all adjacencies.
key:{nh, itf} We never have an all zeros address since the interfaces are multi-access, therefore there is no ambiguity between a v4 and v6 next-hop, so we don't need to add the protocol to the key.
Definition at line 45 of file lisp_gpe_adjacency.c.