FD.io VPP  v16.09
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

void vl_msg_api_barrier_sync (void)
 
void vl_msg_api_barrier_release (void)
 
u8vlib_node_serialize (vlib_node_main_t *nm, u8 *vector, u32 max_threads, int include_nexts, int include_stats)
 
vlib_node_t *** vlib_node_unserialize (u8 *vector)
 
static clib_error_ttest_node_serialize_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static char * state_strings []
 
static vlib_cli_command_t test_node_serialize_node
 (constructor) VLIB_CLI_COMMAND (test_node_serialize_node) More...
 

Macro Definition Documentation

#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 24 of file node_serialize.c.

Enumeration Type Documentation

Enumerator
foreach_state_string_code 

Definition at line 34 of file node_serialize.c.

Function Documentation

static clib_error_t* test_node_serialize_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 292 of file node_serialize.c.

+ Here is the call graph for this function:

void vl_msg_api_barrier_release ( void  )

Definition at line 48 of file api_shared.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vl_msg_api_barrier_sync ( void  )

Definition at line 42 of file api_shared.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* vlib_node_serialize ( vlib_node_main_t nm,
u8 vector,
u32  max_threads,
int  include_nexts,
int  include_stats 
)

Definition at line 55 of file node_serialize.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

vlib_node_t*** vlib_node_unserialize ( u8 vector)

Definition at line 217 of file node_serialize.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

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

Definition at line 41 of file node_serialize.c.

vlib_cli_command_t test_node_serialize_node
static
Initial value:
= {
.path = "test node serialize",
.short_help = "test node serialize [max-threads NN] nexts stats",
}
static clib_error_t * test_node_serialize_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (test_node_serialize_node)

Definition at line 385 of file node_serialize.c.