summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-actrace.c
AgeCommit message (Collapse)AuthorFilesLines
2016-10-13Convert most UDP dissectors to use "auto" preferences.Michael Mann1-32/+7
Similar to the "tcp.port" changes in I99604f95d426ad345f4b494598d94178b886eb67, convert dissectors that use "udp.port". More cleanup done on dissectors that use both TCP and UDP dissector tables, so that less preference callbacks exist. Change-Id: If07be9b9e850c244336a7069599cd554ce312dd3 Reviewed-on: https://code.wireshark.org/review/18120 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-20Manually add protocol dependencies derived from find_dissector.Michael Mann1-1/+1
Started by grepping call_dissector_with_data, call_dissector_only and call_dissector and traced the handles passed into them to a find_dissector within the dissector. Then replaced find_dissector with find_dissector_add_dependency and added the protocol id from the dissector. "data" dissector was not considered to be a dependency. Change-Id: I15d0d77301306587ef8e7af5876e74231816890d Reviewed-on: https://code.wireshark.org/review/14509 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
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>
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-30Add editor modelines; Adjust whitespace; Remove boilerplate commentsBill Meier1-196/+209
Change-Id: I1f5f83ed441f6009125cf2cbe5023af04986898a Reviewed-on: https://code.wireshark.org/review/4392 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-09-08Convert some deprecated tvb_length callsEvan Huus1-1/+1
Change-Id: I6337f8e02a41106a363b9bf767bc4b3697442d41 Reviewed-on: https://code.wireshark.org/review/4027 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-08-03Eliminate proto_tree_add_text from some dissectors.Michael Mann1-11/+8
Change-Id: Ib6024307e85d6c23decf40e9759f549c19ffe136 Reviewed-on: https://code.wireshark.org/review/3318 Petri-Dish: Michael Mann <mmann78@netscape.net> Petri-Dish: Evan Huus <eapache@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
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-06-07tvb_new_subset -> tvb_new_subset_length when length parameters are equal.Michael Mann1-1/+1
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>
2013-04-24Now that the test suite is done and most of the common functions areEvan Huus1-15/+15
implemented, start replacing emem with wmem in dissectors. Also remove emem.h include from a few files that didn't actually need it. More to come once in hopefully large batches once I figure out the appropriate regexes. svn path=/trunk/; revision=49009
2013-03-12- [-Wmissing-prototypes]Anders Broman1-0/+2
- explicit casts. svn path=/trunk/; revision=48265
2013-02-26it's ==> its & its ==> it's as needed.Bill Meier1-1/+1
svn path=/trunk/; revision=47891
2012-12-26Fix a bunch of warnings.Guy Harris1-1/+1
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-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-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki1-1/+1
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
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-04Get rid of a couple of warnings.Anders Broman1-2/+2
svn path=/trunk/; revision=43066
2012-03-02Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+0
svn path=/trunk/; revision=41301
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
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-2/+2
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-11-03Use value_string_ext fcns to access certain value_string arrays;Bill Meier1-40/+45
Sort several value_string arrays to be in ascending order. Also: Minor whitespace cleanup. svn path=/trunk/; revision=34766
2010-05-10Indentation & whitespace cleanup (including: "4 space tabs" ==> spaces)Bill Meier1-373/+373
svn path=/trunk/; revision=32735
2010-03-03remove check_colAnders Broman1-30/+20
svn path=/trunk/; revision=32089
2009-11-09Removed unused variables.Stig Bjørlykke1-8/+0
svn path=/trunk/; revision=30896
2009-09-25Upon 2nd thought: revert removal of 'if (check_col(...))' around ↵Bill Meier1-20/+30
col_add_fstr & etc. svn path=/trunk/; revision=30133
2009-09-24Minor changes:Bill Meier1-71/+60
- remove unneeded includes; - check_col no longer req'd; - move proto_register/proto_reg_handoff to the end of the file; - fix some typos; svn path=/trunk/; revision=30116
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-6/+3
svn path=/trunk/; revision=29340
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-13/+13
(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-02-06#include <conversation.h> not req'd ....Bill Meier1-1/+0
svn path=/trunk/; revision=27389
2008-09-11Minor cleanup related to proto_reg_handoff ....Bill Meier1-1/+1
svn path=/trunk/; revision=26176
2008-09-02Cleanup related to prefs & proto_reg_handoffBill Meier1-10/+4
svn path=/trunk/; revision=26124
2008-06-22Make the ACTRACE dissector give away the package if it knows its not a ACTRACE.Stig Bjørlykke1-14/+14
svn path=/trunk/; revision=25526
2007-10-15Implement some of the minor possible speed improvment patches.Anders Broman1-1/+1
svn path=/trunk/; revision=23192
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-09-20Give them RCS IDs.Guy Harris1-0/+2
svn path=/trunk/; revision=15911
2005-07-24change g_strdup() calls with ep_strdup calls (fixing a significant leakage ↵Luis Ontanon1-16/+15
of tap data) svn path=/trunk/; revision=15029
2005-07-08Get rid of most unused arguments and variables (including some that areGuy Harris1-48/+32
set but not used). (Leave "pi" around so the warning acts as a reminder that the tap structure stuff needs a cleanup - currently, the tap structures aren't freed; perhaps the new memory allocation scheme proposed by Ronnie could be used for tap structures.) Have "ac_istrace()" return NOT_ACTRACE for apparently non-actrace packets and return the packet type for actrace packets, so that we don't need a global variable for the packet type. Make "actrace_udp_port" unsigned to squelch a signed vs. unsigned warning. Use "col_set_str()" rather than "col_add_str()" when setting the Protocol column. We don't recognized packets as CAS packets unless they're 48 bytes long, so we don't need to test whether they're 48 bytes long in the CAS packet dissection code. Use the reported length, not the captured length, when doing length checks. svn path=/trunk/; revision=14874
2005-06-28Squelch a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=14813
2005-06-28Add missing commas.Gerald Combs1-3/+3
svn path=/trunk/; revision=14804
2005-06-28Terminate a bunch of value_strings.Gerald Combs1-6/+15
svn path=/trunk/; revision=14803
2005-06-27remove a \n in the preference string to prevent it from creating a ↵Ronnie Sahlberg1-2/+2
garbage/invalid preference file entry. svn path=/trunk/; revision=14798
2005-06-27From Alejandro VaqueroAnders Broman1-0/+873
new dissector for the AudioCodes trunk trace protocol. This protocol is used to debug the trunk protocol in AudioCodes gateways. It currently supports ISDN PRI and CAS (MFCR2, WinkStart, etc...) trunk protocols. It also add these protocols in the "Voip Calls Graph..." svn path=/trunk/; revision=14790