aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/docsis
AgeCommit message (Collapse)AuthorFilesLines
2005-03-07Call the "new-style init" routine for plugins a "register" routine, asGuy Harris1-33/+33
it serves the same purpose as the register routine in a built-in dissector, and don't require all dissectors to have one, as they might just be taps. Get rid of the stats tree's init routine, as it's just a tap, and as it doesn't do anything. Update the idl2eth Python script to generate plugins with register routines. svn path=/trunk/; revision=13644
2005-03-05Preparations for dropping the old plugin api.Lars Roland27-71/+4
Introduce a new init routine for plugins, which does not take the plugin api table as an argument and allows etheral to distinguish between plugins using the old and the new api. Update README.plugins accordingly Change all g_warnings() in epan/plugins.c to report_failue(). On windows we do not have a log console open while loading the plugins, because a log console cannot be opened before the prefs have been read. Thus g_warnings() does not work for reporting problems with plugins. svn path=/trunk/; revision=13596
2005-02-14Make the "maintainer-clean" rules get rid of some additional generatedGuy Harris1-0/+2
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and GENERATED_FILES macros in Makefile.common files, along the lines of what wiretap/Makefile.common has. Clean up "*~" files with "make clean" rather than only "make distclean" in some additional places. Add "maintainer-clean" rules to the Makefile.nmake files, paralelling the ones in the automake-generated Makefile.in files, using the GENERATED_FILES macros from Makefile.common files. In some cases, move the cleanup of files from "make distclean" to "make maintainer-clean", and in other cases, put in a comment indicating why we're not doing that (because some files that are distributed in the source tarballs, namely Flex output, were built with a UN*X Flex and won't compile on Windows, so we get rid of them with "make distclean" so you can clean up stuff that *has* to be re-generated for Windows). Clean up some *CLEANFILES definitions - get rid of ones that no longer apply as files were moved or that add to the definition a name that's already there. svn path=/trunk/; revision=13402
2004-11-24Export two versions of the Ethereal dissector, for use with encapsulatedGuy Harris1-3/+3
Ethernet frames, one for encapsulated frames that include an FCS and one for encapsulated frames that don't include an FCS. Use the appropriate versions. In the ISL dissector, do the same sort of processing we do in the Ethernet dissector to figure out whether the frame has a trailer or not and whether it has an FCS or not. svn path=/trunk/; revision=12593
2004-10-01From Lars Roland: we need to define _NEED_VAR_IMPORT_ in plugins if weGuy Harris1-2/+2
link the plugins with libethereal, so do so. svn path=/trunk/; revision=12176
2004-09-29From Lars Roland: add an option to link plugins with libethereal ratherGuy Harris1-2/+11
than using the plugin address table. svn path=/trunk/; revision=12139
2004-07-18 .cvsignore is deadJörg Mayer1-20/+0
it has been replaced by svn proplist -v <dir/file> and svn propedit <dir/file> svn path=/trunk/; revision=11422
2004-07-18Add epan/dissectors/.cvsignoreJörg Mayer1-0/+2
Add tags and TAGS to all .cvsignore files svn path=/trunk/; revision=11419
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris30-30/+30
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-04-25Replace the plugin linkage libs into PLUGIN_LIBS which is generated from theOlivier Biot1-2/+2
top-level configure.in when running configure. svn path=/trunk/; revision=10699
2004-04-14Add support for plugin dissectors on cygwin builds, by adding the followingOlivier Biot1-1/+2
line to every Makefile.am file for a given plugin XXX: XXX_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@ This way symbols defined in libethereal and GLib are resolved when linking the plugin dissector modules. svn path=/trunk/; revision=10601
2004-03-17From Brian Wheeler: DOCSIS 2.0 support.Guy Harris11-295/+1843
svn path=/trunk/; revision=10387
2004-02-05Update a comment.Guy Harris1-2/+9
svn path=/trunk/; revision=9981
2004-01-07Don't do anything exotic to get signed integral values - Ethereal'sGuy Harris1-59/+3
dissectors assume a two's-complement machine (we offer our apologies to those trying to run it on sign-magnitude IBM 7090/7094's and one's complement Univac/Unisys 11xx machines :-)). svn path=/trunk/; revision=9584
2004-01-05removed some MSVC warnings (level 3)Ulf Lamping1-2/+2
svn path=/trunk/; revision=9561
2003-12-13Use "int"s, not "guint16"s, as packet offsets (using values shorterGuy Harris23-141/+99
than32 bits risks overflow problems). Use "gint" for tvbuff lengths. Use -1 for uses of "tvb_length_remaining()" that mean "the rest of the tvbuff"; use "tvb_reported_length_remaining()" for "the rest of the packet. Clean up the handling of the DOCSIS payload. svn path=/trunk/; revision=9267
2003-12-13Use "int"s, not "guint16"s, as packet offsets (using values shorterGuy Harris1-8/+8
than32 bits risks overflow problems). Use a "gint" as the length of the vsif TLV, as that's what "tvb_length_remaining()" returns. svn path=/trunk/; revision=9266
2003-12-13Use "int"s, not "guint16"s, as packet offsets (using values shorter thanGuy Harris1-36/+36
32 bits risks overflow problems). svn path=/trunk/; revision=9264
2003-12-11prevent MSVC warning:Ulf Lamping2-5/+5
"warning C4761: Gr��enkonflikt im Argument. Konvertierung vorgenommen" -> size conflict in argument, conversion done svn path=/trunk/; revision=9244
2003-11-12From Anand Narwani: fix bitmask for Active Grants field.Guy Harris1-2/+2
svn path=/trunk/; revision=8953
2003-11-06Use "$(OBJECTS)" whenever a complete list of .obj files appears, ratherGuy Harris1-15/+3
than repeating the list from the setting of OBJECTS. svn path=/trunk/; revision=8893
2003-10-10Give every Makefile.nmake file a "distclean" rule, and have "distclean"Guy Harris1-1/+3
recurse into subdirectories doing "nmake -f Makefile.nmake distclean". Have "nmake -f Makefile.nmake clean" not remove stuff that "make clean" doesn't remove (such as Flex/Bison output and config.h files) - and have "nmake -f Makefile.nmake distclean" remove stuff that "make distclean" removes, including "tethereal-tap-register.c" and "ethereal-tap-register.c". svn path=/trunk/; revision=8672
2003-10-05Get rid of another strict-aliasing warning:Jörg Mayer1-2/+2
verify_tfs is a true-false-string : dereference it accordingly svn path=/trunk/; revision=8614
2003-09-09Fix the URL for the DOCSIS specifications.Guy Harris1-2/+2
svn path=/trunk/; revision=8436
2003-09-09The PDU length is the length field minus the length of the EHDR *minusGuy Harris1-2/+2
the length of the HCS*. svn path=/trunk/; revision=8427
2003-09-09Fix the URL for the DOCSIS 1.1 Baseline Privacy Plus InterfaceGuy Harris1-15/+3
Specification. Show the crypto suite attribute symbolically. Get rid of unused value_string tables. svn path=/trunk/; revision=8426
2003-09-09Put each TLV in a tree of its own, and put the TLV type and lengthGuy Harris1-30/+49
fields into that tree. svn path=/trunk/; revision=8425
2003-09-09Update the URL for the DOCSIS 1.1 specifications.Guy Harris1-31/+18
Use Booleans, not uint8's, for single-bit Boolean flags. svn path=/trunk/; revision=8424
2003-09-05- Make --enable-static work again (configure.in, Makefile.am)Jörg Mayer2-79/+4
- get rid of ...-static.o files in the build process (now done via config.h instead of compiler flag) - make packet-rtnet link statically (remove one unused function, rename another one) svn path=/trunk/; revision=8389
2003-07-19Get rid of check for a null "docsis_vsif_handle" - "dissector_add()"Guy Harris1-2/+1
should blow up when handed a null pointer on all platforms that map low addresses out of the address space, which is most if not all of them at this point, and calls to "assert()" cause problems if you mix GCC-compiled and Sun-C-compiled code. svn path=/trunk/; revision=8047
2003-06-14Define GLIB_LIBS and GTK_LIBS variables in config.nmake (based onGuy Harris1-2/+2
variables the user configures - the user isn't expected to change GLIB_LIBS or GTK_LIBS, and there's a comment nothing that users shouldn't have to do so), which contain the appropriate libraries for building stuff that requires only GLib, and stuff that required GTK+ and GLib, respectively, and use those macros in the Makefile.nmake files. svn path=/trunk/; revision=7885
2003-06-14Define GLIB_CFLAGS and GTK_CFLAGS variables in config.nmake (based onGuy Harris1-4/+2
variables the user configures - the user isn't expected to change GLIB_CFLAGS or GTK_CFLAGS, and there's a comment nothing that users shouldn't have to do so), which contain the appropriate "/I" flags for building stuff that requires only GLib, and stuff that required GTK+ and GLib, respectively, and use those macros in the Makefile.nmake files. svn path=/trunk/; revision=7884
2003-05-28Update Anand Narwani's email address.Gerald Combs26-51/+51
svn path=/trunk/; revision=7755
2003-01-31Get rid of BASE_BIN - it's just the same as BASE_DEC, but people seemedGuy Harris2-7/+7
to be using it for stuff that should be hex, and for stuff that should be Boolean. Use BASE_DEC if it should be decimal, BASE_HEX if it should be hex, and make it Boolean if it should be Boolean. svn path=/trunk/; revision=7053
2003-01-11Fix the copyright notice, give it an RCS ID, and fix the introductoryGuy Harris1-4/+5
comment. svn path=/trunk/; revision=6911
2003-01-09Use "plugindir", not "PLUGIN_DIR", as the variable name in the configureGuy Harris1-1/+1
script for the plugin directory; in most Makefile.am files it's set with plugindir = @plugindir@ (along the lines of what's done with other variables with pathnames - the variable name is all lower case), so the variable needs to be named "plugindir". Fix the DOCSIS plugins' Makefile.am to use "plugindir". Don't bother doing "AC_SUBST(PLUGIN_DIR)", as no Makefiles use PLUGIN_DIR as an autoconf variable. svn path=/trunk/; revision=6887
2002-10-15When registering a protocol, make sure there are no other protocols withGuy Harris1-3/+3
the same long name, short name, or filter name, and abort if there are. Fix the duplicate names that found (and another name error found while fixing one of those errors). svn path=/trunk/; revision=6425
2002-09-23Fix two minor typos by Anand V. NarwaniJörg Mayer1-3/+3
svn path=/trunk/; revision=6321
2002-09-12Handle ignored files more flexible. This also fixes the newest filesJörg Mayer1-47/+2
missing from this file. svn path=/trunk/; revision=6287
2002-09-12From Anand Narwani: fix an error in decoding classifier TLV's.Guy Harris1-4/+4
svn path=/trunk/; revision=6286
2002-09-10From Anand Narwani: support for Cisco vendor-specific TLVs.Guy Harris28-11/+390
Add RCS IDs to source files. svn path=/trunk/; revision=6257
2002-08-30From Anand Narwani: updates to fix:Guy Harris2-12/+60
- Bug in the dissection of the Request/Transmit policy in packet-tlv.c - Incorrect filter string for docsis.ehdr.ver - Dissection of PHS Upstream/Downstream Extended Header sub-elements - Dissection of Unsolicited Grant Sync sub-element svn path=/trunk/; revision=6141
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer5-40/+40
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6116
2002-08-20From Anand Narwani: fix an infinite recursion issue when decodingGuy Harris1-1/+10
Concatenated frames which contain 0 length PDU docsis frames. svn path=/trunk/; revision=6037
2002-08-02Replace the types from sys/types.h and netinet/in.h by their glib.hJörg Mayer24-187/+3
equivalents for the plugins/ directory. svn path=/trunk/; revision=5929
2002-07-22Update from Anand V. Narwani:Guy Harris1-6/+54
fix a minor problem in which the Info colum was incorrectly defaulted to "Fragmentation Frame"; add 4 missing fields for the Extended header in Fragmentation frames. svn path=/trunk/; revision=5902
2002-07-21Offsets in packets should be "int", not "guint8", unless there is anGuy Harris1-3/+3
*inviolable guarantee* that the offset will *never* be bigger than 255. (The same applies for "guint16" and 65535.) Otherwise, you run the risk of an infinite loop (packets are not guaranteed to be valid, nor are the contents of capture files - and there's no guarantee that you're reading a DOCSIS file if you've turned on the "force interpretation as DOCSIS" flag.) svn path=/trunk/; revision=5897
2002-07-20From Anand V. Narwani: fix to the Info column for Request frames.Guy Harris1-3/+3
svn path=/trunk/; revision=5896
2002-07-17From Joerg Mayer:Guy Harris23-93/+1
dftest.c: Remove #if-0-ed includes packet-ieee80211.c, packet-wtls.c, packet-afp.c, packet-wsp.c, packet-wtp.c, ethereal_gen.py: Remove redundant include varargs (already in snprintf.h, and required only for snprintf.h) Remove unused include of snprintf.h from files not using "snprintf()". svn path=/trunk/; revision=5889
2002-07-16Get rid of carriage returns.Guy Harris1-43/+43
svn path=/trunk/; revision=5886