aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-homeplug.c
AgeCommit message (Collapse)AuthorFilesLines
2015-12-09new_create_dissector_handle -> create_dissector_handle for dissector directory.Michael Mann1-1/+1
Some of the ASN.1 dissectors still generate a new_create_dissector_handle from the tool itself, so leave those for now. Change-Id: Ic6e5803b1444d7ac24070949f5fd557909a5641f Reviewed-on: https://code.wireshark.org/review/12484 Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-11-16create_dissector_handle -> new_create_dissector_handleMichael Mann1-3/+4
Picking off "easy" dissectors that only have one or two exit points at most. Change-Id: I96aa9cf53533cbb07105aa400d42922baf3016b3 Reviewed-on: https://code.wireshark.org/review/11860 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-02-18Add a CF_FUNC macro for casting BASE_CUSTOM functions.Gerald Combs1-1/+1
Add a CF_FUNC macro to match VALS, TFS, etc. This should help us to avoid the following warning: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] We could start adding DIAG_OFF+DIAG_ON everywhere but this seems to be more consistent with the other macros in proto.h. Update each instance of BASE_CUSTOM to use CF_FUNC. Adjust a dummy variable name generated by asn2wrs.py that was triggering an invalid error in checkhf.pl. Fix an encoding arguement in packet-elasticsearch.c found by fix-encoding-args.pl. Change-Id: Id0e75076c2d71736639d486f47b87bab84e07d22 Reviewed-on: https://code.wireshark.org/review/7150 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-2/+0
Specifically: - Set packet.h to be the first wireshark #include after config.h and "system" #includes. packet.h added as an #include in some cases when missing. - Remove some #includes included (directly/indirectly) in packet.h. E.g., glib.h. (Done only for those files including packet.h). - As needed, move "system" #includes to be after config.h and before wireshark #includes. - Rework various #include file specifications for consistency. - Misc. Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95 Reviewed-on: https://code.wireshark.org/review/5923 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-09-29Add editor modelines; fix indentation as needed.Bill Meier1-0/+13
Change-Id: I1ad94654343e5a018a0b3159481d45ffb3a91263 Reviewed-on: https://code.wireshark.org/review/4363 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-08-10Eliminate proto_tree_add_text from some dissectors.Michael Mann1-13/+24
Other minor cleanup while in the neighborhood. Change-Id: Ib76f4a9f89b5933425760af0a980c6a549031b8f Reviewed-on: https://code.wireshark.org/review/3537 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-28convert to proto_tree_add_subtree[_format]Michael Mann1-6/+4
Change-Id: Ia7014003a3cff5181295172978d6c613c3b83b0b Reviewed-on: https://code.wireshark.org/review/2676 Tested-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-4/+4
https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html This reverts commit 246fe2ca4c67d8c98caa84e2f57694f6322e2f96. Change-Id: Ib24bae0198c13a84bd7f731bf4af921212109a8f Reviewed-on: https://code.wireshark.org/review/2430 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-18Fixup: tvb_* -> tvb_capturedDario Lombardo1-4/+4
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@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>
2013-12-20Change G_GINT64_CONSTANT(xxxxU) to G_GUINT64_CONSTANT(xxxx)Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=54314
2013-12-19Since we're always calling ptvcursor_new() now, always call ptvcursor_free().Chris Maynard1-2/+1
svn path=/trunk/; revision=54254
2013-12-18Call ptvcursor_new() to initialize cursor whether tree is NULL or not.Chris Maynard1-2/+3
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9578 #BACKPORT(1.10, 1.8) svn path=/trunk/; revision=54227
2013-12-15Fix [-Wmissing-prototypes]Jakub Zawadzki1-0/+3
svn path=/trunk/; revision=54135
2013-06-14Remove check_col() and the occasional tree.Michael Mann1-7/+3
svn path=/trunk/; revision=49920
2013-04-01Typo's. That is all.Jaap Keuter1-2/+2
svn path=/trunk/; revision=48685
2013-01-31Comment out unused hf[] entries & etc.Bill Meier1-2/+6
(found by checkhf) svn path=/trunk/; revision=47389
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=45017
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-01-19Fix some duplicate display filter names.Chris Maynard1-4/+4
svn path=/trunk/; revision=40592
2011-12-30Fix 'encoding-arg' for ptvcursor_add_with_subtree(): ↵Bill Meier1-1/+1
TRUE=>ENC_LITTLE_ENDIAN, etc svn path=/trunk/; revision=40346
2011-10-25Fix encoding arg for ptvcursor_add() and ptvcursor_add_noadvance() function ↵Bill Meier1-193/+193
calls. svn path=/trunk/; revision=39566
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-1/+1
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-08-08Remove unneeded #includes: proto.h,tvbuff.h,value_string.h,stdlib.h,...Bill Meier1-1/+0
svn path=/trunk/; revision=38413
2011-04-26Fix Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-3/+0
svn path=/trunk/; revision=36870
2011-04-09Don't assign to a proto_item * if the value won't be used: Coverity 923-927;Bill Meier1-515/+533
Add braces around around certain code sections for indentation purposes; Do some indentation & whitespace cleanup. svn path=/trunk/; revision=36529
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-01-13From Didier Gautheron:Anders Broman1-1/+1
check_col.diff Remove redundant calls to check_col() if it guards only one columns function with one parameter after the column type. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394 svn path=/trunk/; revision=31519
2009-09-24Remove check_col() guardKovarththanan Rajaratnam1-114/+38
svn path=/trunk/; revision=30124
2009-09-23Don't col_clear() followed by col_set_str(). A col_set_str() will clear ↵Kovarththanan Rajaratnam1-38/+0
(replace) any existing string (the fence still needs to be respected though) svn path=/trunk/; revision=30086
2009-09-07Don't pass length 0 to a FT_UINT.Stig Bjørlykke1-3/+3
Fixed some uint types with length 2. svn path=/trunk/; revision=29755
2009-09-06Use correct field types for variable length fields.Stig Bjørlykke1-5/+37
Fixed types by adding new types for "undissected" blocks: - Replace Bridge Address - Multicast With Response - Confirm Network Encryption Key - Host Tag svn path=/trunk/; revision=29741
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-07-07From Kovarththanan Rajaratnam:Stig Bjørlykke1-1/+1
More FT_XXX cleanup. svn path=/trunk/; revision=28971
2009-07-05From Kovarththanan Rajaratnam:Anders Broman1-55/+55
Cleanup header_field_info definitions https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548 svn path=/trunk/; revision=28940
2009-06-28From Jon Smirl:Anders Broman1-609/+1478
More packet decoding for Intellon powerline devices. From me put proto_register_homeplug() last in the file and whitespace changes. svn path=/trunk/; revision=28872
2009-06-24Fixed field types for some reserved fields.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=28835
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-74/+74
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2009-01-14reg_handoff: "once-only" test [if(!initted)...] not req'd since no prefs ↵Bill Meier1-12/+3
callback. svn path=/trunk/; revision=27227
2009-01-13From Luca Ceresoli:Jaap Keuter1-72/+635
Several improvements to the Homeplug dissector. New features: * Added decoding of new packet types: Vendor Specific, Set NEK, Set Local Parameters, Bridging Characteristics (Local and Network), Set Transmit Characteristics * Completed Network Statistics dissector, now decodes Extended packets; added a generated boolean value to allow Basic/Extended filtering * Local/Network specifier for Bridging Characteristics and Basic/Extended specifier for Network Statistics now appear in info column Cleanups: * Cleaned up and made more concise decoding of IC-ID (chip ID) using range_string * Fixed formatting of some field types * A few minor cleanups svn path=/trunk/; revision=27218
2008-09-26Minor cleanup related to proto_register and proto_reg_handoffBill Meier1-7/+3
svn path=/trunk/; revision=26281
2008-09-09Fix for bug 2859:Jaap Keuter1-89/+119
Skip data portion of unknown TLV. Expand type interpretation and several other cleanups. svn path=/trunk/; revision=26169
2008-08-25#include <prefs.h> not req'dBill Meier1-1/+0
svn path=/trunk/; revision=26089
2007-04-12get rid of unused variableSebastien Tandel1-1/+0
svn path=/trunk/; revision=21394
2007-03-30update of homeplug dissector with the use of ptvcursor subtree managementSebastien Tandel1-263/+213
functions. svn path=/trunk/; revision=21278
2007-03-21Fixes for: warning: function declaration isn't a prototypeJörg Mayer1-1/+1
svn path=/trunk/; revision=21082
2007-01-17Oops, set properties on the new fileJeff Morriss1-1/+1
svn path=/trunk/; revision=20461
2007-01-17From Sebastien Tandel: Support for the dissection of the Intellon homeplug ↵Jeff Morriss1-0/+857
powerline protocol based on INT51X1 specification. svn path=/trunk/; revision=20459