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, ip_adjacency_t *adj, vlib_buffer_t *b0, const void *data) |
|
static void | ip6ip_fixup (vlib_main_t *vm, 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 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) |
|
static void ip6ip_tunnel_stack |
( |
adj_index_t |
ai, |
|
|
u32 |
fib_entry_index |
|
) |
| |
|
static |
int sixrd_del_tunnel |
( |
u32 |
sw_if_index | ) |
|
Function definition to get a FIB node from its index.
Definition at line 472 of file sixrd.c.
static void sixrd_fib_node_last_lock_gone |
( |
fib_node_t * |
node | ) |
|
|
static |
VNET_DEVICE_CLASS |
( |
sixrd_device_class |
| ) |
|
VNET_HW_INTERFACE_CLASS |
( |
sixrd_hw_interface_class |
| ) |
|
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
Pool of delegate structs.
Definition at line 56 of file sixrd.c.
Adj delegate registered type.
Definition at line 61 of file sixrd.c.
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 484 of file sixrd.c.
FIB node registered type.
Definition at line 66 of file sixrd.c.
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 492 of file sixrd.c.
const ip46_address_t sixrd_special_nh |
|
static |
Initial value:= {
.ip6 = {
.as_u64 = {
[0] = 0xffffffffffffffff,
[1] = 0xffffffffffffffff,
},
},
}
Definition at line 182 of file sixrd.c.