20 #ifndef __CNAT_SYSLOG_H__ 21 #define __CNAT_SYSLOG_H__ 33 #define SYSLOG_CONFIG_DEBUG_PRINTF(level, ...) \ 34 if (config_debug_level > level) PLATFORM_DEBUG_PRINT(__VA_ARGS__); 56 #ifndef NO_BULK_LOGGING
65 #define SYSLOG_TIMESTAMP_LENGTH 20 67 #define CNAT_SYSLOG_VERSION_NUMBER 1 68 #define CNAT_SYSLOG_PRIORITY 16*8+6 71 #define MAX_SYSLOG_HOSTNAME_LEN 32 81 #define MAX_SYSLOG_HEADER_LEN 75 94 #define MAX_SYSLOG_RECORD_LEN 145 188 #define SYSLOG_DEF_PATH_MTU 1500
u16 cnat_syslog_disp_node_index
void cnat_syslog_ds_lite_mapping_create(cnat_main_db_entry_t *db, dslite_table_entry_t *dslite_entry, cnat_session_entry_t *sdb, int bulk_alloc)
spp_ctx_t * current_logging_context
void cnat_syslog_log_mapping_delete(cnat_main_db_entry_t *db, cnat_vrfmap_t *vrfmap)
cnat_syslog_global_info_t cnat_syslog_global_info
spp_ctx_t * queued_logging_context
u32 current_logging_context_timestamp
void cnat_syslog_logging_init()
#define VRF_NAME_LEN_STORED
void cnat_syslog_log_mapping_create(cnat_main_db_entry_t *db, cnat_vrfmap_t *vrfmap)
u64 logging_context_creation_fail_count
u16 max_length_minus_max_record_size
cnat_syslog_logging_info_t * cnat_syslog_logging_info_pool
void cnat_syslog_ds_lite_port_limit_exceeded(dslite_key_t *key, dslite_table_entry_t *dslite_entry)
struct _spp_ctx spp_ctx_t
#define MAX_SYSLOG_HOSTNAME_LEN
u64 logging_context_creation_deferred_count
u64 downstream_constipation_count