NAT66 implementation.
More...
Go to the source code of this file.
|
| VNET_FEATURE_INIT (nat66_in2out, static) |
|
| VNET_FEATURE_INIT (nat66_out2in, static) |
|
clib_error_t * | nat66_plugin_api_hookup (vlib_main_t *vm) |
|
static clib_error_t * | nat66_init (vlib_main_t *vm) |
|
int | nat66_plugin_enable (u32 outside_vrf) |
|
int | nat66_plugin_disable () |
|
static void | nat66_validate_counters (nat66_main_t *nm, u32 sw_if_index) |
|
int | nat66_interface_add_del (u32 sw_if_index, u8 is_inside, u8 is_add) |
|
void | nat66_interfaces_walk (nat66_interface_walk_fn_t fn, void *ctx) |
|
nat66_static_mapping_t * | nat66_static_mapping_get (ip6_address_t *addr, u32 fib_index, u8 is_local) |
|
int | nat66_static_mapping_add_del (ip6_address_t *l_addr, ip6_address_t *e_addr, u32 vrf_id, u8 is_add) |
|
void | nat66_static_mappings_walk (nat66_static_mapping_walk_fn_t fn, void *ctx) |
|
| VLIB_PLUGIN_REGISTER () |
|
NAT66 implementation.
Definition in file nat66.c.
◆ fail_if_disabled
#define fail_if_disabled |
( |
| ) |
|
Value: do \
{ \
{ \
nat66_elog_warn ("plugin disabled"); \
return 1; \
} \
} \
while (0)
Definition at line 55 of file nat66.c.
◆ fail_if_enabled
#define fail_if_enabled |
( |
| ) |
|
Value: do \
{ \
{ \
nat66_elog_warn ("plugin enabled"); \
return 1; \
} \
} \
while (0)
Definition at line 43 of file nat66.c.
◆ nat66_init()
◆ nat66_interface_add_del()
int nat66_interface_add_del |
( |
u32 |
sw_if_index, |
|
|
u8 |
is_inside, |
|
|
u8 |
is_add |
|
) |
| |
◆ nat66_interfaces_walk()
◆ nat66_plugin_api_hookup()
◆ nat66_plugin_disable()
int nat66_plugin_disable |
( |
| ) |
|
◆ nat66_plugin_enable()
int nat66_plugin_enable |
( |
u32 |
outside_vrf | ) |
|
◆ nat66_static_mapping_add_del()
int nat66_static_mapping_add_del |
( |
ip6_address_t * |
l_addr, |
|
|
ip6_address_t * |
e_addr, |
|
|
u32 |
vrf_id, |
|
|
u8 |
is_add |
|
) |
| |
◆ nat66_static_mapping_get()
◆ nat66_static_mappings_walk()
◆ nat66_validate_counters()
◆ VLIB_PLUGIN_REGISTER()
◆ VNET_FEATURE_INIT() [1/2]
VNET_FEATURE_INIT |
( |
nat66_in2out |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [2/2]
VNET_FEATURE_INIT |
( |
nat66_out2in |
, |
|
|
static |
|
|
) |
| |
◆ nat66_main