FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
ip_init.c File Reference
+ Include dependency graph for ip_init.c:

Go to the source code of this file.

Macros

#define ip_protocol(n, s)
 
#define ip_port(s, n)   #s,
 
#define ip_port(s, n)   n,
 

Functions

clib_error_tip_main_init (vlib_main_t *vm)
 

Variables

ip_main_t ip_main
 

Macro Definition Documentation

◆ ip_port [1/2]

#define ip_port (   s,
 
)    #s,

◆ ip_port [2/2]

#define ip_port (   s,
 
)    n,

◆ ip_protocol

#define ip_protocol (   n,
 
)
Value:
do { \
vec_add2 (im->protocol_infos, pi, 1); \
pi->protocol = n; \
pi->name = (u8 *) #s; \
} while (0);

Function Documentation

◆ ip_main_init()

clib_error_t* ip_main_init ( vlib_main_t vm)

Definition at line 45 of file ip_init.c.

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

Variable Documentation

◆ ip_main

ip_main_t ip_main

Definition at line 42 of file ip_init.c.

im
vnet_interface_main_t * im
Definition: interface_output.c:395
u8
unsigned char u8
Definition: types.h:56