aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/docsis
AgeCommit message (Collapse)AuthorFilesLines
2007-01-03clean should also remove generated plugin.c and manifest filesUlf Lamping1-2/+3
svn path=/trunk/; revision=20291
2006-12-19Add Windows version info resource.Jaap Keuter4-8/+85
svn path=/trunk/; revision=20159
2006-10-29put every python script name into "" so the call won't fail on Win32 native ↵Ulf Lamping1-1/+1
python. The problem is the slash in e.g.: @$(PYTHON) ../../tools/make-dissector-reg.py is interpreted as an option instead of being part of the path. I didn't wanted to use backslashes as this might introduce new problems with cygwin's python port. svn path=/trunk/; revision=19730
2006-06-02remove plugin.c in distlcleanJörg Mayer1-1/+2
svn path=/trunk/; revision=18312
2006-05-31libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ ofGerald Combs1-3/+3
changes here. It compiles OK on OS X, but hasn't been tested anywhere else. svn path=/trunk/; revision=18260
2006-05-28Ethereal->WiresharkAnders Broman30-31/+31
svn path=/trunk/; revision=18231
2006-05-22ethereal->wireshark updatesRonnie Sahlberg1-4/+4
svn path=/trunk/; revision=18206
2006-05-21name changeRonnie Sahlberg34-68/+68
svn path=/trunk/; revision=18197
2006-05-14Use $(PLUGIN_NAME) wherever possible, so that we have a Makefile.nmakeGuy Harris1-5/+5
that could be used with any plugin. (It'd be nice if there were some way to do that with Makefile.am, but automake doesn't seem to like macro names being used in the definitions of its magic macros.) svn path=/trunk/; revision=18150
2006-04-22Convert most other plugin dissectors to use the make-dissector-regGuy Harris3-26/+24
scripts. svn path=/trunk/; revision=17961
2006-04-20Rename "make-reg-dotc" to "make-dissector-reg", and do the same for theGuy Harris2-6/+6
Python versions, as it no longer makes only "register.c", it can also make a "plugin.c" file for a plugin. When making "plugin.c", there's no need to include "register.h", as it's not defining any functions declared there. svn path=/trunk/; revision=17919
2006-04-19Fix a typo.Guy Harris1-1/+1
svn path=/trunk/; revision=17918
2006-04-19Fix the register and register-handoff routines to have the standardGuy Harris1-2/+2
format, so the script that generates plugin.c will generate code to call them. svn path=/trunk/; revision=17917
2006-04-19register.c and register.obj are no longer used.Guy Harris1-3/+3
svn path=/trunk/; revision=17908
2006-04-19The rule makes plugin.c, not register.c.Guy Harris1-1/+1
svn path=/trunk/; revision=17907
2006-04-19Update comments.Guy Harris2-22/+27
Fix the Makefile.nmake files to pass the output type argument to make-reg-dotc or make-reg-dotc.py. Make tools/make-reg-dotc executable. svn path=/trunk/; revision=17904
2006-04-19Have make-reg-dotc and make-reg-dotc.py generate either a register.c forGuy Harris2-80/+26
libetheral or a plugin.c for a plugin, rather than having plugin.c for a dissector call the routines from register.c. This means we don't ahve multiple register_all_protocols() and register_all_protocol_handoffs() routines, and that all the plugin boilerplate is automatically generated. svn path=/trunk/; revision=17903
2006-04-17Pull the plugin-specific code into "plugin.c", and generate aGuy Harris5-109/+237
"register.c" with "make-reg-dotc"/"make-reg-dotc.py". Pull the lists of dissector .c and .h files into Makefile.common and have Makefile.am and Makefile.nmake use it. svn path=/trunk/; revision=17883
2006-02-01From Eric Hultin:Anders Broman8-2/+1972
This patch adds support for dissection of the DCC packet as defined in CableLab's (http://www.cablelabs.com/) DOCSIS Radio Frequency Interface (RFI) specification. The latest version of this specification is currently available at http://www.cablemodem.com/specifications/specifications20.html . Packet formats for DCC are defined in sections 8.3.20 (DCC-REQ), 8.3.21 (DCC-RSP), and 8.3.22 (DCC-ACK) of the RFI specifications (referencing version CM-SP-RFIv2.0-I10-051209). In addition, this patch adds support for the DCD packet as defined in the DOCSIS Set-Top Gateway (DSG) Specification. The latest version of this specification is currently available at http://www.cablemodem.com/specifications/gateway.html . The format of the DCD packet is defined in section 5.3.1 of the DSG specification (referencing version CM-SP-DSG-I06-051209). svn path=/trunk/; revision=17138
2006-01-05Bill Meier:Jörg Mayer2-3/+3
Spelling fixes. svn path=/trunk/; revision=16956
2005-08-08various code cleanup:Ulf Lamping1-4/+0
-use g_snprintf instead of sprintf and snprintf -use g_strdup_printf where appropriate -remove #include "snprintf.h" (as only g_snprintf should be used) -replace some more alloc/realloc/calloc/free with their glib pendants svn path=/trunk/; revision=15264
2005-07-10After doing "make maintainer-clean", "svn status --no-ignore | grep ^I"Jörg Mayer1-0/+3
returned quite a list of files. Add them to MAINTAINERCLEANFILES. Whitespace changes (replace multiple spaces by TABs, in a few cases this needed to be done at the beginning of Makefile lines. svn path=/trunk/; revision=14891
2005-05-23Make sure we don't loop when we dissect concatenated PDUs. Make some intGerald Combs1-7/+11
values larger in order to keep them from overflowing. svn path=/trunk/; revision=14422
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