FD.io VPP  v21.01
Vector Packet Processing
node_serialize.c File Reference
+ Include dependency graph for node_serialize.c:

Go to the source code of this file.

Macros

#define foreach_state_string_code
 

Enumerations

enum  state_string_enum_t { foreach_state_string_code }
 

Functions

u8vlib_node_serialize (vlib_main_t *vm, vlib_node_t ***node_dups, u8 *vector, int include_nexts, int include_stats)
 
vlib_node_t *** vlib_node_unserialize (u8 *vector)
 

Variables

static char * state_strings []
 

Macro Definition Documentation

◆ foreach_state_string_code

#define foreach_state_string_code
Value:
_(STATE_DONE, "done") \
_(STATE_DISABLED, "disabled") \
_(STATE_TIME_WAIT, "time wait") \
_(STATE_EVENT_WAIT, "event wait") \
_(STATE_ANY_WAIT, "any wait") \
_(STATE_POLLING, "polling") \
_(STATE_INTERRUPT_WAIT, "interrupt wait") \
_(STATE_INTERNAL, "internal")

Definition at line 21 of file node_serialize.c.

Enumeration Type Documentation

◆ state_string_enum_t

Enumerator
foreach_state_string_code 

Definition at line 31 of file node_serialize.c.

Function Documentation

◆ vlib_node_serialize()

u8* vlib_node_serialize ( vlib_main_t vm,
vlib_node_t ***  node_dups,
u8 vector,
int  include_nexts,
int  include_stats 
)

Definition at line 51 of file node_serialize.c.

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

◆ vlib_node_unserialize()

vlib_node_t*** vlib_node_unserialize ( u8 vector)

Definition at line 161 of file node_serialize.c.

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

Variable Documentation

◆ state_strings

char* state_strings[]
static
Initial value:
= {
#define _(a,b)
}
#define foreach_state_string_code

Definition at line 38 of file node_serialize.c.