FD.io VPP
v18.11-rc0-18-g2a3fb1a
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | clib_timebase_t |
struct | clib_timebase_component_t |
struct | clib_timebase_range_t |
Enumerations | |
enum | clib_timebase_daylight_time_t { CLIB_TIMEBASE_DAYLIGHT_NONE = 0, CLIB_TIMEBASE_DAYLIGHT_USA } |
Functions | |
void | clib_timebase_init (clib_timebase_t *tb, i32 timezone_offset_in_hours, clib_timebase_daylight_time_t daylight_type) |
void | clib_timebase_time_to_components (f64 now, clib_timebase_component_t *cp) |
f64 | clib_timebase_components_to_time (clib_timebase_component_t *cp) |
f64 | clib_timebase_find_sunday_midnight (f64 start_time) |
f64 | clib_timebase_offset_from_sunday (u8 *day) |
f64 | clib_timebase_summer_offset (clib_timebase_t *tb, f64 now) |
static f64 | clib_timebase_summer_offset_fastpath (clib_timebase_t *tb, f64 now) |
static f64 | clib_timebase_now (clib_timebase_t *tb) |
static int | clib_timebase_is_leap_year (u32 year) |
Variables | |
unformat_function_t | unformat_clib_timebase_range_hms |
unformat_function_t | unformat_clib_timebase_range_vector |
format_function_t | format_clib_timebase_time |
Enumerator | |
---|---|
CLIB_TIMEBASE_DAYLIGHT_NONE | |
CLIB_TIMEBASE_DAYLIGHT_USA |
Definition at line 22 of file time_range.h.
f64 clib_timebase_components_to_time | ( | clib_timebase_component_t * | cp | ) |
Definition at line 177 of file time_range.c.
Definition at line 213 of file time_range.c.
void clib_timebase_init | ( | clib_timebase_t * | tb, |
i32 | timezone_offset_in_hours, | ||
clib_timebase_daylight_time_t | daylight_type | ||
) |
Definition at line 19 of file time_range.c.
|
inlinestatic |
|
inlinestatic |
Definition at line 92 of file time_range.h.
f64 clib_timebase_summer_offset | ( | clib_timebase_t * | tb, |
f64 | now | ||
) |
Definition at line 383 of file time_range.c.
|
inlinestatic |
Definition at line 77 of file time_range.h.
void clib_timebase_time_to_components | ( | f64 | now, |
clib_timebase_component_t * | cp | ||
) |
Definition at line 96 of file time_range.c.
format_function_t format_clib_timebase_time |
Definition at line 74 of file time_range.h.
unformat_function_t unformat_clib_timebase_range_hms |
Definition at line 71 of file time_range.h.
unformat_function_t unformat_clib_timebase_range_vector |
Definition at line 72 of file time_range.h.