FD.io VPP  v18.01.2-1-g9b554f3
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

#define ip_port (   s,
 
)    #s,
#define ip_port (   s,
 
)    n,
#define ip_protocol (   n,
 
)
Value:
do { \
vec_add2 (im->protocol_infos, pi, 1); \
pi->protocol = n; \
pi->name = (u8 *) #s; \
} while (0);
#define vec_add2(V, P, N)
Add N elements to end of vector V, return pointer to new elements in P.
Definition: vec.h:557
unsigned char u8
Definition: types.h:56

Function Documentation

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_t ip_main

Definition at line 42 of file ip_init.c.