Go to the source code of this file.
|
static sixrd_adj_delegate_t * | sixrd_adj_from_base (adj_delegate_t *ad) |
|
static const sixrd_adj_delegate_t * | sixrd_adj_from_const_base (const adj_delegate_t *ad) |
|
static void | sixrd_fixup (vlib_main_t *vm, const ip_adjacency_t *adj, vlib_buffer_t *b0, const void *data) |
|
static void | ip6ip_fixup (vlib_main_t *vm, const ip_adjacency_t *adj, vlib_buffer_t *b0, const void *data) |
|
static u8 * | sixrd_build_rewrite (vnet_main_t *vnm, u32 sw_if_index, vnet_link_t link_type, const void *dst_address) |
|
static void | ip6ip_tunnel_stack (adj_index_t ai, u32 fib_entry_index) |
|
static void | sixrd_tunnel_stack (adj_index_t ai, u32 fib_index) |
|
static void | sixrd_update_adj (vnet_main_t *vnm, u32 sw_if_index, adj_index_t ai) |
|
clib_error_t * | sixrd_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
| VNET_HW_INTERFACE_CLASS (sixrd_hw_interface_class) |
|
| VNET_DEVICE_CLASS (sixrd_device_class) |
|
int | sixrd_add_tunnel (ip6_address_t *ip6_prefix, u8 ip6_prefix_len, ip4_address_t *ip4_prefix, u8 ip4_prefix_len, ip4_address_t *ip4_src, bool security_check, u32 ip4_fib_index, u32 ip6_fib_index, u32 *sw_if_index) |
|
int | sixrd_del_tunnel (u32 sw_if_index) |
|
static void | sixrd_adj_delegate_adj_deleted (adj_delegate_t *aed) |
|
static u8 * | sixrd_adj_delegate_format (const adj_delegate_t *aed, u8 *s) |
|
static void | sixrd_fib_node_last_lock_gone (fib_node_t *node) |
|
static sixrd_adj_delegate_t * | sixrd_adj_delegate_from_fib_node (fib_node_t *node) |
|
static fib_node_back_walk_rc_t | sixrd_fib_node_back_walk_notify (fib_node_t *node, fib_node_back_walk_ctx_t *ctx) |
|
static fib_node_t * | sixrd_fib_node_get (fib_node_index_t index) |
| Function definition to get a FIB node from its index. More...
|
|
static clib_error_t * | sixrd_init (vlib_main_t *vm) |
|
◆ sixrd_adj_delegate_t
◆ ip6ip_fixup()
◆ ip6ip_tunnel_stack()
static void ip6ip_tunnel_stack |
( |
adj_index_t |
ai, |
|
|
u32 |
fib_entry_index |
|
) |
| |
|
static |
◆ sixrd_add_tunnel()
int sixrd_add_tunnel |
( |
ip6_address_t * |
ip6_prefix, |
|
|
u8 |
ip6_prefix_len, |
|
|
ip4_address_t * |
ip4_prefix, |
|
|
u8 |
ip4_prefix_len, |
|
|
ip4_address_t * |
ip4_src, |
|
|
bool |
security_check, |
|
|
u32 |
ip4_fib_index, |
|
|
u32 |
ip6_fib_index, |
|
|
u32 * |
sw_if_index |
|
) |
| |
◆ sixrd_adj_delegate_adj_deleted()
◆ sixrd_adj_delegate_format()
◆ sixrd_adj_delegate_from_fib_node()
◆ sixrd_adj_from_base()
◆ sixrd_adj_from_const_base()
◆ sixrd_build_rewrite()
◆ sixrd_del_tunnel()
int sixrd_del_tunnel |
( |
u32 |
sw_if_index | ) |
|
◆ sixrd_fib_node_back_walk_notify()
◆ sixrd_fib_node_get()
Function definition to get a FIB node from its index.
Definition at line 469 of file sixrd.c.
◆ sixrd_fib_node_last_lock_gone()
static void sixrd_fib_node_last_lock_gone |
( |
fib_node_t * |
node | ) |
|
|
static |
◆ sixrd_fixup()
◆ sixrd_init()
◆ sixrd_interface_admin_up_down()
◆ sixrd_tunnel_stack()
◆ sixrd_update_adj()
◆ VNET_DEVICE_CLASS()
VNET_DEVICE_CLASS |
( |
sixrd_device_class |
| ) |
|
◆ VNET_HW_INTERFACE_CLASS()
VNET_HW_INTERFACE_CLASS |
( |
sixrd_hw_interface_class |
| ) |
|
◆ ip4_sixrd_node
This code supports the following sixrd modes:
32 EA bits (Complete IPv4 address is embedded): ea_bits_len = 32 IPv4 suffix is embedded: ea_bits_len = < 32 No embedded address bits (1:1 mode): ea_bits_len = 0
◆ sixrd_adj_delegate_pool
Pool of delegate structs.
Definition at line 57 of file sixrd.c.
◆ sixrd_adj_delegate_type
Adj delegate registered type.
Definition at line 62 of file sixrd.c.
◆ sixrd_adj_delegate_vft
Initial value:= {
}
static u8 * sixrd_adj_delegate_format(const adj_delegate_t *aed, u8 *s)
static void sixrd_adj_delegate_adj_deleted(adj_delegate_t *aed)
VFT registered with the adjacency delegate.
Definition at line 481 of file sixrd.c.
◆ sixrd_fib_node_type
FIB node registered type.
Definition at line 67 of file sixrd.c.
◆ sixrd_fib_node_vft
Initial value:= {
}
static void sixrd_fib_node_last_lock_gone(fib_node_t *node)
static fib_node_t * sixrd_fib_node_get(fib_node_index_t index)
Function definition to get a FIB node from its index.
static fib_node_back_walk_rc_t sixrd_fib_node_back_walk_notify(fib_node_t *node, fib_node_back_walk_ctx_t *ctx)
VFT registered with the FIB node for the adj delegate.
Definition at line 489 of file sixrd.c.