Wireshark
2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
epan
time_fmt.h
1
/* time_fmt.h
2
* Definitions for various time display formats.
3
*
4
* Wireshark - Network traffic analyzer
5
* By Gerald Combs <gerald@wireshark.org>
6
* Copyright 1998 Gerald Combs
7
*
8
* SPDX-License-Identifier: GPL-2.0-or-later
9
*/
10
11
#ifndef __TIME_FMT_H__
12
#define __TIME_FMT_H__
13
14
/*
15
* Resolution of a time stamp.
16
*/
17
typedef
enum
{
18
TO_STR_TIME_RES_T_SECS,
/* seconds */
19
TO_STR_TIME_RES_T_DSECS,
/* deciseconds */
20
TO_STR_TIME_RES_T_CSECS,
/* centiseconds */
21
TO_STR_TIME_RES_T_MSECS,
/* milliseconds */
22
TO_STR_TIME_RES_T_USECS,
/* microseconds */
23
TO_STR_TIME_RES_T_NSECS
/* nanoseconds */
24
} to_str_time_res_t;
25
26
/*
27
* Display format of an absolute-time time stamp.
28
*/
29
typedef
enum
{
30
/* Start at 1000 to avoid duplicating the values used in field_display_e */
31
ABSOLUTE_TIME_LOCAL = 1000,
/* local time in our time zone, with month and day */
32
ABSOLUTE_TIME_UTC,
/* UTC, with month and day */
33
ABSOLUTE_TIME_DOY_UTC
/* UTC, with 1-origin day-of-year */
34
} absolute_time_display_e;
35
36
#endif
/* __TIME_FMT_H__ */
Generated by
1.8.11