diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-05-24 17:04:44 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-05-25 00:05:07 +0000 |
commit | 318cf8a6782d8911c7c2891c395062f98eb0a316 (patch) | |
tree | c078f54d1ac8b39bb0b8bbe99226394bbcb98055 /epan/packet_info.h | |
parent | 6dffc3b7e364b7446c30db54d2193476a5f0fa93 (diff) |
Add support for dissecting non-packet records.
Add a dissector table indexed by the file type, and, for the
file-type-specific records, have the frame dissector skip the usual
pseudo-header processing, as the pseudo-header has a file-type-specific
record subtype in it, and call the dissector for that file type's
records.
Change-Id: Ibe97cf6340ffb0dabc08f355891bc346391b91f9
Reviewed-on: https://code.wireshark.org/review/1782
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/packet_info.h')
-rw-r--r-- | epan/packet_info.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/packet_info.h b/epan/packet_info.h index 2deb475980..8f58abe9e4 100644 --- a/epan/packet_info.h +++ b/epan/packet_info.h @@ -51,7 +51,8 @@ typedef struct _packet_info { struct epan_column_info *cinfo; /**< Column formatting information */ frame_data *fd; union wtap_pseudo_header *pseudo_header; - struct wtap_pkthdr *phdr; + int file_type_subtype; /**< Capture file type/subtype */ + struct wtap_pkthdr *phdr; /**< Record metadata */ GSList *data_src; /**< Frame data sources */ address dl_src; /**< link-layer source address */ address dl_dst; /**< link-layer destination address */ |