aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-10-17 14:13:49 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-10-17 14:13:49 +0000
commitf956bad366832b0c977a4fc4b1dd79f9e1b45cdd (patch)
tree2d5e52f95c4c8f343f11acfbb90f014a96204ac5
parent638f9eced7e40ef23857b96322fd2024ab46f95f (diff)
we need a new pinfo member field so that we can pass data from the core usb dissector to future class dissectors
svn path=/trunk/; revision=19576
-rw-r--r--epan/packet.c1
-rw-r--r--epan/packet_info.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/epan/packet.c b/epan/packet.c
index 8fd1f0bfcd..a68f05e04c 100644
--- a/epan/packet.c
+++ b/epan/packet.c
@@ -316,6 +316,7 @@ dissect_packet(epan_dissect_t *edt, union wtap_pseudo_header *pseudo_header,
edt->pi.link_number = 0;
edt->pi.annex_a_used = MTP2_ANNEX_A_USED_UNKNOWN;
edt->pi.profinet_type = 0;
+ edt->pi.usb_conv_info = NULL;
TRY {
edt->tvb = tvb_new_real_data(pd, fd->cap_len, fd->pkt_len);
diff --git a/epan/packet_info.h b/epan/packet_info.h
index 21b35306a9..53707077e0 100644
--- a/epan/packet_info.h
+++ b/epan/packet_info.h
@@ -174,6 +174,7 @@ typedef struct _packet_info {
guint16 link_number;
gchar annex_a_used;
guint16 profinet_type; /* the type of PROFINET packet (0: not a PROFINET packet) */
+ void *usb_conv_info;
} packet_info;
#endif /* __PACKET_INFO_H__ */