diff options
author | Anders Broman <anders.broman@ericsson.com> | 2009-04-04 11:48:19 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2009-04-04 11:48:19 +0000 |
commit | e0cf1679e3e1f469de2f727e3628b4f40f4e4b5c (patch) | |
tree | d7875a22f53e952fd0d0771632ce56b0549e4356 /epan/packet_info.h | |
parent | 978f771a8d7c73d44585ae64a46874f643467edf (diff) |
From Francesco Fondelli:
New ATM PW (with/without CW) dissector, RFC 4717
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3375
svn path=/trunk/; revision=27955
Diffstat (limited to 'epan/packet_info.h')
-rw-r--r-- | epan/packet_info.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/epan/packet_info.h b/epan/packet_info.h index c865783b71..b32b26c9c9 100644 --- a/epan/packet_info.h +++ b/epan/packet_info.h @@ -182,6 +182,28 @@ typedef struct _packet_info { struct _sccp_msg_info_t* sccp_info; guint16 clnp_srcref; /* clnp/cotp source reference (can't use srcport, this would confuse tpkt) */ guint16 clnp_dstref; /* clnp/cotp destination reference (can't use dstport, this would confuse tpkt) */ + guint8 pw_atm_encap_type; /* FF: RFC 4717 is devilish, it describes many + * different types of ATM->PW encapsulation. + * None of which can correctly be interpreted by + * the packet-atm.c dissector. Thus I have to + * pass some info from packet-pw-atm.c to packet- + * -atm.c, and augment/change packet-atm.c + * dissector. + * + * 0: RFC4717::Sec. 9, ATM One-to-One Cell Mode + * 1: RFC4717::Sec. 8, ATM N-to-One Cell Mode + * 2: RFC4717::Sec. 10, ATM AAL5 CPCS-SDU Mode + * 3: RFC4717::Sec. 11, ATM AAL5 PDU Frame Mode + */ + guint16 pw_atm_flags; /* FF: all flags defined in RFC4717 compacted in a + * single guint16. + * + * T, E, C, U, M, V, PTI, C flag name + * 9 8 7 6 5 4 321 0 position + */ + guint16 pw_atm_ncells; /* FF: number of cells fitted in a single + * PW frame. + */ } packet_info; #endif /* __PACKET_INFO_H__ */ |