aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtsp.c
AgeCommit message (Collapse)AuthorFilesLines
2013-12-12- Make local functions static.Anders Broman1-0/+2
- Forward declaration of register functions. svn path=/trunk/; revision=53958
2013-12-03When including <epan/prefs.h> don't force inclusion of <epan/uat.h>Jakub Zawadzki1-0/+1
svn path=/trunk/; revision=53769
2013-11-30Add wifi display port to the RTSP dissector. Bug 9339 ↵Michael Mann1-26/+20
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9339) From chaitanya From me: Add another obsolete preference and cleanup whitespace svn path=/trunk/; revision=53667
2013-11-02Require dissector_try_string to pass a data parameter to its subdissectors. ↵Michael Mann1-1/+1
There weren't that many calls, so might as well modify the function than create a need for dissector_try_string_new. svn path=/trunk/; revision=53049
2013-09-22emem -> wmem conversion:Pascal Quantin1-2/+2
- 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-15emem -> wmemMartin Kaiser1-9/+12
svn path=/trunk/; revision=52076
2013-07-25Add a few filters to keep checkAPIs.pl happy.Michael Mann1-22/+18
svn path=/trunk/; revision=50893
2013-06-14Remove check_col() and the occasional tree.Michael Mann1-27/+23
svn path=/trunk/; revision=49921
2013-03-19From beroset:Anders Broman1-6/+6
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48430
2012-12-26Fix a bunch of warnings.Guy Harris1-3/+3
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-10-18Minor cleanup:Bill Meier1-1300/+1299
- revert incorrect replacement of FALSE by ENC_BIG_ENDIAN done a while back (9 instances); [The incorrect use of ENC_BIG_ENDIAN was benign since ENC_BIG_ENDIAN is currently defined as 0x0000000]; - remove some unneeded initializers; - unsigned --> guint; - remove unneeded #includes. - whitespace changes. svn path=/trunk/; revision=45642
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-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
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-06-22Use ENC_BIG_ENDIAN.Anders Broman1-10/+10
svn path=/trunk/; revision=37753
2011-06-21From Stéphane Gorse:Anders Broman1-0/+179
The menu gets a new item (Statistics -> RTSP -> Packet Counter). Like HTTP, filter can be set and then the dialog windows shows the result of the RTSP analysis. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6042 svn path=/trunk/; revision=37741
2011-05-20Add #include <stdlib.h> to files which reference fcns declared in stdlib.h;Bill Meier1-8/+10
(In many cases I previously incorrectly removed the #include <stdlib.h>). svn path=/trunk/; revision=37334
2011-05-04Cleanup: replace sizeof(arr)/sizeof(arr[0]) with shorter array_length(arr)Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=36986
2011-04-22Fix warning about using wrong enum that is probably causing an actualStephen Fisher1-1/+1
bug: whenever call_state is assigned to VOIP_CALL_SETUP in other parts of Wireshark code (such as gtk/voip_calls.c), then call_active_state is set to VOIP_ACTIVE. Do that here too. It was set to VOIP_NO_STATE (from the wrong enum), which would have likely resulted in the wrong value being assigned. svn path=/trunk/; revision=36824
2011-04-19From Michael Mann via bug 2794:Stig Bjørlykke1-1/+1
Fixed display filters with obvious typos. svn path=/trunk/; revision=36713
2011-03-25From Didier via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3055 :Jeff Morriss1-4/+7
Apply rev 25869 to most of the rest of the TCP-desegmenting dissectors. (The SSL dissector was already updated in one of two spots with bug 4535/rev 32456.) A couple of the patches had to be manually applied. From me: Fix the comments to match the change (including in the TCP and SSL dissectors.) svn path=/trunk/; revision=36332
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-4/+4
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-08-06From John Sullivan: Fix for 'Uninitialised pointer in packet-rtsp.c causes ↵Bill Meier1-1/+1
crash' See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5081 svn path=/trunk/; revision=33725
2010-05-13As suggested in ↵Jeff Morriss1-28/+19
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-04Remove forgotten useless linesTomas Kukosa1-2/+0
svn path=/trunk/; revision=31784
2010-01-08fix Linux build errorTomas Kukosa1-1/+2
svn path=/trunk/; revision=31467
2010-01-08display RTSP in VoIP calls (first simple attempt)Tomas Kukosa1-3/+34
svn path=/trunk/; revision=31466
2009-10-25From Jakub Zawadzki:Anders Broman1-3/+1
Cleanup dissector code - use proper memory functions. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4164 svn path=/trunk/; revision=30691
2009-08-26(FWIW) One step towards including stdio.h & stdlib.h only when req'd.Bill Meier1-1/+1
svn path=/trunk/; revision=29568
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-11/+11
(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-05-19Get info about media type(Video or not) a first step towards usage in rtp ↵Anders Broman1-1/+2
statistics. svn path=/trunk/; revision=28415
2009-04-06More size_t fixes.Gerald Combs1-8/+8
svn path=/trunk/; revision=27977
2009-01-17Use ascii_strdown_inplace instead of g_ascii_strdown in a few places.Bill Meier1-7/+7
This also fixes a few cases where memory was not freed after g_ascii_strdown. svn path=/trunk/; revision=27254
2008-11-13Small changes related to proto_register & proto_reg_handoffBill Meier1-1/+1
- Move find_dissector_table(...) to proto_reg_handoff; - Use dissactor_add_handle instead of registering the dissector to tcp port 0; - Use find_dissector when appropriate. svn path=/trunk/; revision=26767
2008-09-15Minor cleanup related to proto_reg_handoffBill Meier1-22/+19
svn path=/trunk/; revision=26196
2008-05-07Comment out condition which is always true (based on theMichael Tüxen1-0/+2
choosen data types). svn path=/trunk/; revision=25250
2008-05-07From Peter Kjellerstedt:Jaap Keuter1-1/+1
For some reason only the first eight interleaved RTSP channels are supported by epan/dissectors/packet-rtsp.c. This is a problem for us as one of our servers use the channel numbers in a round robin fashion and will thus use all 256 channels. svn path=/trunk/; revision=25249
2008-04-09Remove:Anders Broman1-4/+0
#ifdef NEED_G_ASCII_STRCASECMP_H #include "g_ascii_strcasecmp.h" #endif svn path=/trunk/; revision=24859
2008-04-07- Remove GLIB1 codeStephen Fisher1-5/+1
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION - Remove ws_strsplit files because we no longer need to borrow GLIB2's g_strsplit code for the no longer supported GLIB1 builds svn path=/trunk/; revision=24829
2008-04-04Make the RTSP dissector findable by name.Martin Mathieson1-0/+3
svn path=/trunk/; revision=24771
2007-12-09Move the routines tvb_skip_wsp() to tvbuff.cAnders Broman1-53/+0
svn path=/trunk/; revision=23818
2007-11-27strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delendaGuy Harris1-7/+11
est. Use g_ascii_strcasecmp() and g_ascii_strncasecmp(), and supply our own versions if they're missing from GLib (as is the case with GLib 1.x). In the code to build the list of named fields for Diameter, don't use g_strdown(); do our own g_ascii_-style upper-case to lower-case mapping in the hash function and use g_ascii_strcasecmp() in the compare function. We do this because there is no guarantee that toupper(), tolower(), and functions that use them will, for example, map between "I" and "i" in all locales; in Turkish locales, for example, there are, in both upper case and lower case, versions of "i" with and without a dot, and the upper-case version of "i" is "I"-with-a-dot and the lower-case version of "I" is "i"-without-a-dot. This causes strings that should match not to match. This finishes fixing bug 2010 - an earlier checkin prevented the crash (as there are other ways to produce the same crash, e.g. a bogus dictionary.xml file), but didn't fix the case-insensitive string matching. svn path=/trunk/; revision=23623
2007-10-27From Andrew Feren:Anders Broman1-1/+2
patch to test for NULL media_type_str_lower_case. svn path=/trunk/; revision=23286
2007-10-24Remove unused variable.Anders Broman1-1/+0
svn path=/trunk/; revision=23269
2007-10-24Use the media_type_dissector_table for the content type.Anders Broman1-67/+103
Add a few media types. svn path=/trunk/; revision=23268
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
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-09-28fix #480: Change defaults for all reassembling settings to ONUlf Lamping1-2/+2
I've changed all settings I could find to TRUE. It might be reasonable to change some protocol settings back to FALSE, if reassembling fails very often. svn path=/trunk/; revision=16048
2005-09-01From Martin MathiesonAnders Broman1-24/+58
These small patches: - add RTSP header 'RDTFeatureLevel as a proper field - show feature level in RDT stream setup info - tidy up RDT info column text svn path=/trunk/; revision=15647