aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtsp.c
AgeCommit message (Collapse)AuthorFilesLines
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
2005-08-19remove g_malloc()Ronnie Sahlberg1-2/+1
svn path=/trunk/; revision=15419
2005-08-12more gmemchunk -> se_alloc() improvementsRonnie Sahlberg1-20/+2
svn path=/trunk/; revision=15312
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵Ronnie Sahlberg1-1/+1
documentation in README.developer svn path=/trunk/; revision=15270
2005-07-31From Martin MathiesonAnders Broman1-93/+160
- Makes more of the header fields filterable - Rationalises a bit the way header lines are parsed svn path=/trunk/; revision=15160
2005-07-24some more dissectors converted to ep_tvb_get_stringRonnie Sahlberg1-2/+1
again at least one obvious memleak was found in the old code svn path=/trunk/; revision=15031
2005-06-10just to get things straight: a dissector should *never* do any g_assert() calls!Ulf Lamping1-1/+1
in a simple approach, I've replaced all g_assert() and g_assert_not_reached() calls by their exception throwing counterparts DISSECTOR_ASSERT() and DISSECTOR_ASSERT_NOT_REACHED() this will replace application crash by showing a dissector bug, which is the desired behaviour there were some g_assert calls in the protocol registering functions, which might not be acting as expected now, but to be able to simply search for g_assert in the future I've replaced that calls too one g_assert remained, the one when someone throws an unknown exception "into" packet_frame.c, but IMHO this one should remain. svn path=/trunk/; revision=14608
2005-05-26These 2 patches make RDT support pretty complete now:Anders Broman1-3/+14
From Martin Mathieson: packet-rdt.c: - register a configurable UDP port (off by default, but needed where setup traffic isn't captured) - dissect extra 'buffer info' fields - move bit fields into 'flags' subtrees - misc. minor fixes and improvements (mainly formatting) packet-rtsp.c: - improve detection of RDT as the transport - allow interleaved frame data to be dissected as RDT packets svn path=/trunk/; revision=14443
2005-03-27Previous commit failed doing them one by one.Anders Broman1-1/+1
From Alejandro Vaquero : Find attached a patch for SDP sessions to: - Dissect Dynamic payload types in RTP packets - Add the dynamic payload type description in RTP packets - Add RTP dynamic payload types description in the Voip Calls Graph, in the RTP and SDP. svn path=/trunk/; revision=13940
2005-03-10From Alejandro Vaquero:Luis Ontanon1-1/+1
- Automatic dissection of RTP events (RFC2833) set in SDP sessions. - Add RTP events (RFC2833) to the Voip Graph svn path=/trunk/; revision=13697
2005-03-06Get rid of "unknown transport" warnings - don't spam the user justGuy Harris1-1/+0
because we haven't yet written a dissector for a particular protocol. svn path=/trunk/; revision=13615
2005-02-19From Martin MathielsonLuis Ontanon1-17/+46
RDT (Realplayer Data Protocol) dissector and patch RTSP to create RDT conversations svn path=/trunk/; revision=13431
2005-02-02From Jon Ringle:Anders Broman1-3/+3
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
2005-01-26if there must be an "unknown transport" message, at least print the ↵Ulf Lamping1-1/+1
transport name svn path=/trunk/; revision=13178
2005-01-20There's no guaranteee that "req_resp_hdrs_do_reassembly()" gets calledGuy Harris1-1/+3
only at the beginning of a tvbuff, so it needs an argument that's the starting offset in the tvbuff. svn path=/trunk/; revision=13128
2004-12-25a lot of warnings removed, most of them about pointer to int casts without ↵Ulf Lamping1-1/+1
using the appropriate GLib macros svn path=/trunk/; revision=12832
2004-09-29Move the request/response header helper routines to the epan directory.Guy Harris1-1/+1
svn path=/trunk/; revision=12129
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.Guy Harris1-1/+1
svn path=/trunk/; revision=12115
2004-08-30Pass an "address *" to "rtp_add_address()" and "rtcp_add_address()", soGuy Harris1-5/+2
so that they could handle IPv6 addresses. Clean up white space. svn path=/trunk/; revision=11854
2004-08-21Prevent the word "desegmentation" at the GUI, but use reassembling at that ↵Ulf Lamping1-3/+4
places, as we also use "defragmentation" and "reassembling". Use reassembling as the general term for such actions. I (hopefully) didn't changed any protocol fields or preference file names, but only the GUI labels appearing in the protocol display and the protocol preferences. Also added a note to the protocol preferences (where appropriate), that you have to enable "Allow subdissectors to reassemble TCP streams" at the corresponding protocol settings for TCP reassembling to take effect. If you encounter any mistakes I've made here, please let me know... svn path=/trunk/; revision=11784
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+1217
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