![]() |
FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
|
Include dependency graph for cnat_syslog.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | cnat_syslog_logging_info_t |
| struct | cnat_syslog_global_info_t |
| struct | cnat_syslog_global_counters_t |
Macros | |
| #define | SYSLOG_CONFIG_DEBUG_PRINTF(level, ...) if (config_debug_level > level) PLATFORM_DEBUG_PRINT(__VA_ARGS__); |
| #define | SYSLOG_TIMESTAMP_LENGTH 20 |
| #define | CNAT_SYSLOG_VERSION_NUMBER 1 |
| #define | CNAT_SYSLOG_PRIORITY 16*8+6 |
| #define | MAX_SYSLOG_HOSTNAME_LEN 32 |
| #define | MAX_SYSLOG_HEADER_LEN 75 |
| #define | MAX_SYSLOG_RECORD_LEN 145 |
| #define | SYSLOG_DEF_PATH_MTU 1500 |
Functions | |
| void | cnat_syslog_logging_init () |
| void | cnat_syslog_log_mapping_create (cnat_main_db_entry_t *db, cnat_vrfmap_t *vrfmap) |
| void | cnat_syslog_log_mapping_delete (cnat_main_db_entry_t *db, cnat_vrfmap_t *vrfmap) |
| 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) |
| void | cnat_syslog_ds_lite_port_limit_exceeded (dslite_key_t *key, dslite_table_entry_t *dslite_entry) |
Variables | |
| cnat_syslog_logging_info_t * | cnat_syslog_logging_info_pool |
| cnat_syslog_global_info_t | cnat_syslog_global_info |
| #define CNAT_SYSLOG_PRIORITY 16*8+6 |
Definition at line 68 of file cnat_syslog.h.
| #define CNAT_SYSLOG_VERSION_NUMBER 1 |
Definition at line 67 of file cnat_syslog.h.
| #define MAX_SYSLOG_HEADER_LEN 75 |
Definition at line 81 of file cnat_syslog.h.
| #define MAX_SYSLOG_HOSTNAME_LEN 32 |
Definition at line 71 of file cnat_syslog.h.
| #define MAX_SYSLOG_RECORD_LEN 145 |
Definition at line 94 of file cnat_syslog.h.
| #define SYSLOG_CONFIG_DEBUG_PRINTF | ( | level, | |
| ... | |||
| ) | if (config_debug_level > level) PLATFORM_DEBUG_PRINT(__VA_ARGS__); |
Definition at line 33 of file cnat_syslog.h.
| #define SYSLOG_DEF_PATH_MTU 1500 |
Definition at line 188 of file cnat_syslog.h.
| #define SYSLOG_TIMESTAMP_LENGTH 20 |
Definition at line 65 of file cnat_syslog.h.
| enum syslog_event_type_t |
| Enumerator | |
|---|---|
| userbased_assign | |
| userbased_withdraw | |
| sessionbased_assign | |
| sessionbased_withdraw | |
| sessionbased_assignD | |
| sessionbased_withdrawD | |
| port_block_runout | |
| tcp_seq_mismatch | |
| max_syslog_event_type | |
Definition at line 101 of file cnat_syslog.h.
| Enumerator | |
|---|---|
| NAT44 | |
| DSLite | |
Definition at line 96 of file cnat_syslog.h.
| 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 | ||
| ) |
Here is the caller graph for this function:| void cnat_syslog_ds_lite_port_limit_exceeded | ( | dslite_key_t * | key, |
| dslite_table_entry_t * | dslite_entry | ||
| ) |
| void cnat_syslog_log_mapping_create | ( | cnat_main_db_entry_t * | db, |
| cnat_vrfmap_t * | vrfmap | ||
| ) |
Definition at line 417 of file cnat_syslog.c.
| void cnat_syslog_log_mapping_delete | ( | cnat_main_db_entry_t * | db, |
| cnat_vrfmap_t * | vrfmap | ||
| ) |
Definition at line 423 of file cnat_syslog.c.
| void cnat_syslog_logging_init | ( | ) |
| cnat_syslog_global_info_t cnat_syslog_global_info |
Definition at line 37 of file cnat_syslog.c.
| cnat_syslog_logging_info_t* cnat_syslog_logging_info_pool |
Definition at line 38 of file cnat_syslog.c.