FD.io VPP
v21.01.1
Vector Packet Processing
|
NAT66 global declarations. More...
Go to the source code of this file.
Data Structures | |
struct | nat66_static_mapping_t |
struct | nat66_sm_key_t |
struct | nat66_interface_t |
struct | nat66_main_t |
Macros | |
#define | NAT66_INTERFACE_FLAG_IS_INSIDE 1 |
#define | NAT66_INTERFACE_FLAG_IS_OUTSIDE 2 |
#define | nat66_interface_is_inside(i) i->flags & NAT66_INTERFACE_FLAG_IS_INSIDE |
#define | nat66_interface_is_outside(i) i->flags & NAT66_INTERFACE_FLAG_IS_OUTSIDE |
#define | nat66_elog(_level, _str) |
#define | nat66_elog_warn(nat_elog_str) nat66_elog(0x02, "[warning] " nat_elog_str) |
Typedefs | |
typedef int(* | nat66_interface_walk_fn_t) (nat66_interface_t *i, void *ctx) |
typedef int(* | nat66_static_mapping_walk_fn_t) (nat66_static_mapping_t *sm, void *ctx) |
Functions | |
void | nat66_interfaces_walk (nat66_interface_walk_fn_t fn, void *ctx) |
int | nat66_interface_add_del (u32 sw_if_index, u8 is_inside, u8 is_add) |
void | nat66_static_mappings_walk (nat66_static_mapping_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) |
Variables | |
nat66_main_t | nat66_main |
vlib_node_registration_t | nat66_in2out_node |
(constructor) VLIB_REGISTER_NODE (nat66_in2out_node) More... | |
vlib_node_registration_t | nat66_out2in_node |
(constructor) VLIB_REGISTER_NODE (nat66_out2in_node) More... | |
NAT66 global declarations.
Definition in file nat66.h.
#define nat66_elog | ( | _level, | |
_str | |||
) |
#define nat66_elog_warn | ( | nat_elog_str | ) | nat66_elog(0x02, "[warning] " nat_elog_str) |
#define nat66_interface_is_inside | ( | i | ) | i->flags & NAT66_INTERFACE_FLAG_IS_INSIDE |
#define nat66_interface_is_outside | ( | i | ) | i->flags & NAT66_INTERFACE_FLAG_IS_OUTSIDE |
typedef int(* nat66_interface_walk_fn_t) (nat66_interface_t *i, void *ctx) |
typedef int(* nat66_static_mapping_walk_fn_t) (nat66_static_mapping_t *sm, void *ctx) |
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 | ||
) |
void nat66_static_mappings_walk | ( | nat66_static_mapping_walk_fn_t | fn, |
void * | ctx | ||
) |
vlib_node_registration_t nat66_in2out_node |
(constructor) VLIB_REGISTER_NODE (nat66_in2out_node)
Definition at line 239 of file nat66_in2out.c.
nat66_main_t nat66_main |
vlib_node_registration_t nat66_out2in_node |
(constructor) VLIB_REGISTER_NODE (nat66_out2in_node)
Definition at line 197 of file nat66_out2in.c.