FD.io VPP  v16.09
Vector Packet Processing
cnat_log_common.h File Reference
+ Include dependency graph for cnat_log_common.h:
+ This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

#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.

Function Documentation

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.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 cnat_get_unix_time_in_seconds ( void  )

Definition at line 464 of file cnat_syslog.c.

+ Here is the call graph for this function:

void cnat_handle_sys_time_change ( time_t  current_unix_time)

+ Here is the caller graph for this function: