diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-08-25 21:29:54 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-08-25 21:29:54 +0000 |
commit | 723c80ea90a3c56c069a0a99e22edd43b00cf357 (patch) | |
tree | a0bd0c2272cf5b8f96e1364c0e2f7be960df4f69 /cfile.h | |
parent | bd42437262d885f24cbf0fc96e4b2235aac695a3 (diff) | |
download | wireshark-723c80ea90a3c56c069a0a99e22edd43b00cf357.tar.gz wireshark-723c80ea90a3c56c069a0a99e22edd43b00cf357.tar.bz2 wireshark-723c80ea90a3c56c069a0a99e22edd43b00cf357.zip |
timestamp display precision:
- automatic adjustment depending on file format
- manual adjustment through menu items
save the setting in the recent file
svn path=/trunk/; revision=15534
Diffstat (limited to 'cfile.h')
-rw-r--r-- | cfile.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -54,14 +54,15 @@ typedef struct _capture_file { int displayed_count; /* Number of displayed frames */ int marked_count; /* Number of marked frames */ gboolean drops_known; /* TRUE if we know how many packets were dropped */ - guint32 drops; /* Dropped packets */ - nstime_t elapsed_time;/* Elapsed time (see: tsaccur below!) */ + guint32 drops; /* Dropped packets */ + nstime_t elapsed_time;/* Elapsed time */ gboolean has_snap; /* TRUE if maximum capture packet length is known */ int snap; /* Maximum captured packet length */ wtap *wth; /* Wiretap session */ dfilter_t *rfcode; /* Compiled read (display) filter program */ gchar *dfilter; /* Display filter string */ dfilter_t *dfcode; /* Compiled display filter program */ + /* search */ gchar *sfilter; /* Search filter string */ gboolean sbackward; /* TRUE if search is backward, FALSE if forward */ gboolean hex; /* TRUE is raw data search is being performed */ @@ -70,6 +71,7 @@ typedef struct _capture_file { gboolean case_type; /* TRUE if case-insensitive text search */ gboolean decode_data; /* TRUE if searching protocol tree text */ gboolean summary_data; /* TRUE if searching Info column text */ + /* packet data */ union wtap_pseudo_header pseudo_header; /* Packet pseudo_header */ guint8 pd[WTAP_MAX_PACKET_SIZE]; /* Packet data */ GMemChunk *plist_chunk; /* Memory chunk for frame_data structures */ @@ -82,8 +84,6 @@ typedef struct _capture_file { epan_dissect_t *edt; /* Protocol dissection for currently selected packet */ field_info *finfo_selected; /* Field info for currently selected field */ struct ph_stats_s* pstats; /* accumulated stats (reset on redisplay in GUI)*/ - int tsprecision; /* timestamp precision - (WTAP_FILE_TSPREC_USEC or WTAP_FILE_TSPREC_NSEC) */ } capture_file; void init_cap_file(capture_file *); |