aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-applemidi.c
AgeCommit message (Collapse)AuthorFilesLines
2013-10-29From didier gautheron: remove redundant or use faster col_xxx functionsBill Meier1-3/+0
- when the text parameter is constant col_add_str() and col_set_str() are equivalent but col_set_str() is faster. - same for replace col_append_fstr and col_append_str - remove col_clear() when it's redundant: + before a col_set/col_add if the dissector can't throw an exception. - replace col_append() after a col_clear() with faster col_add... or col_set https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9344 svn path=/trunk/; revision=52948
2013-09-22emem -> wmem conversion:Pascal Quantin1-1/+1
- ep_tvb_get_bits() -> wmem_packet_tvb_get_bits() - tvb_g_memdup()/ep_tvb_memdup() -> tvb_memdup() - tvb_fake_unicode()/tvb_get_ephemeral_faked_unicode() -> tvb_get_faked_unicode() - tvb_get_g_string()/tvb_get_ephemeral_string()/tvb_get_seasonal_string() -> tvb_get_string() - tvb_get_g_unicode_string()/tvb_get_ephemeral_unicode_string() -> tvb_get_unicode_string() - tvb_get_ephemeral_string_enc() -> tvb_get_string_enc() - update docs accordingly svn path=/trunk/; revision=52172
2013-09-12Convert a few dissectors from emem to wmem APIPascal Quantin1-3/+4
svn path=/trunk/; revision=51983
2013-03-12- [-Wmissing-prototypes]Anders Broman1-2/+5
- explicit casts. svn path=/trunk/; revision=48274
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-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-19use session allocated memory for rtp_add_address/srtp_add_address hash tablesMichael Mann1-14/+4
svn path=/trunk/; revision=44571
2012-07-22Update display filter names per Bug 2794. Part 1 of many.Michael Mann1-1/+1
svn path=/trunk/; revision=43907
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-04-23Do indentation cleanup (e.g., 4-space tabs => spaces)Bill Meier1-8/+15
Reformat a few long lines. svn path=/trunk/; revision=42213
2012-03-02Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+1
svn path=/trunk/; revision=41308
2012-02-27packet-applemidi.c:296:33: error: unused variable ‘p_conv_data’Anders Broman1-1/+1
svn path=/trunk/; revision=41202
2012-02-27From Tobias Erichsen:Anders Broman1-37/+136
RTP-MIDI - dissector for transmission of MIDI-commands via RTP (RFC 4695). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5451 svn path=/trunk/; revision=41200
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-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-1/+1
FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). svn path=/trunk/; revision=39426
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-13/+13
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39288
2010-05-13As suggested in ↵Jeff Morriss1-6/+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
2010-02-07Fix and rework some code a bit:Bill Meier1-77/+62
-No prefs so prefs calback not req'd; -Remove (seemingly) not needed dissector registration on UDP port 0; -Rework dissect_applemidi_heur() and related so that once dissect_applemidi_heur() determines that a pair of UDP addr/ports are being used for the AppleMIDI protocol, dissect_apple_midi() will always be called directly for UDP packets with that pair (rather than dissect_applemidi_heur() always be called for every packet). svn path=/trunk/; revision=31824
2010-02-07Fixed warning: format not a string literal and no format arguments.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=31816
2010-02-07From Tobias Erichsen:Anders Broman1-0/+468
AppleMIDI - dissector for lightweight session protocol used in Apple network MIDI. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4455 svn path=/trunk/; revision=31814