aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet_info.h
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2005-05-02 14:07:33 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2005-05-02 14:07:33 +0000
commit23d022349ddb36bed7a04aa6fc70188a2b39d055 (patch)
tree2a687d23dd6499bedbc1849f839374382901ccf5 /epan/packet_info.h
parent5e89412e0c0b3584ecc2214c1c19addd6547ab41 (diff)
- Add support for libpcap files for MTP2 with a per packet header
indicating the direction, narrowband/broadband, and interface number. - Add support to display the direction and interface number. - Add support to packet-mtp2.c to use the broadband/narrowband indication. svn path=/trunk/; revision=14265
Diffstat (limited to 'epan/packet_info.h')
-rw-r--r--epan/packet_info.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/packet_info.h b/epan/packet_info.h
index f71cf15082..da5d17ac2e 100644
--- a/epan/packet_info.h
+++ b/epan/packet_info.h
@@ -33,6 +33,10 @@
#define P2P_DIR_SENT 0
#define P2P_DIR_RECV 1
+#define MTP2_ANNEX_A_USED_UNKNOWN -1
+#define MTP2_ANNEX_A_NOT_USED 0
+#define MTP2_ANNEX_A_USED 1
+
#define PINFO_SOF_FIRST_FRAME 0x1
#define PINFO_SOF_SOFF 0x2
#define PINFO_EOF_LAST_FRAME 0x80
@@ -154,6 +158,8 @@ typedef struct _packet_info {
*/
void *private_data; /* pointer to data passed from one dissector to another */
GString *layer_names; /* layers of each protocol */
+ guint16 link_number;
+ gchar annex_a_used;
} packet_info;
#endif /* __PACKET_INFO_H__ */