Go to the source code of this file.
|
static uword | cnat_input_feature_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b, cnat_node_ctx_t *ctx, int session_not_found, cnat_session_t *session) |
|
return | cnat_node_inline (vm, node, frame, cnat_input_feature_fn, AF_IP4, CNAT_LOCATION_INPUT, 0) |
|
| VNET_FEATURE_INIT (cnat_in_ip4_feature, static) |
|
return | cnat_node_inline (vm, node, frame, cnat_input_feature_fn, AF_IP6, CNAT_LOCATION_INPUT, 0) |
|
| VNET_FEATURE_INIT (cnat_in_ip6_feature, static) |
|
static uword | cnat_output_feature_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b, cnat_node_ctx_t *ctx, int session_not_found, cnat_session_t *session) |
|
return | cnat_node_inline (vm, node, frame, cnat_output_feature_fn, AF_IP4, CNAT_LOCATION_OUTPUT, 0) |
|
| VNET_FEATURE_INIT (cnat_out_ip4_feature, static) |
|
return | cnat_node_inline (vm, node, frame, cnat_output_feature_fn, AF_IP6, CNAT_LOCATION_OUTPUT, 0) |
|
| VNET_FEATURE_INIT (cnat_out_ip6_feature, static) |
|
◆ cnat_feature_next_t
◆ cnat_feature_next_
◆ cnat_input_feature_fn()
◆ cnat_node_inline() [1/4]
◆ cnat_node_inline() [2/4]
◆ cnat_node_inline() [3/4]
◆ cnat_node_inline() [4/4]
◆ cnat_output_feature_fn()
◆ VNET_FEATURE_INIT() [1/4]
VNET_FEATURE_INIT |
( |
cnat_in_ip4_feature |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [2/4]
VNET_FEATURE_INIT |
( |
cnat_in_ip6_feature |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [3/4]
VNET_FEATURE_INIT |
( |
cnat_out_ip4_feature |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [4/4]
VNET_FEATURE_INIT |
( |
cnat_out_ip6_feature |
, |
|
|
static |
|
|
) |
| |
◆ cnat_input_feature_ip4_node
Initial value:= {
.name = "cnat-input-ip4",
.vector_size =
sizeof (
u32),
.sibling_of = "ip4-lookup",
}
(constructor) VLIB_REGISTER_NODE (cnat_input_feature_ip4_node)
Definition at line 35 of file cnat_node_feature.c.
◆ cnat_input_feature_ip6_node
Initial value:= {
.name = "cnat-input-ip6",
.vector_size =
sizeof (
u32),
.sibling_of = "ip6-lookup",
}
(constructor) VLIB_REGISTER_NODE (cnat_input_feature_ip6_node)
Definition at line 36 of file cnat_node_feature.c.
◆ cnat_output_feature_ip4_node
Initial value:= {
.name = "cnat-output-ip4",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
(constructor) VLIB_REGISTER_NODE (cnat_output_feature_ip4_node)
Definition at line 37 of file cnat_node_feature.c.
◆ cnat_output_feature_ip6_node
Initial value:= {
.name = "cnat-output-ip6",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
(constructor) VLIB_REGISTER_NODE (cnat_output_feature_ip6_node)
Definition at line 38 of file cnat_node_feature.c.
◆ frame
◆ node
◆ vm