diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-06-01 17:23:38 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-06-01 17:23:38 +0000 |
commit | c9b492a422329474c2eceb9d1fa7180628b5bb90 (patch) | |
tree | 1bd18c5fd4e70b0d274022284c777c8f369e1955 /wiretap/wtap-int.h | |
parent | e1eff63e0285796967bd2f7dfe968e0d3d8c8899 (diff) |
From Ravi Kondamuru via bug 3457:
Add support to read citrix netscaler capture file format.
From me:
- Renamed packet-ns.c to packet-nstrace.c
- Rewrote to not use "goto" in netscaler.c
- Moved dissecting of coreid
svn path=/trunk/; revision=28564
Diffstat (limited to 'wiretap/wtap-int.h')
-rw-r--r-- | wiretap/wtap-int.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/wiretap/wtap-int.h b/wiretap/wtap-int.h index e65c7bae40..1081df2a8d 100644 --- a/wiretap/wtap-int.h +++ b/wiretap/wtap-int.h @@ -158,6 +158,19 @@ typedef struct { time_t t0; } mpeg_t; +typedef struct { + gchar *pnstrace_buf; + gint32 nstrace_buf_offset; + gint32 nstrace_buflen; + /* Performance Monitor Time variables */ + guint32 nspm_curtime; /* current time since 1970 */ + guint64 nspm_curtimemsec; /* current time in mili second */ + guint64 nspm_curtimelastmsec; /* nspm_curtime last update time in milisec */ + guint64 nsg_creltime; + guint64 file_size; +} nstrace_t; + + typedef gboolean (*subtype_read_func)(struct wtap*, int*, char**, gint64*); typedef gboolean (*subtype_seek_read_func)(struct wtap*, gint64, union wtap_pseudo_header*, guint8*, int, int *, char **); @@ -189,6 +202,7 @@ struct wtap { k12_t *k12; catapult_dct2000_t *catapult_dct2000; mpeg_t *mpeg; + nstrace_t *nstrace; void *generic; pcapng_t *pcapng; } capture; @@ -233,6 +247,12 @@ typedef struct { } netmon_dump_t; typedef struct { + guint16 page_offset; + guint16 page_len; + guint32 absrec_time; +} nstrace_dump_t; + +typedef struct { guint32 nframes; } _5views_dump_t; @@ -269,6 +289,7 @@ struct wtap_dumper { niobserver_dump_t *niobserver; k12_dump_t *k12; dct2000_dump_t *dct2000; + nstrace_dump_t *nstr; } dump; subtype_write_func subtype_write; |