aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-beep.c
AgeCommit message (Collapse)AuthorFilesLines
2013-11-23Create the ability to have packet scoped "proto" data. Bug 9470 ↵Michael Mann1-3/+3
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9470) I'm not sold on the name or module the proto_data functions live in, but I believe the function arguments are solid and gives us the most flexibility for the future. And search/replace of a function name is easy enough to do. The big driving force for getting this in sooner rather than later is the saved memory on ethernet packets (and IP packets soon), that used to have file_scope() proto data when all it needed was packet_scope() data (technically packet_info->pool scoped), strictly for Decode As. All dissectors that use p_add_proto_data() only for Decode As functionality have been converted to using packet_scope(). All other dissectors were converted to using file_scope() which was the original scope for "proto" data. svn path=/trunk/; revision=53520
2013-10-13whitespace fixes; mostly: remove trailing blanksBill Meier1-6/+6
svn path=/trunk/; revision=52591
2013-09-12Convert a few more dissectors to wmem.Evan Huus1-5/+5
svn path=/trunk/; revision=51967
2013-07-03Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+1
svn path=/trunk/; revision=50344
2013-07-03expert_add_info + proto_tree_add_text = proto_tree_add_expert, where applicableMichael Mann1-8/+4
svn path=/trunk/; revision=50337
2013-06-09Batch of filterable expert infos.Michael Mann1-4/+19
svn path=/trunk/; revision=49853
2013-05-12Add the posibillity to use a key for per-packet-data.Anders Broman1-3/+3
svn path=/trunk/; revision=49259
2013-03-19From beroset:Anders Broman1-1/+1
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48426
2013-03-14[-Wmissing-prototypes]Anders Broman1-4/+6
explicit casts. svn path=/trunk/; revision=48302
2013-02-25Fix Coverity CID 986569: Unused pointer value.Chris Maynard1-1/+1
svn path=/trunk/; revision=47881
2013-02-23Convert proto_tree_add_text to proto_tree_add_item and expert_info.Michael Mann1-187/+103
svn path=/trunk/; revision=47832
2013-01-31Comment out unused hf[] entries & etc.Bill Meier1-2/+10
(found by checkhf) svn path=/trunk/; revision=47389
2012-12-02Remove unneeded variable initializers.Evan Huus1-1/+1
svn path=/trunk/; revision=46328
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-07-16proto_tree_add_boolean() takes value not ENC_ flag.Jakub Zawadzki1-11/+11
svn path=/trunk/; revision=43747
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-25The rest of the fix for Coverity CID's 280507 and 280508. (There were ↵Chris Maynard1-8/+9
multiple occurrences grouped into the 2 CID's, but I hadn't noticed them all.) svn path=/trunk/; revision=42848
2012-05-25tvb_length_remaining() can return a negative number, so be sure to handle ↵Chris Maynard1-2/+2
it. Fixes Coverity CID's 280507 and 280508. svn path=/trunk/; revision=42847
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-2/+2
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-09-26Get rid of check_col, while at it set ENC.Anders Broman1-18/+16
svn path=/trunk/; revision=39147
2011-04-04 Don't assign to a proto_item * if the value won't be used: Coverity 850;Bill Meier1-7/+4
Also: remove some unneeded #includes. svn path=/trunk/; revision=36466
2011-02-17Fix some Visual C++ analysis warnings.Gerald Combs1-2/+3
svn path=/trunk/; revision=35988
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-05-13As suggested in ↵Jeff Morriss1-7/+1
http://www.wireshark.org/lists/wireshark-dev/200809/msg00075.html (as referenced in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2907 ) and https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3411 : Write a new convenience routine for finding a conversation and, if it is not found, create it. The frame number and addresses are taken from pinfo (as is the common case). Use this function in a bunch of dissectors. svn path=/trunk/; revision=32790
2009-09-30Added some check for a valid beep_frame_data.Stig Bjørlykke1-88/+87
Untabify file. svn path=/trunk/; revision=30220
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-19/+19
(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
2008-10-31Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=26646
2008-09-11Minor cleanup related to proto_reg_handoff ....Bill Meier1-5/+4
svn path=/trunk/; revision=26176
2008-09-02Minor cleanup (mostly related to proto_reg_handoff...)Bill Meier1-2/+1
svn path=/trunk/; revision=26121
2008-06-27Fix some warnings reported by gcc -Wshadow ...Bill Meier1-39/+39
svn path=/trunk/; revision=25616
2008-05-09Fix some of the Errors/warnings detected by checkapi.Anders Broman1-12/+26
svn path=/trunk/; revision=25264
2008-02-07Removed even more "statement not reached" warnings.Stig Bjørlykke1-4/+5
svn path=/trunk/; revision=24286
2007-03-26From Sebastien Tandel Ronnie Sahlberg1-1/+1
fixes for various compiler warnings svn path=/trunk/; revision=21210
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=18196
2005-08-12some more gmemchunk -> se_alloc() improvementsRonnie Sahlberg1-23/+5
svn path=/trunk/; revision=15309
2005-07-28char -> const char warning fixesJörg Mayer1-1/+1
svn path=/trunk/; revision=15126
2005-07-09Squelch various signed vs. unsigned warnings by:Guy Harris1-2/+2
making pointers to byte data be "guint8 *" rather than "char *", and making buffers holding byte data arrays of "guint8" rather than arrays of "char"; making pointers to text strings "char *" rather than "guchar *"; appropriately casting pointers (cast to "guint8 *" when passing to routines expecting "guint8 *" or when assigning to "guint8 *"); making port-number preferences "guint"; making enum preferences "gint"; making hf_ variables "int". Clean up white space. svn path=/trunk/; revision=14884
2005-02-02From Jon Ringle:Anders Broman1-2/+2
1) Added a setup_frame parameter to conversation_t 2) Used the conversation_t next to maintain a list of conversations with the same src/dest tuple but different setup_frame number. 3) Changed the signature of find_conversation() and conversation_new() to pass in the frame number. 4) Adjusted packet-sdp to select RTP conversation if both m=audio and m=image are present, and T.38 conversation if only m=image is present. I expect that RTP/T.38 dissecting to be better, but I don't have a way to generate T.38 packets. svn path=/trunk/; revision=13243
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.Guy Harris1-1/+1
svn path=/trunk/; revision=12115
2004-08-06From Albert Chin: rename resolv.{ch} to addr_resolv.{ch}, so that anGuy Harris1-1/+1
include of <resolv.h> in any system header file gets the system <resolv.h> (needed for builds on Tru64 with GTK+ 1.2[.x]). svn path=/trunk/; revision=11615
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+1121
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