FD.io VPP
v16.09
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | cnat_log_global_info_t |
Macros | |
#define | CNAT_NFV9_IP_HDR_OFFSET 0 |
#define | CNAT_NFV9_UDP_HDR_OFFSET (CNAT_NFV9_IP_HDR_OFFSET + sizeof(ipv4_header)) |
#define | CNAT_NFV9_HDR_OFFSET (CNAT_NFV9_UDP_HDR_OFFSET + sizeof(udp_hdr_type_t)) |
#define | MAX_TIME_CHANGE_LOGS (8) |
Functions | |
u32 | cnat_get_sys_up_time_in_ms (void) |
u32 | cnat_get_unix_time_in_seconds (void) |
void | cnat_dump_time_change_logs (void) |
void | cnat_handle_sys_time_change (time_t current_unix_time) |
#define CNAT_NFV9_HDR_OFFSET (CNAT_NFV9_UDP_HDR_OFFSET + sizeof(udp_hdr_type_t)) |
Definition at line 51 of file cnat_log_common.h.
#define CNAT_NFV9_IP_HDR_OFFSET 0 |
Definition at line 46 of file cnat_log_common.h.
#define CNAT_NFV9_UDP_HDR_OFFSET (CNAT_NFV9_IP_HDR_OFFSET + sizeof(ipv4_header)) |
Definition at line 48 of file cnat_log_common.h.
#define MAX_TIME_CHANGE_LOGS (8) |
Definition at line 62 of file cnat_log_common.h.
void cnat_dump_time_change_logs | ( | void | ) |
Definition at line 110 of file cnat_logging.c.
u32 cnat_get_sys_up_time_in_ms | ( | void | ) |
Definition at line 100 of file cnat_logging.c.
u32 cnat_get_unix_time_in_seconds | ( | void | ) |
void cnat_handle_sys_time_change | ( | time_t | current_unix_time | ) |