FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
ip4_options.c File Reference
+ Include dependency graph for ip4_options.c:

Go to the source code of this file.

Data Structures

struct  ip4_options_trace_t_
 

Typedefs

typedef enum ip4_options_next_t_ ip4_options_next_t
 Handle IPv4 header options in the data-path. More...
 
typedef struct ip4_options_trace_t_ ip4_options_trace_t
 

Enumerations

enum  ip4_options_next_t_ { IP4_OPTIONS_NEXT_PUNT, IP4_OPTIONS_NEXT_LOCAL, IP4_OPTIONS_N_NEXT }
 Handle IPv4 header options in the data-path. More...
 

Functions

VLIB_NODE_FN() ip4_options_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
u8format_ip4_options_trace (u8 *s, va_list *args)
 

Variables

vlib_node_registration_t ip4_options_node
 (constructor) VLIB_REGISTER_NODE (ip4_options_node) More...
 

Typedef Documentation

◆ ip4_options_next_t

Handle IPv4 header options in the data-path.

◆ ip4_options_trace_t

Enumeration Type Documentation

◆ ip4_options_next_t_

Handle IPv4 header options in the data-path.

Enumerator
IP4_OPTIONS_NEXT_PUNT 
IP4_OPTIONS_NEXT_LOCAL 
IP4_OPTIONS_N_NEXT 

Definition at line 22 of file ip4_options.c.

Function Documentation

◆ format_ip4_options_trace()

u8* format_ip4_options_trace ( u8 s,
va_list *  args 
)

Definition at line 110 of file ip4_options.c.

+ Here is the call graph for this function:

◆ ip4_options_node()

VLIB_NODE_FN() ip4_options_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 34 of file ip4_options.c.

+ Here is the call graph for this function:

Variable Documentation

◆ ip4_options_node

vlib_node_registration_t ip4_options_node
Initial value:
= {
.name = "ip4-options",
.vector_size = sizeof (u32),
.n_next_nodes = IP4_OPTIONS_N_NEXT,
.next_nodes = {
[IP4_OPTIONS_NEXT_PUNT] = "ip4-punt",
[IP4_OPTIONS_NEXT_LOCAL] = "ip4-local",
},
.format_buffer = format_ip4_header,
.format_trace = format_ip4_options_trace,
}
format_function_t format_ip4_header
Definition: format.h:81
unsigned int u32
Definition: types.h:88
u8 * format_ip4_options_trace(u8 *s, va_list *args)
Definition: ip4_options.c:110

(constructor) VLIB_REGISTER_NODE (ip4_options_node)

Definition at line 124 of file ip4_options.c.