aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap-int.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-02-24 08:39:19 +0000
committerGuy Harris <guy@alum.mit.edu>2010-02-24 08:39:19 +0000
commit756bf6002032e9433e74206654c942561f71e1a5 (patch)
treed2496a52090fd76cdb31bbcda1e6ffad0663322b /wiretap/wtap-int.h
parent7ca35912aa6a82e100c8154ca4d32c2372854012 (diff)
Move the definition of the private data structure from wtap-int.h to the
iSeries capture processor. Parse the start date into year/month/day at the time we see it, rather than for every packet; that means we don't need to allocate a buffer to hold the date as a string (a buffer which we weren't ever freeing). svn path=/trunk/; revision=31981
Diffstat (limited to 'wiretap/wtap-int.h')
-rw-r--r--wiretap/wtap-int.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/wiretap/wtap-int.h b/wiretap/wtap-int.h
index 27acf0edb8..317fec49e0 100644
--- a/wiretap/wtap-int.h
+++ b/wiretap/wtap-int.h
@@ -45,12 +45,6 @@
#include "wtap.h"
typedef struct {
- char *sdate; /* Packet start date */
- gboolean tcp_formatted; /* TCP/IP data formated Y/N */
- int format; /* Trace format type */
-} iseries_t;
-
-typedef struct {
gboolean byte_swapped;
} i4btrace_t;
@@ -143,7 +137,6 @@ struct wtap {
gint64 data_offset;
union {
- iseries_t *iseries;
i4btrace_t *i4btrace;
nettl_t *nettl;
netmon_t *netmon;