aboutsummaryrefslogtreecommitdiffstats
path: root/packet-wcp.c
AgeCommit message (Collapse)AuthorFilesLines
2001-09-03Instead of having a single datum attached to a conversation, have a listGuy Harris1-10/+14
of protocol-id-plus-datum pairs, so that multiple protocols can attach information to the same conversation. Dissectors that attach information to a conversation should not assume that if they find a conversation it has one of its data attached to it; the conversation might've been created by another dissector. svn path=/trunk/; revision=3901
2001-06-18From Joerg Mayer: explicitly fill in all members of aGuy Harris1-26/+26
"header_field_info" structure, including the ones that are later set by the routines to register fields. svn path=/trunk/; revision=3561
2001-04-10If the tvbuff pointer is null in "alloc_field_info()", get the dataGuy Harris1-1/+14
source name from "pi.compat_top_tvb", which should always be set to the tvbuff that refers to the data that old-style dissectors are currently working on. Arrange that it be so set in those dissectors that create alternate data sources and call other dissectors, and also arrange that "pi.len" and "pi.captured_len" be set appropriately as well. svn path=/trunk/; revision=3286
2001-03-30NLPID's of 0x08 and 0x09 should be labeled as Q.933 and LMI,Guy Harris1-37/+6
respectively, not Q.931 and Q.2931, in Frame Relay. When dissecting Q.933-style multiprotocol encapsulated Frame Relay frames, use the "osinl" dissector table to check for OSI network layer protocols, include the NLPID in the tvbuff you hand to "dissector_try_port()" with that dissector table, and put the NLPID into the protocol tree as an invisible item - the NLPID is considered part of the PDU for those protocols, so you have to include it in the tvbuff, and the dissector will put it into the protocol tree. Also, make sure the top-level entry for the Frame Relay protocol includes all the bytes preceding the payload, and none of the payload bytes. Export a routine to do Q.933-style dissection, and have the WCP dissector call it, rather than duplicating that code in the WCP dissector. Don't register OSI network layer protocols with the "fr.ietf" dissector table; it's now sufficient to register them with the "osinl" dissector table, as the Frame Relay dissector now checks that. Get rid of unnecessary checks for protocols being enabled (if the dissector is always called through handles or dissector tables, the common code for handles and dissector tables will do the checks for you). Get rid of some unnecessary #includes. svn path=/trunk/; revision=3211
2001-03-29Add WCP to the list of Ethernet types in "etype_vals[]", and addGuy Harris1-3/+2
"compressed" to the list of NLPIDs in "nlpid_vals[]". Use "nlpid_vals" for the Frame Relay NLPID field. svn path=/trunk/; revision=3206
2001-03-29An NLPID of 0xb0 is defined by ISO/IEC TR 9577 to be "Data compressionGuy Harris1-2/+2
protocol"; give it a more generic name than NLPID_WCP. svn path=/trunk/; revision=3204
2001-03-26Added the created tvbuff into the original tvbuff chain so clean-up is ↵Jeff Foster1-1/+4
performed. svn path=/trunk/; revision=3192
2001-03-23Add "volatile" qualifiers so that variables survive a setjmp/longjmpGuy Harris1-3/+3
operation. svn path=/trunk/; revision=3175
2001-03-23Pull the NLPID for Wellfleet compression into "nlpid.h".Guy Harris1-2/+1
svn path=/trunk/; revision=3173
2001-03-23Fixed problem in wcp_uncompress. If the proto_tree was null the programJeff Foster1-10/+16
would segfault when creating the sub-tree. svn path=/trunk/; revision=3170
2001-03-23Updated the frame relay dissector - dissect-fr.cJeff Foster1-0/+756
Added the LMI dissector for frame relay - dissect-lmi.c Added Wellfleet compression dissector - dissect-wcp.c svn path=/trunk/; revision=3168