diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-11-01 03:38:10 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-11-01 03:38:10 +0000 |
commit | 1cfad682cb81b5e6385f6cbdbb3063213f2b4a1d (patch) | |
tree | 143b527a78b832341aab28d465a31d05c30f19ed /wiretap/network_instruments.h | |
parent | b70a7d7f1c224a6c4e36b91c9d4f060ba7d88954 (diff) |
The time in Observer files is in nanoseconds since midnight, January 1,
2000, 00:00:00 *local* time. The amount to add to that is just the UNIX
time stamp value for that point in time; get it with "mktime()".
svn path=/trunk/; revision=8854
Diffstat (limited to 'wiretap/network_instruments.h')
-rw-r--r-- | wiretap/network_instruments.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/wiretap/network_instruments.h b/wiretap/network_instruments.h index 3c3e7f731e..3432ea568d 100644 --- a/wiretap/network_instruments.h +++ b/wiretap/network_instruments.h @@ -1,5 +1,5 @@ /* - * $Id: network_instruments.h,v 1.2 2003/10/31 08:06:25 guy Exp $ + * $Id: network_instruments.h,v 1.3 2003/11/01 03:38:10 guy Exp $ */ /*************************************************************************** @@ -72,9 +72,6 @@ typedef struct tlv_user_commnent typedef struct observer_time { guint64 ns_since2000; /* given in packet_entry_header */ -#if 0 - struct tm time_stamp; -#endif guint64 us_since2000; /* Micro-Seconds since 1-1-2000 */ guint64 sec_since2000; /* Seconds since 1-1-2000 */ |