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
This commit is contained in:
Ronnie Sahlberg 2006-10-17 14:13:49 +00:00
parent 638f9eced7
commit f956bad366
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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__ */