FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
|
NAT64 IPv6 to IPv4 translation (inside to outside network) More...
Go to the source code of this file.
Data Structures | |
struct | nat64_in2out_trace_t |
struct | nat64_in2out_reass_trace_t |
struct | nat64_in2out_set_ctx_t_ |
struct | unk_proto_st_walk_ctx_t_ |
struct | nat64_in2out_frag_set_ctx_t_ |
struct | nat64_in2out_handoff_trace_t |
Macros | |
#define | foreach_nat64_in2out_error |
#define | foreach_nat64_in2out_handoff_error |
Typedefs | |
typedef struct nat64_in2out_set_ctx_t_ | nat64_in2out_set_ctx_t |
typedef struct unk_proto_st_walk_ctx_t_ | unk_proto_st_walk_ctx_t |
typedef struct nat64_in2out_frag_set_ctx_t_ | nat64_in2out_frag_set_ctx_t |
Variables | |
static char * | nat64_in2out_error_strings [] |
vlib_node_registration_t | nat64_in2out_node |
(constructor) VLIB_REGISTER_NODE (nat64_in2out_node) More... | |
vlib_node_registration_t | nat64_in2out_slowpath_node |
(constructor) VLIB_REGISTER_NODE (nat64_in2out_slowpath_node) More... | |
vlib_node_registration_t | nat64_in2out_reass_node |
(constructor) VLIB_REGISTER_NODE (nat64_in2out_reass_node) More... | |
static char * | nat64_in2out_handoff_error_strings [] |
vlib_node_registration_t | nat64_in2out_handoff_node |
(constructor) VLIB_REGISTER_NODE (nat64_in2out_handoff_node) More... | |
NAT64 IPv6 to IPv4 translation (inside to outside network)
Definition in file nat64_in2out.c.
#define foreach_nat64_in2out_error |
Definition at line 74 of file nat64_in2out.c.
#define foreach_nat64_in2out_handoff_error |
Definition at line 1678 of file nat64_in2out.c.
typedef struct nat64_in2out_frag_set_ctx_t_ nat64_in2out_frag_set_ctx_t |
typedef struct nat64_in2out_set_ctx_t_ nat64_in2out_set_ctx_t |
typedef struct unk_proto_st_walk_ctx_t_ unk_proto_st_walk_ctx_t |
enum nat64_in2out_error_t |
Enumerator | |
---|---|
NAT64_IN2OUT_N_ERROR |
Definition at line 91 of file nat64_in2out.c.
Enumerator | |
---|---|
NAT64_IN2OUT_HANDOFF_N_ERROR |
Definition at line 1683 of file nat64_in2out.c.
enum nat64_in2out_next_t |
Enumerator | |
---|---|
NAT64_IN2OUT_NEXT_IP4_LOOKUP | |
NAT64_IN2OUT_NEXT_IP6_LOOKUP | |
NAT64_IN2OUT_NEXT_DROP | |
NAT64_IN2OUT_NEXT_SLOWPATH | |
NAT64_IN2OUT_NEXT_REASS | |
NAT64_IN2OUT_N_NEXT |
Definition at line 105 of file nat64_in2out.c.
static_always_inline int is_hairpinning | ( | ip6_address_t * | dst_addr | ) |
Check whether is a hairpinning.
If the destination IP address of the packet is an IPv4 address assigned to the NAT64 itself, then the packet is a hairpin packet.
param dst_addr Destination address of the packet.
Definition at line 153 of file nat64_in2out.c.
|
static |
Definition at line 1289 of file nat64_in2out.c.
|
static |
Definition at line 1237 of file nat64_in2out.c.
VLIB_NODE_FN() nat64_in2out_handoff_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
static |
Definition at line 713 of file nat64_in2out.c.
|
static |
Definition at line 262 of file nat64_in2out.c.
|
static |
Definition at line 355 of file nat64_in2out.c.
VLIB_NODE_FN() nat64_in2out_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
inlinestatic |
Definition at line 961 of file nat64_in2out.c.
VLIB_NODE_FN() nat64_in2out_reass_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() nat64_in2out_slowpath_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
static |
Definition at line 589 of file nat64_in2out.c.
|
static |
Definition at line 168 of file nat64_in2out.c.
|
static |
Definition at line 839 of file nat64_in2out.c.
|
static |
Definition at line 483 of file nat64_in2out.c.
|
inlinestatic |
Definition at line 123 of file nat64_in2out.c.
|
static |
Definition at line 448 of file nat64_in2out.c.
|
static |
Definition at line 99 of file nat64_in2out.c.
|
static |
Definition at line 1691 of file nat64_in2out.c.
vlib_node_registration_t nat64_in2out_handoff_node |
(constructor) VLIB_REGISTER_NODE (nat64_in2out_handoff_node)
Definition at line 1782 of file nat64_in2out.c.
vlib_node_registration_t nat64_in2out_node |
(constructor) VLIB_REGISTER_NODE (nat64_in2out_node)
Definition at line 1180 of file nat64_in2out.c.
vlib_node_registration_t nat64_in2out_reass_node |
(constructor) VLIB_REGISTER_NODE (nat64_in2out_reass_node)
Definition at line 1659 of file nat64_in2out.c.
vlib_node_registration_t nat64_in2out_slowpath_node |
(constructor) VLIB_REGISTER_NODE (nat64_in2out_slowpath_node)
Definition at line 1207 of file nat64_in2out.c.