aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ctdb.c
AgeCommit message (Collapse)AuthorFilesLines
2015-04-16Replace deprecated tvb_length APIsAndersBroman1-1/+1
Change-Id: Idfd3bed012e823de544fe4de483c8f095fc7c65d Reviewed-on: https://code.wireshark.org/review/8086 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-01-10CTDB: fix Copy-paste error (CID 11158596)Alexis La Goutte1-1/+1
Change-Id: Ieaa70505f4b880569be6126166a71f32d84f79a8 Reviewed-on: https://code.wireshark.org/review/6470 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-4/+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-10-02Add editor modelines & adjust indentation/whitespace as needed.Bill Meier1-5/+18
Change-Id: Ice2d93632cd42dfcef3bfbf0e15f2a8a147278fc Reviewed-on: https://code.wireshark.org/review/4433 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-06-20Rename dissector_add_handle() to dissector_add_for_decode_as().Guy Harris1-1/+1
Hopefully that name makes it clear what the routiner's purpose is, and will encourage people to use it rather than using dissector_add_uint() with a bogus integer value. Change-Id: Ic5be456d0ad40b176aab01712ab7b13aed5de2a8 Reviewed-on: https://code.wireshark.org/review/2483 Reviewed-by: Guy Harris <guy@alum.mit.edu>
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-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-10Add missing includes in order to remove exceptions.h from proto.h (next commit).Jakub Zawadzki1-0/+1
svn path=/trunk/; revision=53230
2013-09-09expert_add_info_format_text -> expert_add_info_formatMichael Mann1-1/+1
svn path=/trunk/; revision=51852
2013-08-31Convert another 10 dissectors to wmem.Evan Huus1-22/+22
svn path=/trunk/; revision=51612
2013-05-25Batch of filterable expert_infos.Michael Mann1-1/+12
svn path=/trunk/; revision=49581
2013-03-16[-Wmissing-prototypes]Anders Broman1-7/+10
Use explicit casts. svn path=/trunk/; revision=48338
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-08-09Add a check for the number of nodes. Fixes a DoS in bug 7573 reported byGerald Combs1-2/+10
Ben Schmidt. svn path=/trunk/; revision=44403
2012-06-28Update FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2011-10-26Fix Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-6/+6
svn path=/trunk/; revision=39607
2011-09-26Get rid of check_col, while at it set ENC.Anders Broman1-26/+14
svn path=/trunk/; revision=39147
2011-08-08Remove unneeded #includes: proto.h,tvbuff.h,value_string.h,stdlib.h,...Bill Meier1-3/+0
svn path=/trunk/; revision=38413
2010-10-11Define some fcns & vars as static;Bill Meier1-2/+2
Minor whitespace and comments cleanup. svn path=/trunk/; revision=34477
2010-09-23Replace blurbs that match the name (case insensitive) with NULL.Jeff Morriss1-82/+82
svn path=/trunk/; revision=34227
2010-04-06#include <string.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32410
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2009-09-24Don't guard col_append_str with check_colKovarththanan Rajaratnam1-3/+1
svn path=/trunk/; revision=30125
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-3/+1
svn path=/trunk/; revision=29346
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-3/+1
svn path=/trunk/; revision=29345
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-34/+34
(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-08-25#include <prefs.h> not req'dBill Meier1-1/+0
svn path=/trunk/; revision=26089
2008-07-15Frame numbers are unsigned, so 0xffffffff isn't a special out-of-bandGuy Harris1-24/+14
value. They start at 1, though, so 0 *is* a special out-of-band value. There is no guarantee that you can use a pointer as a 32-bit integral value; the compiler warns if you do, at least on some platforms. svn path=/trunk/; revision=25744
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-1/+1
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster. Replace - col_append_fstr() with faster col_append_str() - col_add_str() with col_set_str() when it's safe svn path=/trunk/; revision=23252
2007-10-02get rid of a check for null we dont needRonnie Sahlberg1-3/+1
coverity 257 svn path=/trunk/; revision=23044
2007-09-25add more control namesRonnie Sahlberg1-0/+14
svn path=/trunk/; revision=22944
2007-08-28improve the ctdb dissector to track request/responses for controls and Ronnie Sahlberg1-15/+443
start decoding some control payload svn path=/trunk/; revision=22700
2007-06-04add the name for the keeaplive pduRonnie Sahlberg1-2/+4
svn path=/trunk/; revision=22035
2007-06-04there is no longer a FINISHED pdu in the protocolRonnie Sahlberg1-8/+4
svn path=/trunk/; revision=22034
2007-06-02srvid is also aligned to an 8 byte boundaryRonnie Sahlberg1-0/+1
svn path=/trunk/; revision=22029
2007-06-02add a new field to one of the pdusRonnie Sahlberg1-0/+12
rsn in dmaster request/response is aligned to a 64 bit bundary svn path=/trunk/; revision=22028
2007-06-02show the database name for ctdb.dbid fieldsRonnie Sahlberg1-1/+10
svn path=/trunk/; revision=22027
2007-06-02update the ctdb controls to match the current version of the protocol Ronnie Sahlberg1-33/+99
svn path=/trunk/; revision=22023
2007-05-02Fix the windows build by changing uint32_t into guint32.Jaap Keuter1-2/+2
svn path=/trunk/; revision=21648
2007-05-02updates to the ctdb dissector to follow the latest protocolRonnie Sahlberg1-44/+165
svn path=/trunk/; revision=21646
2007-04-23add request/response matching for ctdbRonnie Sahlberg1-7/+299
svn path=/trunk/; revision=21523
2007-04-06update of dissector to reflect wire format changesRonnie Sahlberg1-22/+73
svn path=/trunk/; revision=21345
2007-04-06initial CTDB dissectorRonnie Sahlberg1-0/+277
svn path=/trunk/; revision=21344