aboutsummaryrefslogtreecommitdiffstats
path: root/packet-osi-options.c
AgeCommit message (Collapse)AuthorFilesLines
2001-04-23Get rid of NullTVB references.Guy Harris1-14/+8
Don't check in the dissector for OSI options whether we've run past the end of the captured data in the frame - the dissector is tvbuffified, so the checks are done by the tvbuff accessors. svn path=/trunk/; revision=3363
2001-03-09Fixes to Lemon to get it to compile on platforms (such as some versionsGuy Harris1-7/+7
of Tru64 UNIX) that define TRUE and FALSE. Fixes to some Tru64 compiler warnings. svn path=/trunk/; revision=3120
2001-02-05Fix up some MSVC complaints about (narrowing) type conversions byGuy Harris1-2/+2
widening formal arguments or narrowing variables passed as actual arguments. svn path=/trunk/; revision=2993
2000-11-19Register the OSI transport dissector by name, and make it static.Guy Harris1-2/+1
"packet-clnp.h" no longer exports anything, so remove it. Have the X.25 dissector call subdissectors through dissector handles (now that all the dissectors it uses are registered by name). svn path=/trunk/; revision=2668
2000-11-18Tvbuffify the IP, ICMP, TCP, UDP, OSI CLNP, OSI COTP, OSI CLTP, and OSIGuy Harris1-52/+62
ESIS dissectors. Register the IP dissector and have dissectors that call it directly (rather than through a port table) call it through a handle. Add a routine "tvb_set_reported_length()" which a dissector can use if it was handed a tvbuff that contains more data than is actually in its part of the packet - for example, handing a padded Ethernet frame to IP; the routine sets the reported length of the tvbuff (and also adjusts the actual length, as appropriate). Then use it in IP. Given that, "ethertype()" can determine how much of the Ethernet frame was actually part of an IP datagram (and can do the same for other protocols under Ethernet that use "tvb_set_reported_length()"; have it return the actual length, and have "dissect_eth()" and "dissect_vlan()" use that to mark trailer data in Ethernet II frames as well as in 802.3 frames. svn path=/trunk/; revision=2658
2000-05-11Add tvbuff class.Gilbert Ramirez1-28/+28
Add exceptions routines. Convert proto_tree_add_*() routines to require tvbuff_t* argument. Convert all dissectors to pass NULL argument ("NullTVB" macro == NULL) as the tvbuff_t* argument to proto_tree_add_*() routines. dissect_packet() creates a tvbuff_t, wraps the next dissect call in a TRY block, will print "Short Frame" on the proto_tree if a BoundsError exception is caught. The FDDI dissector is converted to use tvbuff's. svn path=/trunk/; revision=1939
2000-04-15Ralf Schneider's changes to enhance to OSI CLNP, CLTP, and ISIS supportGuy Harris1-0/+466
and to add OSI ESIS support. svn path=/trunk/; revision=1865