FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
ip_path_mtu_node.c File Reference
+ Include dependency graph for ip_path_mtu_node.c:

Go to the source code of this file.

Data Structures

struct  ip_pmtu_trace_t_
 

Typedefs

typedef struct ip_pmtu_trace_t_ ip_pmtu_trace_t
 

Enumerations

enum  ip_pmtu_next_t { IP_PMTU_DROP, IP_PMTU_N_NEXT }
 

Functions

static u8format_ip_pmtu_trace (u8 *s, va_list *args)
 
static uword ip_pmtu_dpo_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, ip_address_family_t af)
 
VLIB_NODE_FN() ip4_ip_pmtu_dpo_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 
VLIB_NODE_FN() ip6_ip_pmtu_dpo_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 

Variables

vlib_node_registration_t ip4_ip_pmtu_dpo_node
 (constructor) VLIB_REGISTER_NODE (ip4_ip_pmtu_dpo_node) More...
 
vlib_node_registration_t ip6_ip_pmtu_dpo_node
 (constructor) VLIB_REGISTER_NODE (ip6_ip_pmtu_dpo_node) More...
 

Typedef Documentation

◆ ip_pmtu_trace_t

Enumeration Type Documentation

◆ ip_pmtu_next_t

Enumerator
IP_PMTU_DROP 
IP_PMTU_N_NEXT 

Definition at line 23 of file ip_path_mtu_node.c.

Function Documentation

◆ format_ip_pmtu_trace()

static u8* format_ip_pmtu_trace ( u8 s,
va_list *  args 
)
static

Definition at line 36 of file ip_path_mtu_node.c.

◆ ip4_ip_pmtu_dpo_node()

VLIB_NODE_FN() ip4_ip_pmtu_dpo_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)

Definition at line 161 of file ip_path_mtu_node.c.

+ Here is the call graph for this function:

◆ ip6_ip_pmtu_dpo_node()

VLIB_NODE_FN() ip6_ip_pmtu_dpo_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)

Definition at line 168 of file ip_path_mtu_node.c.

+ Here is the call graph for this function:

◆ ip_pmtu_dpo_inline()

static uword ip_pmtu_dpo_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
ip_address_family_t  af 
)
inlinestatic

Definition at line 48 of file ip_path_mtu_node.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ ip4_ip_pmtu_dpo_node

vlib_node_registration_t ip4_ip_pmtu_dpo_node
Initial value:
= {
.name = "ip4-pmtu-dpo",
.vector_size = sizeof (u32),
.format_trace = format_ip_pmtu_trace,
.n_errors = 0,
.n_next_nodes = IP_PMTU_N_NEXT,
.next_nodes =
{
[IP_PMTU_DROP] = "ip4-drop",
}
}

(constructor) VLIB_REGISTER_NODE (ip4_ip_pmtu_dpo_node)

Definition at line 175 of file ip_path_mtu_node.c.

◆ ip6_ip_pmtu_dpo_node

vlib_node_registration_t ip6_ip_pmtu_dpo_node
Initial value:
= {
.name = "ip6-pmtu-dpo",
.vector_size = sizeof (u32),
.format_trace = format_ip_pmtu_trace,
.n_errors = 0,
.n_next_nodes = IP_PMTU_N_NEXT,
.next_nodes =
{
[IP_PMTU_DROP] = "ip6-drop",
}
}

(constructor) VLIB_REGISTER_NODE (ip6_ip_pmtu_dpo_node)

Definition at line 186 of file ip_path_mtu_node.c.

IP_PMTU_DROP
@ IP_PMTU_DROP
Definition: ip_path_mtu_node.c:25
u32
unsigned int u32
Definition: types.h:88
IP_PMTU_N_NEXT
@ IP_PMTU_N_NEXT
Definition: ip_path_mtu_node.c:26
format_ip_pmtu_trace
static u8 * format_ip_pmtu_trace(u8 *s, va_list *args)
Definition: ip_path_mtu_node.c:36