|
static u8 * | format_syslog_timestamp (u8 *s, va_list *args) |
|
static u8 * | format_syslog_header (u8 *s, va_list *args) |
|
static u8 * | format_syslog_structured_data (u8 *s, va_list *args) |
|
static u8 * | format_syslog_msg (u8 *s, va_list *args) |
|
void | syslog_msg_sd_init (syslog_msg_t *syslog_msg, char *sd_id) |
| Initialize structured data element. More...
|
|
void | syslog_msg_add_sd_param (syslog_msg_t *syslog_msg, char *name, char *fmt,...) |
| Add structured data elemnt parameter name-value pair RFC5424 6.3.3. More...
|
|
void | syslog_msg_add_msg (syslog_msg_t *syslog_msg, char *fmt,...) |
| Add free-form message RFC5424 6.4. More...
|
|
void | syslog_msg_init (syslog_msg_t *syslog_msg, syslog_facility_t facility, syslog_severity_t severity, char *app_name, char *msgid) |
| Initialize syslog message header. More...
|
|
int | syslog_msg_send (syslog_msg_t *syslog_msg) |
| Send syslog message. More...
|
|
static uword | unformat_syslog_facility (unformat_input_t *input, va_list *args) |
|
static uword | unformat_syslog_severity (unformat_input_t *input, va_list *args) |
|
static u8 * | format_syslog_severity (u8 *s, va_list *args) |
|
vnet_api_error_t | set_syslog_sender (ip4_address_t *collector, u16 collector_port, ip4_address_t *src, u32 vrf_id, u32 max_msg_size) |
| Set syslog sender configuration. More...
|
|
static clib_error_t * | set_syslog_sender_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_syslog_sender_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | test_syslog_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | set_syslog_filter_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_syslog_filter_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | syslog_init (vlib_main_t *vm) |
|
RFC5424 syslog protocol implementation.
Definition in file syslog.c.