aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/docsis/packet-tlv.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-15[docsis->packet-tlv.c] Updated Confirmation Code list per MULPIv3.1-I07 ↵AdrianSimionov1-5/+62
Annex C.4 Change-Id: Id6ec9776545c79a4f8e21fd212b87ddcd9fd376f Reviewed-on: https://code.wireshark.org/review/11829 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-11-14register_dissector -> new_register_dissector for plugins.Michael Mann1-3/+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>
2015-11-10[docsis->packet-tlv.c] Update for modem capabilities TLV 5, subTLV 2 and ↵AdrianSimionov1-3/+11
subTLV 33 Change-Id: I63410d90e65a46aaeb534cca56e8797ebe00bf6f Reviewed-on: https://code.wireshark.org/review/11685 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-12-23DOCSIS: missing break in switch (CID 280485 & 280486)Alexis La Goutte1-0/+1
Change-Id: I5b756b96ca6c3c48a43948d456bfcb07aab527fd Reviewed-on: https://code.wireshark.org/review/5994 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-11-15Eliminate proto_tree_add_text from some plugin dissector files.Michael Mann1-37/+70
Change-Id: Ib2d900833a8763307be6b1cfc8df20d7019d2706 Reviewed-on: https://code.wireshark.org/review/5313 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-3029/+3045
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-157/+81
Change-Id: I13924c5a2f056688a42cdee25654d82c056b5f97 Reviewed-on: https://code.wireshark.org/review/2974 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-07tvb_new_subset -> tvb_new_subset_length when length parameters are equal.Michael Mann1-4/+4
tvb_new_subset -> tvb_new_subset_remaining it appears that's what the intention is. Change-Id: I2334bbf3f10475b3c22391392fc8b6864454de2d Reviewed-on: https://code.wireshark.org/review/1999 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
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>
2014-02-25Remove trailing whitespaceBill Meier1-1/+1
Change-Id: I8116f63ff88687c8db3fd6e8e23b22ab2f759af0 Reviewed-on: https://code.wireshark.org/review/385 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
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/+2
svn path=/trunk/; revision=53230
2013-10-23Fix (using '#if 0') a few more [-Wunused-const-variable] warningsBill Meier1-0/+2
svn path=/trunk/; revision=52799
2013-02-10Comment out various unused hf_... instances found by checkhf.Bill Meier1-214/+290
svn path=/trunk/; revision=47607
2013-02-10Fix ERROR: NO ARRAY: packet-tlv.c, hf_docsis_rcv_mod_enc_ctr_freq_asgnBill Meier1-0/+5
##Backport 1.6, 1.8 svn path=/trunk/; revision=47605
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
2012-03-18From Reinhard Speyerer: Fix several misspellings/typos in WiresharkBill Meier1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6967 svn path=/trunk/; revision=41645
2011-10-20Use ENC_NA as proto_tree_add_item() encoding arg for FT_ETHER hf[] field type.Bill Meier1-4/+4
svn path=/trunk/; revision=39490
2011-10-18Do some more conversions of proto_tree_add_item() 'encoding' argBill Meier1-7/+7
(previously missed). svn path=/trunk/; revision=39450
2011-10-15Convert plugin files proto_tree_add_item() 'encoding' arg for field types ↵Bill Meier1-7/+7
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-10Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-28/+28
plugins/*: 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_BOOLEAN FT_IPv4 FT_EUI64 FT_GUID FT_UINT_STRING Also: For type FT_ITv6 use ENC_NA. (This was missed in an earlier SVN) svn path=/trunk/; revision=39329
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-156/+156
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-51/+51
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-07-04From Guido Reismueller:Anders Broman1-0/+565
This patch includes alle modem capabilities from DOCSIS 3.0 Until now only modem capabilities 1-12 where implemented. Now all capabilities 1-40 are included. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6070 svn path=/trunk/; revision=37892
2011-02-08#if 0 code related to unused "docsis" dissector table;Bill Meier1-2689/+2618
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-12-16From Guido Reismueller:Jaap Keuter1-0/+2576
packet-mdd.c - TLV 15 fixed packet-tlv.c - Added Support for DOCSIS 3.0 TLVs (38-66) Added Support for the following DOCSIS 3.0 MAC Management Messages - DBC-REQ (packet-dbcreq.c) - DBC-RSP (packet-dbcrsp.c) - DBC-ACK (packet-dbcack.c) - CM-CTRL-REQ (packet-cmctrlreq.c) - CM-CTRL-RSP (packet-cmctrlrsp.c) - DPV-REQ (packet-dpvreq.c) - DPV-RSP (packet-dpvrsp.c) svn path=/trunk/; revision=35193
2010-10-17Remove some unused hf entries.Stig Bjørlykke1-6/+0
svn path=/trunk/; revision=34549
2009-10-09From Didier Gautheron:Anders Broman1-1/+0
Dissectors using call_dissector() function inside a 'if (tree) {}' block. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4107 svn path=/trunk/; revision=30415
2009-08-21(Minor) Remove unneeded #includes.Bill Meier1-8/+0
svn path=/trunk/; revision=29492
2009-07-07From Kovarththanan Rajaratnam:Stig Bjørlykke1-3/+3
More FT_XXX cleanup. svn path=/trunk/; revision=28970
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-63/+63
Cleanup header_field_info in plugins. svn path=/trunk/; revision=28771
2009-05-08FT_BOOLEAN fields w/o bitmasks really should use BASE_NONE (not BASE_DEC,...).Bill Meier1-11/+11
svn path=/trunk/; revision=28318
2007-10-07From Chris Maynard <christopher.maynard@gtech.com>:Richard van der Hoff1-140/+140
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-01-05Bill Meier:Jörg Mayer1-1/+1
Spelling fixes. svn path=/trunk/; revision=16956
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-4/+3
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 shorter thanGuy Harris1-36/+36
32 bits risks overflow problems). svn path=/trunk/; revision=9264
2003-12-11prevent MSVC warning:Ulf Lamping1-3/+3
"warning C4761: Gr��enkonflikt im Argument. Konvertierung vorgenommen" -> size conflict in argument, conversion done svn path=/trunk/; revision=9244
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-05-28Update Anand Narwani's email address.Gerald Combs1-2/+2
svn path=/trunk/; revision=7755
2003-01-31Get rid of BASE_BIN - it's just the same as BASE_DEC, but people seemedGuy Harris1-2/+2
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
2002-09-23Fix two minor typos by Anand V. NarwaniJörg Mayer1-3/+3
svn path=/trunk/; revision=6321
2002-09-12From Anand Narwani: fix an error in decoding classifier TLV's.Guy Harris1-4/+4
svn path=/trunk/; revision=6286