FD.io VPP  v21.01.1
Vector Packet Processing
vl_msg_api_msg_config_t Struct Reference

Message configuration definition. More...

Data Fields

int id
 the message ID More...
 
char * name
 the message name More...
 
u32 crc
 message definition CRC More...
 
void * handler
 the message handler More...
 
void * cleanup
 non-default message cleanup handler More...
 
void * endian
 message endian function More...
 
void * print
 message print function More...
 
int size
 message size More...
 
int traced
 is this message to be traced? More...
 
int replay
 is this message to be replayed? More...
 
int message_bounce
 do not free message after processing More...
 
int is_mp_safe
 worker thread barrier required? More...
 
int is_autoendian
 endian conversion required? More...
 

Detailed Description

Message configuration definition.

Definition at line 121 of file api_common.h.

Field Documentation

◆ cleanup

void* vl_msg_api_msg_config_t::cleanup

non-default message cleanup handler

Definition at line 127 of file api_common.h.

◆ crc

u32 vl_msg_api_msg_config_t::crc

message definition CRC

Definition at line 125 of file api_common.h.

◆ endian

void* vl_msg_api_msg_config_t::endian

message endian function

Definition at line 128 of file api_common.h.

◆ handler

void* vl_msg_api_msg_config_t::handler

the message handler

Definition at line 126 of file api_common.h.

◆ id

int vl_msg_api_msg_config_t::id

the message ID

Definition at line 123 of file api_common.h.

◆ is_autoendian

int vl_msg_api_msg_config_t::is_autoendian

endian conversion required?

Definition at line 135 of file api_common.h.

◆ is_mp_safe

int vl_msg_api_msg_config_t::is_mp_safe

worker thread barrier required?

Definition at line 134 of file api_common.h.

◆ message_bounce

int vl_msg_api_msg_config_t::message_bounce

do not free message after processing

Definition at line 133 of file api_common.h.

◆ name

char* vl_msg_api_msg_config_t::name

the message name

Definition at line 124 of file api_common.h.

◆ print

void* vl_msg_api_msg_config_t::print

message print function

Definition at line 129 of file api_common.h.

◆ replay

int vl_msg_api_msg_config_t::replay

is this message to be replayed?

Definition at line 132 of file api_common.h.

◆ size

int vl_msg_api_msg_config_t::size

message size

Definition at line 130 of file api_common.h.

◆ traced

int vl_msg_api_msg_config_t::traced

is this message to be traced?

Definition at line 131 of file api_common.h.


The documentation for this struct was generated from the following file: