aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/docsis/packet-vendor.c
AgeCommit message (Collapse)AuthorFilesLines
2015-12-11new_register_dissector -> register_dissector for remaining uses.Michael Mann1-1/+1
Mostly plugins, but also LUA and generated skinny dissector. Change-Id: Ifeb4205442f9a60875266b4e82841ff38b4fdb63 Reviewed-on: https://code.wireshark.org/review/12515 Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-11-14register_dissector -> new_register_dissector for plugins.Michael Mann1-4/+4
Picking off "easy" dissectors that only have one or two exit points at most. Change-Id: Ie98e071a7cb568c13c8958de56b1fc25a4ce2ce9 Reviewed-on: https://code.wireshark.org/review/11831 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-10-05docsis: Add editor modelines; Adjust whitespace; Remove boilerplate comments.Bill Meier1-85/+76
Change-Id: I78f9815616f4fc3c14204339c5826f0ca7d0680e Reviewed-on: https://code.wireshark.org/review/4485 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-07-10convert to proto_tree_add_subtree[_format] for plugin dissectorsMichael Mann1-4/+1
Change-Id: I13924c5a2f056688a42cdee25654d82c056b5f97 Reviewed-on: https://code.wireshark.org/review/2974 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-08I don't see anything here requiring netinet/in.h, so don't include it.Guy Harris1-8/+0
Change-Id: I852d810d6cd6105b564a6fa630a53499d99afde0 Reviewed-on: https://code.wireshark.org/review/1029 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-11-19Fix [-Wmissing-prototypes]Anders Broman1-2/+2
svn path=/trunk/; revision=53425
2013-11-18Fix [-Wmissing-prototypes]Anders Broman1-0/+3
svn path=/trunk/; revision=53404
2013-11-10Add missing includes in order to remove exceptions.h from proto.h (next commit).Jakub Zawadzki1-0/+1
svn path=/trunk/; revision=53230
2013-02-10Comment out various unused hf_... instances found by checkhf.Bill Meier1-1/+3
svn path=/trunk/; revision=47607
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45015
2012-06-28Update FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2011-10-15Convert plugin files proto_tree_add_item() 'encoding' arg for field types ↵Bill Meier1-1/+1
FT_STRING, FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). svn path=/trunk/; revision=39429
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-4/+4
plugin dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39292
2011-10-05Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-1/+1
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|1|0|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39262
2011-02-08#if 0 code related to unused "docsis" dissector table;Bill Meier1-64/+65
Use consistent indentation & other whitespace cleanup. svn path=/trunk/; revision=35869
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-1/+1
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-10-17Remove some unused hf entries.Stig Bjørlykke1-6/+0
svn path=/trunk/; revision=34549
2009-08-21(Minor) Remove unneeded #includes.Bill Meier1-8/+0
svn path=/trunk/; revision=29492
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-9/+9
Cleanup header_field_info in plugins. svn path=/trunk/; revision=28771
2007-10-07From Chris Maynard <christopher.maynard@gtech.com>:Richard van der Hoff1-8/+8
With the exception of docsis's packet-tlv.c file, these are all simple problems with the prefix not exactly set to PROTOABBREV. For example, for packet-bpkmattr.c, the field names are prefixed with "docsis.bpkmattr." instead of "docsis_bpkmattr.". packet-tlv.c had one mis-named field, namely "docsis.cos.sid". It has been changed to "docsis_tlv.cos.sid" in the patch to be attached, which includes patches for 29 files in the plugins/docsis/ directory ... svn path=/trunk/; revision=23088
2006-05-28Ethereal->WiresharkAnders Broman1-1/+1
svn path=/trunk/; revision=18231
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-04-19Fix a typo.Guy Harris1-1/+1
svn path=/trunk/; revision=17918
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-03-05Preparations for dropping the old plugin api.Lars Roland1-3/+0
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
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
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
2003-12-13Use "int"s, not "guint16"s, as packet offsets (using values shorterGuy Harris1-5/+4
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-11prevent MSVC warning:Ulf Lamping1-2/+2
"warning C4761: Gr��enkonflikt im Argument. Konvertierung vorgenommen" -> size conflict in argument, conversion done svn path=/trunk/; revision=9244
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-05-28Update Anand Narwani's email address.Gerald Combs1-2/+2
svn path=/trunk/; revision=7755
2002-09-10From Anand Narwani: support for Cisco vendor-specific TLVs.Guy Harris1-0/+322
Add RCS IDs to source files. svn path=/trunk/; revision=6257