Go to the source code of this file.
|
enum | ip6_map_next_e {
IP6_MAP_NEXT_IP4_LOOKUP,
IP6_MAP_NEXT_IP4_REWRITE,
IP6_MAP_NEXT_IP6_REASS,
IP6_MAP_NEXT_IP4_REASS,
IP6_MAP_NEXT_IP4_FRAGMENT,
IP6_MAP_NEXT_IP6_ICMP_RELAY,
IP6_MAP_NEXT_IP6_LOCAL,
IP6_MAP_NEXT_DROP,
IP6_MAP_NEXT_ICMP,
IP6_MAP_N_NEXT
} |
|
enum | ip6_map_ip6_reass_next_e { IP6_MAP_IP6_REASS_NEXT_IP6_MAP,
IP6_MAP_IP6_REASS_NEXT_DROP,
IP6_MAP_IP6_REASS_N_NEXT
} |
|
enum | ip6_map_ip4_reass_next_e { IP6_MAP_IP4_REASS_NEXT_IP4_LOOKUP,
IP6_MAP_IP4_REASS_NEXT_IP4_FRAGMENT,
IP6_MAP_IP4_REASS_NEXT_DROP,
IP6_MAP_IP4_REASS_N_NEXT
} |
|
enum | ip6_icmp_relay_next_e { IP6_ICMP_RELAY_NEXT_IP4_LOOKUP,
IP6_ICMP_RELAY_NEXT_DROP,
IP6_ICMP_RELAY_N_NEXT
} |
|
|
u8 * | format_ip6_map_ip4_reass_trace (u8 *s, va_list *args) |
|
u8 * | format_ip6_map_ip6_reass_trace (u8 *s, va_list *args) |
|
static_always_inline bool | ip6_map_sec_check (map_domain_t *d, u16 port, ip4_header_t *ip4, ip6_header_t *ip6) |
|
static_always_inline void | ip6_map_security_check (map_domain_t *d, ip4_header_t *ip4, ip6_header_t *ip6, u32 *next, u8 *error) |
|
static uword | ip6_map (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static_always_inline void | ip6_map_ip6_reass_prepare (vlib_main_t *vm, vlib_node_runtime_t *node, map_ip6_reass_t *r, u32 **fragments_ready, u32 **fragments_to_drop) |
|
void | map_ip6_drop_pi (u32 pi) |
|
void | map_ip4_drop_pi (u32 pi) |
|
static uword | ip6_map_ip6_reass (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip6_map_ip4_reass (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip6_map_icmp_relay (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (ip6_map_feature, static) |
|
◆ ip6_icmp_relay_next_e
Enumerator |
---|
IP6_ICMP_RELAY_NEXT_IP4_LOOKUP | |
IP6_ICMP_RELAY_NEXT_DROP | |
IP6_ICMP_RELAY_N_NEXT | |
Definition at line 52 of file ip6_map.c.
◆ ip6_map_ip4_reass_next_e
Enumerator |
---|
IP6_MAP_IP4_REASS_NEXT_IP4_LOOKUP | |
IP6_MAP_IP4_REASS_NEXT_IP4_FRAGMENT | |
IP6_MAP_IP4_REASS_NEXT_DROP | |
IP6_MAP_IP4_REASS_N_NEXT | |
Definition at line 44 of file ip6_map.c.
◆ ip6_map_ip6_reass_next_e
Enumerator |
---|
IP6_MAP_IP6_REASS_NEXT_IP6_MAP | |
IP6_MAP_IP6_REASS_NEXT_DROP | |
IP6_MAP_IP6_REASS_N_NEXT | |
Definition at line 37 of file ip6_map.c.
◆ ip6_map_next_e
Enumerator |
---|
IP6_MAP_NEXT_IP4_LOOKUP | |
IP6_MAP_NEXT_IP4_REWRITE | |
IP6_MAP_NEXT_IP6_REASS | |
IP6_MAP_NEXT_IP4_REASS | |
IP6_MAP_NEXT_IP4_FRAGMENT | |
IP6_MAP_NEXT_IP6_ICMP_RELAY | |
IP6_MAP_NEXT_IP6_LOCAL | |
IP6_MAP_NEXT_DROP | |
IP6_MAP_NEXT_ICMP | |
IP6_MAP_N_NEXT | |
Definition at line 21 of file ip6_map.c.
◆ format_ip6_map_ip4_reass_trace()
u8* format_ip6_map_ip4_reass_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_ip6_map_ip6_reass_trace()
u8* format_ip6_map_ip6_reass_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ ip6_map()
◆ ip6_map_icmp_relay()
◆ ip6_map_ip4_reass()
◆ ip6_map_ip6_reass()
◆ ip6_map_ip6_reass_prepare()
◆ ip6_map_sec_check()
◆ ip6_map_security_check()
◆ map_ip4_drop_pi()
void map_ip4_drop_pi |
( |
u32 |
pi | ) |
|
◆ map_ip6_drop_pi()
void map_ip6_drop_pi |
( |
u32 |
pi | ) |
|
◆ VNET_FEATURE_INIT()
VNET_FEATURE_INIT |
( |
ip6_map_feature |
, |
|
|
static |
|
|
) |
| |
◆ ip6_map_icmp_relay_node
Initial value:= {
.name = "ip6-map-icmp-relay",
.vector_size =
sizeof(
u32),
.next_nodes = {
},
}
static char * map_error_strings[]
vl_api_fib_path_type_t type
static uword ip6_map_icmp_relay(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
u8 * format_map_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip6_map_icmp_relay_node)
Definition at line 61 of file ip6_map.c.
◆ ip6_map_ip4_reass_node
Initial value:= {
.name = "ip6-map-ip4-reass",
.vector_size =
sizeof(
u32),
.next_nodes = {
},
}
static char * map_error_strings[]
u8 * format_ip6_map_ip4_reass_trace(u8 *s, va_list *args)
vl_api_fib_path_type_t type
static uword ip6_map_ip4_reass(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (ip6_map_ip4_reass_node)
Definition at line 59 of file ip6_map.c.
◆ ip6_map_ip6_reass_node
Initial value:= {
.name = "ip6-map-ip6-reass",
.vector_size =
sizeof(
u32),
.next_nodes = {
},
}
static char * map_error_strings[]
vl_api_fib_path_type_t type
u8 * format_ip6_map_ip6_reass_trace(u8 *s, va_list *args)
static uword ip6_map_ip6_reass(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (ip6_map_ip6_reass_node)
Definition at line 60 of file ip6_map.c.
◆ ip6_map_node
Initial value:= {
.name = "ip6-map",
.vector_size =
sizeof(
u32),
.next_nodes = {
},
}
static char * map_error_strings[]
vl_api_fib_path_type_t type
static uword ip6_map(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
u8 * format_map_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip6_map_node)
Definition at line 1167 of file ip6_map.c.
◆ map_error_strings
char* map_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_map_error
Definition at line 1153 of file ip6_map.c.