FD.io VPP
v20.09-64-g4f7b92f0a
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, clib_time_t *clib_time) |
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 185 of file time_range.c.
Definition at line 221 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, | ||
clib_time_t * | clib_time | ||
) |
Definition at line 19 of file time_range.c.
|
inlinestatic |
|
inlinestatic |
Definition at line 88 of file time_range.h.
f64 clib_timebase_summer_offset | ( | clib_timebase_t * | tb, |
f64 | now | ||
) |
Definition at line 391 of file time_range.c.
|
inlinestatic |
Definition at line 73 of file time_range.h.
void clib_timebase_time_to_components | ( | f64 | now, |
clib_timebase_component_t * | cp | ||
) |
Definition at line 104 of file time_range.c.
format_function_t format_clib_timebase_time |
Definition at line 70 of file time_range.h.
unformat_function_t unformat_clib_timebase_range_hms |
Definition at line 67 of file time_range.h.
unformat_function_t unformat_clib_timebase_range_vector |
Definition at line 68 of file time_range.h.