aboutsummaryrefslogtreecommitdiffstats
path: root/packet-llc.h
AgeCommit message (Collapse)AuthorFilesLines
2003-09-03Fix up the API for adding support for new OUI's to the LLC dissector.Guy Harris1-3/+3
Use that API to create the table for the Cisco OUI 00:00:0C. svn path=/trunk/; revision=8351
2003-08-28Add an API to let a dissector register a dissector table and field for aGuy Harris1-1/+6
given OUI; the field is used when the PID for that OUI is put into the protocol tree, and the dissector table is used to find a dissector for that PID. Not yet used, thus not yet tested; API is subject to change. (Eventually, several of the cases in the big switch statement in "dissect_llc()" should be handled by registering information for those OUIs.) svn path=/trunk/; revision=8291
2002-11-05Show the SAP values in RPL packets symbolically if possible.Guy Harris1-1/+3
svn path=/trunk/; revision=6564
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-4/+4
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-2/+2
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
2001-11-20Make the capture routines take an additional argument giving the amountGuy Harris1-4/+3
of packet data captured. Make the "BYTES_ARE_IN_FRAME()" macro take a "captured length of the packet" argument. Add some length checks to capture routines. svn path=/trunk/; revision=4235
2001-01-10Make the stuff to handle SNAP frames (OUI, PID, payload) a routine ofGuy Harris1-1/+4
its own; it's used not only by LLC, but by Frame Relay with RFC 2427 and ATM with RFC 2684. Support for RFC 2427-encapsulation Frame Relay packets, from Paul Ionescu. Get rid of the CISCO_IP PPP protocol type - Cisco HDLC uses, in most cases, Ethernet packet types, so use ETHERTYPE_IP instead (they're both 0x0800). svn path=/trunk/; revision=2854
2001-01-03Have the TR MAC and LLC dissectors register themselves, make themGuy Harris1-2/+1
static, and have other dissectors call them through handles. svn path=/trunk/; revision=2816
2000-08-11Miscellaneous code cleaningLaurent Deniel1-1/+6
- add <stdarg.h> or <varargs.h> in snprintf.h and remove those inclusions in the other #ifdef NEED_SNPRINTF_H codes - remove the check of multiple inclusions in source (.c) code (there is a bit loss of _cpp_ performance, but I prefer the gain of code reading and maintenance; and nowadays, disk caches and VM are correctly optimized ;-). - protect all (well almost) header files against multiple inclusions - add header (i.e. GPL license) in some include files - reorganize a bit the way header files are included: First: #include <system_include_files> #include <external_package_include_files (e.g. gtk, glib etc.)> Then #include "ethereal_include_files" with the correct HAVE_XXX or NEED_XXX protections. - add some HAVE_XXX checks before including some system header files - add the same HAVE_XXX in wiretap as in ethereal Please forgive me, if I break something (I've only compiled and regression tested on Linux). svn path=/trunk/; revision=2254
2000-05-11Convert LLC dissector to use tvbuffs.Gilbert Ramirez1-2/+2
Non-tvbuff dissectors create a tvbuff when calling dissect_llc() Changed name of current_proto to match string in COL_PROTO ("FDDI" instead of "fddi") Changed short text to be: [Short Frame: %s] where %s is current_proto. svn path=/trunk/; revision=1943
2000-02-15Create a header file for every packet-*.c file. Prune the packet.h file.Gilbert Ramirez1-0/+26
This change allows you to add a new packet-*.c file and not cause a recompilation of everything that #include's packet.h Add the plugin_api.[ch] files ot the plugins/Makefile.am packaging list. Add #define YY_NO_UNPUT 1 to the lex source so that the yyunput symbol is not defined, squelching a compiler complaint when compiling the generated C file. svn path=/trunk/; revision=1637