20 #ifndef __CNAT_LOG_COMMON_H__ 21 #define __CNAT_LOG_COMMON_H__ 37 #if defined(TARGET_RODDICK) 38 #define CNAT_NFV9_SHIM_HDR_OFFSET 8 39 #define CNAT_NFV9_L2_ENCAPS_OFFSET 0 41 #define CNAT_NFV9_SHIM_HDR_OFFSET 0 42 #define CNAT_NFV9_L2_ENCAPS_OFFSET 16 46 #define CNAT_NFV9_IP_HDR_OFFSET 0 48 #define CNAT_NFV9_UDP_HDR_OFFSET \ 49 (CNAT_NFV9_IP_HDR_OFFSET + sizeof(ipv4_header)) 51 #define CNAT_NFV9_HDR_OFFSET \ 52 (CNAT_NFV9_UDP_HDR_OFFSET + sizeof(udp_hdr_type_t)) 62 #define MAX_TIME_CHANGE_LOGS (8)
u32 cnat_get_sys_up_time_in_ms(void)
void cnat_handle_sys_time_change(time_t current_unix_time)
u32 cnat_get_unix_time_in_seconds(void)
void cnat_dump_time_change_logs(void)