aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vines.c
AgeCommit message (Collapse)AuthorFilesLines
2014-12-25Deleting unnecessary #includes from dissectors.Martin Mathieson1-1/+0
Fifth batch (packet-rtp.c -> end). Will look at cleaning up and committing script afterwards. Change-Id: I8ed61dc941d98d3f7259a9d1f74e214eb7b4bfa2 Reviewed-on: https://code.wireshark.org/review/6052 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-1/+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-12-21Have a heur_dissector_list_t be an opaque handle.Guy Harris1-4/+2
This allows dissector lists to be looked up by name, so they can be shared by multiple dissectors. (This means that there's no "udplite" heuristic dissector list, but there shouldn't be one - protocols can run atop UDP or UDPLite equally well, and they share a port namespace and uint dissector table, so they should share a heuristic dissector table as well.) Change-Id: Ifb2d2c294938c06d348a159adea7a57db8d770a7 Reviewed-on: https://code.wireshark.org/review/5936 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-10-02Add editor modelines & adjust indentation/whitespace as needed.Bill Meier1-36/+50
Change-Id: Ice2d93632cd42dfcef3bfbf0e15f2a8a147278fc Reviewed-on: https://code.wireshark.org/review/4433 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-09-08Eliminate proto_tree_add_text from some of the dissectors.Michael Mann1-4/+13
Other minor cleanups while in the area. Change-Id: I623d941e53128f169e55dfc629547b4221fa72fc Reviewed-on: https://code.wireshark.org/review/4021 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Evan Huus <eapache@gmail.com>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-1/+1
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-1/+1
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-05-21Change the signature of dissector_try_heuristic() to return hdtbl_entryAndersBroman1-2/+4
which can be used to call the found heuristic dissector on the next pass. Introduce call_heur_dissector_direct() to be used to call a heuristic dissector which accepted the frame on the first pass. Change-Id: I524edd717b7d92b510bd60acfeea686d5f2b4582 Reviewed-on: https://code.wireshark.org/review/1697 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> 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-07- Make local functions static.Anders Broman1-0/+20
- Forward declaration of register function. svn path=/trunk/; revision=53817
2013-10-13whitespace fixes; mostly: remove trailing blanksBill Meier1-2/+2
svn path=/trunk/; revision=52591
2013-07-28Get rid of some unused variables.Guy Harris1-207/+395
Register those hf[] arrays that weren't getting registered. Reformat all hf[] array initializations. svn path=/trunk/; revision=50965
2013-07-28Make many items filterable for Vines dissectors.Michael Mann1-489/+332
Add support for FT_VINES type. svn path=/trunk/; revision=50962
2013-06-14Removed check_col() and the occasional tree.Michael Mann1-67/+36
svn path=/trunk/; revision=49938
2012-12-26Fix a bunch of warnings.Guy Harris1-2/+5
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-12-25Show the Vines Fragmentation Protocol control flags field as bitflags,Guy Harris1-37/+66
rather than as a single field. If bits other than the two defined bits are set in the first byte of the packet, don't dissect UDP packets as Vines FRP, so that other dissectors get a chance to look at the packet. svn path=/trunk/; revision=46732
2012-09-26minor endian bugfixMichael Mann1-1/+1
svn path=/trunk/; revision=45151
2012-09-23Fix some unused variable warnings from GCC.Evan Huus1-2/+0
svn path=/trunk/; revision=45064
2012-09-23replaced decode_boolean_bitfield calls with itemized filtersMichael Mann1-231/+415
svn path=/trunk/; revision=45059
2012-09-22Note that Banyan don't exist any more, so you can't order a dead-treeGuy Harris1-0/+13
version of the VINES documentation from them. However, there appear to be online versions available; give the URLs for them. svn path=/trunk/; revision=45052
2012-09-22Remove incorrect extra hf_vines_ip_length - what's being constructedGuy Harris1-4/+2
there is the Transport Control field and subfields thereof, not the packet length field. Update some URLs. svn path=/trunk/; revision=45051
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-2/+0
svn path=/trunk/; revision=45017
2012-09-11Add data parameter to dissector_try_heuristicJakub Zawadzki1-2/+2
svn path=/trunk/; revision=44871
2012-08-10Use val_to_str_const() where appropriate;Bill Meier1-21/+21
Also (for a few files): - create/use some extended value strings; - remove unneeded #include files; - remove unneeded variable initialization; - re-order fcns slightly so prefs_reg_handoff...() at end, etc svn path=/trunk/; revision=44438
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-05Just fix some clang analysis warningsJörg Mayer1-2/+2
svn path=/trunk/; revision=43126
2012-02-13Start itemizing.Jörg Mayer1-29/+52
svn path=/trunk/; revision=41011
2011-11-08packet_info's in_error_pkt is now a bitfield like in_gre_pkt.Chris Maynard1-3/+3
svn path=/trunk/; revision=39764
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-9/+9
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-08-26Replace TRUE/FALSE with the new ENCAP stuff where appropriateJörg Mayer1-9/+9
svn path=/trunk/; revision=38746
2011-02-11Rename vines_to_str() to tvb_vines_to_str() and make it take a pointer a TVBJeff Morriss1-10/+109
and an offset instead of (generally) a pointer into a TVB. Move most of the contents of packet-vines.h into packet-vines.c: the moved content is only needed in that file. svn path=/trunk/; revision=35912
2011-01-21Introduce, and start using, tvb_eth_to_str().Jeff Morriss1-1/+1
Export tvb_*_to_str() and put them in alphabetical order. svn path=/trunk/; revision=35602
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-16/+16
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
2009-11-09Removed an unused variable.Stig Bjørlykke1-2/+0
svn path=/trunk/; revision=30884
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-6/+6
svn path=/trunk/; revision=29446
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-18/+9
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-26/+13
svn path=/trunk/; revision=29340
2009-06-19Replace my email address by a reference to AUTHORSJörg Mayer1-1/+1
svn path=/trunk/; revision=28775
2008-10-31Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke1-28/+28
svn path=/trunk/; revision=26652
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-4/+4
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-09-15remove some redundant strcpy()Ronnie Sahlberg1-6/+6
svn path=/trunk/; revision=15823
2005-08-05More char -> const char warning fixesJörg Mayer1-6/+6
svn path=/trunk/; revision=15222
2005-03-26Make sure we have enough bytes in our tvbuff to dissect our header.Gerald Combs1-1/+1
svn path=/trunk/; revision=13925
2004-09-29Move various tables into the epan directory.Guy Harris1-1/+1
svn path=/trunk/; revision=12130
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+1661
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410