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

Go to the source code of this file.

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define foreach_vpe_api_msg
 
#define vl_msg_name_crc_list
 

Functions

static int syslog_severity_decode (vl_api_syslog_severity_t v, syslog_severity_t *s)
 
static int syslog_severity_encode (syslog_severity_t v, vl_api_syslog_severity_t *s)
 
static void vl_api_syslog_set_sender_t_handler (vl_api_syslog_set_sender_t *mp)
 
static void vl_api_syslog_get_sender_t_handler (vl_api_syslog_get_sender_t *mp)
 
static void vl_api_syslog_set_filter_t_handler (vl_api_syslog_set_filter_t *mp)
 
static void vl_api_syslog_get_filter_t_handler (vl_api_syslog_get_filter_t *mp)
 
static void setup_message_id_table (api_main_t *am)
 
static clib_error_tsyslog_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (syslog_api_hookup)
 

Macro Definition Documentation

◆ foreach_vpe_api_msg

#define foreach_vpe_api_msg
Value:
_(SYSLOG_SET_SENDER, syslog_set_sender) \
_(SYSLOG_GET_SENDER, syslog_get_sender) \
_(SYSLOG_SET_FILTER, syslog_set_filter) \
_(SYSLOG_GET_FILTER, syslog_get_filter)

Definition at line 43 of file syslog_api.c.

◆ vl_endianfun

#define vl_endianfun   /* define message structures */

Definition at line 31 of file syslog_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 200 of file syslog_api.c.

◆ vl_print

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 36 of file syslog_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 37 of file syslog_api.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 27 of file syslog_api.c.

Function Documentation

◆ setup_message_id_table()

static void setup_message_id_table ( api_main_t am)
static

Definition at line 205 of file syslog_api.c.

+ Here is the caller graph for this function:

◆ syslog_api_hookup()

static clib_error_t* syslog_api_hookup ( vlib_main_t vm)
static

Definition at line 213 of file syslog_api.c.

+ Here is the call graph for this function:

◆ syslog_severity_decode()

static int syslog_severity_decode ( vl_api_syslog_severity_t  v,
syslog_severity_t s 
)
static

Definition at line 50 of file syslog_api.c.

+ Here is the caller graph for this function:

◆ syslog_severity_encode()

static int syslog_severity_encode ( syslog_severity_t  v,
vl_api_syslog_severity_t *  s 
)
static

Definition at line 89 of file syslog_api.c.

+ Here is the caller graph for this function:

◆ vl_api_syslog_get_filter_t_handler()

static void vl_api_syslog_get_filter_t_handler ( vl_api_syslog_get_filter_t mp)
static

Definition at line 186 of file syslog_api.c.

+ Here is the call graph for this function:

◆ vl_api_syslog_get_sender_t_handler()

static void vl_api_syslog_get_sender_t_handler ( vl_api_syslog_get_sender_t mp)
static

Definition at line 142 of file syslog_api.c.

+ Here is the call graph for this function:

◆ vl_api_syslog_set_filter_t_handler()

static void vl_api_syslog_set_filter_t_handler ( vl_api_syslog_set_filter_t mp)
static

Definition at line 168 of file syslog_api.c.

+ Here is the call graph for this function:

◆ vl_api_syslog_set_sender_t_handler()

static void vl_api_syslog_set_sender_t_handler ( vl_api_syslog_set_sender_t mp)
static

Definition at line 127 of file syslog_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( syslog_api_hookup  )