aboutsummaryrefslogtreecommitdiffstats
path: root/packet-osi-options.c
AgeCommit message (Collapse)AuthorFilesLines
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-40/+40
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer1-21/+17
equivalents for the toplevel directory. The removal of winsock2.h will hopefully not cause any problems under MSVC++, as those files using struct timeval still include wtap.h, which still includes winsock2.h. svn path=/trunk/; revision=5932
2002-04-30From Joerg Mayer: get rid of unused PDU type argument toGuy Harris1-3/+2
"dissect_osi_options()". svn path=/trunk/; revision=5318
2002-04-14From Joerg Mayer:Guy Harris1-4/+4
Declares some variables static. Creates a new include file packet-rsvp.h, and make use of it (change some extern decls to #inlcude). Move the file packet-pgm.h into packet-pgm.c as it is not used by anything outside packet-pgm.c. svn path=/trunk/; revision=5162
2002-04-07Get rid of the unused "pinfo" argument to "dissect_osi_options()".Guy Harris1-6/+3
svn path=/trunk/; revision=5110
2002-01-21Include files from the "epan" directory and subdirectories thereof withGuy Harris1-4/+3
"epan/..." pathnames, so as to avoid collisions with header files in any of the directories in which we look (e.g., "proto.h", as some other package has its own "proto.h" file which it installs in the top-level include directory). Don't add "-I" flags to search "epan", as that's no longer necessary (and we want includes of "epan" headers to fail if the "epan/" is left out, so that we don't re-introduce includes lacking "epan/"). svn path=/trunk/; revision=4586
2001-08-13Change all occurrencess of routeing to routing, even in comments. I respectedRichard Sharpe1-14/+14
capitalization, however. svn path=/trunk/; revision=3844
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