Go to the source code of this file.
|
enum | ip4_map_next_e {
IP4_MAP_NEXT_IP6_LOOKUP,
IP4_MAP_NEXT_IP6_REWRITE,
IP4_MAP_NEXT_IP4_FRAGMENT,
IP4_MAP_NEXT_IP6_FRAGMENT,
IP4_MAP_NEXT_REASS,
IP4_MAP_NEXT_ICMP_ERROR,
IP4_MAP_NEXT_DROP,
IP4_MAP_N_NEXT
} |
|
enum | ip4_map_reass_next_t { IP4_MAP_REASS_NEXT_IP6_LOOKUP,
IP4_MAP_REASS_NEXT_IP4_FRAGMENT,
IP4_MAP_REASS_NEXT_DROP,
IP4_MAP_REASS_N_NEXT
} |
|
|
u8 * | format_ip4_map_reass_trace (u8 *s, va_list *args) |
|
static_always_inline u16 | ip4_map_port_and_security_check (map_domain_t *d, ip4_header_t *ip, u32 *next, u8 *error) |
|
static_always_inline u32 | ip4_map_vtcfl (ip4_header_t *ip4, vlib_buffer_t *p) |
|
static_always_inline bool | ip4_map_ip6_lookup_bypass (vlib_buffer_t *p0, ip4_header_t *ip) |
|
static void | ip4_map_decrement_ttl (ip4_header_t *ip, u8 *error) |
|
static u32 | ip4_map_fragment (vlib_buffer_t *b, u16 mtu, bool df, u8 *error) |
|
static uword | ip4_map (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip4_map_reass (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (ip4_map_feature, static) |
|
◆ ip4_map_next_e
Enumerator |
---|
IP4_MAP_NEXT_IP6_LOOKUP | |
IP4_MAP_NEXT_IP6_REWRITE | |
IP4_MAP_NEXT_IP4_FRAGMENT | |
IP4_MAP_NEXT_IP6_FRAGMENT | |
IP4_MAP_NEXT_REASS | |
IP4_MAP_NEXT_ICMP_ERROR | |
IP4_MAP_NEXT_DROP | |
IP4_MAP_N_NEXT | |
Definition at line 25 of file ip4_map.c.
◆ ip4_map_reass_next_t
Enumerator |
---|
IP4_MAP_REASS_NEXT_IP6_LOOKUP | |
IP4_MAP_REASS_NEXT_IP4_FRAGMENT | |
IP4_MAP_REASS_NEXT_DROP | |
IP4_MAP_REASS_N_NEXT | |
Definition at line 39 of file ip4_map.c.
◆ format_ip4_map_reass_trace()
u8* format_ip4_map_reass_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ ip4_map()
◆ ip4_map_decrement_ttl()
◆ ip4_map_fragment()
◆ ip4_map_ip6_lookup_bypass()
◆ ip4_map_port_and_security_check()
◆ ip4_map_reass()
◆ ip4_map_vtcfl()
◆ VNET_FEATURE_INIT()
VNET_FEATURE_INIT |
( |
ip4_map_feature |
, |
|
|
static |
|
|
) |
| |
◆ ip4_map_node
Initial value:= {
.name = "ip4-map",
.vector_size =
sizeof(
u32),
.next_nodes = {
},
}
static uword ip4_map(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * map_error_strings[]
u8 * format_map_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip4_map_node)
Definition at line 719 of file ip4_map.c.
◆ ip4_map_reass_node
Initial value:= {
.name = "ip4-map-reass",
.vector_size =
sizeof(
u32),
.next_nodes = {
},
}
u8 * format_ip4_map_reass_trace(u8 *s, va_list *args)
static uword ip4_map_reass(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * map_error_strings[]
(constructor) VLIB_REGISTER_NODE (ip4_map_reass_node)
Definition at line 23 of file ip4_map.c.
◆ map_error_strings
char* map_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_map_error
Definition at line 703 of file ip4_map.c.