aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-msrp.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-1/+1
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39260
2011-07-15Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings;Bill Meier1-21/+16
Also: - Move proto_reg_handoff_msrp() to the end of the file; - Define a function and a global variable as static; svn path=/trunk/; revision=38034
2011-07-11Change encoding type from FALSE to ENC_BIG_ENDIAN.Anders Broman1-18/+18
svn path=/trunk/; revision=37963
2011-07-10From Jaap:Anders Broman1-2/+2
Limit the search to the line. svn path=/trunk/; revision=37955
2011-05-20Add #include <stdlib.h> to files which reference fcns declared in stdlib.h;Bill Meier1-3/+3
(In many cases I previously incorrectly removed the #include <stdlib.h>). svn path=/trunk/; revision=37334
2011-05-18Convert tabs to "4 spaces" since it appears that tabs are "4 space tabs";Bill Meier1-754/+754
svn path=/trunk/; revision=37234
2011-05-18Remove code to generate an unuse sub-tree: Coverity: 976;Bill Meier1-12/+3
Don't assign to an unused variable: Coverity 977; #include <stdlib.h> & <string.h> not req'd. svn path=/trunk/; revision=37233
2011-05-05Cleanup: replace se_alloc+memcpy combo with single se_memdup().Jakub Zawadzki1-2/+1
svn path=/trunk/; revision=36996
2011-03-29Remove check_col().Anders Broman1-17/+13
svn path=/trunk/; revision=36396
2010-10-30Make tvb_strneql()'s size parameter be a size_t. Remove some ↵Jeff Morriss1-1/+1
now-unnecessary casts. svn path=/trunk/; revision=34725
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2010-01-25From Didier Gautheron via bug 4419:Stig Bjørlykke1-10/+1
se_alloc and ep_alloc never return NULL and se_alloc0 already initialized data with 0. svn path=/trunk/; revision=31654
2009-08-21Sanitize epan includesKovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29499
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29446
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-25/+25
(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-13Apply some of the patches from:Anders Broman1-1/+5
http://wiki.wireshark.org/Development/Optimization svn path=/trunk/; revision=28356
2009-04-06More size_t casts/fixes, and string buffers.Gerald Combs1-1/+1
svn path=/trunk/; revision=27968
2009-03-22P64 changes: Fix some cases for which size_t is not requiredBill Meier1-1/+1
svn path=/trunk/; revision=27822
2009-01-17Use ascii_strdown_inplace instead of g_ascii_strdown in a few places.Bill Meier1-5/+6
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-4/+3
- 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-04-07- Remove GLIB1 codeStephen Fisher1-5/+0
- 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-03-01Rewrote to use g_strlcpy and g_strlcat.Stig Bjørlykke1-3/+2
svn path=/trunk/; revision=24525
2007-08-15- s/ntohs/g_ntohsJeff Morriss1-13/+13
- s/ntohl/g_ntohl - s/free/g_free - Change some tvb_get_string()+g_free()'s into tvb_get_ephemeral_string() - Change some tvb_fake_unicode()+g_free()'s into tvb_get_ephemeral_faked_unicode() - Change some tvb_get_string() calls that were clearly memory leaks (like atoi(tvb_get_string(...))) into tvb_get_ephemeral_string() svn path=/trunk/; revision=22515
2007-03-28Remove almost all of the casts I committed recently and in place ofStephen Fisher1-5/+5
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it. svn path=/trunk/; revision=21253
2007-03-27Fix some more warnings under gcc 4.0Stephen Fisher1-7/+7
svn path=/trunk/; revision=21237
2006-12-07As ponted out by Stig Bjørlykke change a whole bunch of dissector_handle_t ↵Anders Broman1-1/+1
to static. svn path=/trunk/; revision=20062
2006-11-06Remove some // comments.Jörg Mayer1-1/+1
Fix a warning about nested comments. svn path=/trunk/; revision=19828
2006-09-20Make the data part of the message filterableMartin Mathieson1-2/+11
svn path=/trunk/; revision=19265
2006-08-01Fix a duplicate MSRP filter stringMartin Mathieson1-1/+1
svn path=/trunk/; revision=18810
2006-07-28From Martin Mathieson:Anders Broman1-1/+180
- allow SDP to parse the IP address + port for the MSRP session from the path attribute - setup an MSRP conversation using this address, whose data points back to the SDP frame - link to the SDP setup frame while dissecting MSRP (can be switched off by a preference) - I also changed sdp.media.port to be a numeric field svn path=/trunk/; revision=18806
2006-07-19From Martin Mathieson:Anders Broman1-61/+112
This patch: - adds headers found in later versions of the msrp drafts - fixes a problem where wrong length values were used while parsing the request/status line and it was going beyond linelen - "Transaktion" -> "Transaction" - status code now appears as a numerical field - removes unused parameters from check_msrp_header() - tidies up some indentation It has survived some fuzz-testing. svn path=/trunk/; revision=18766
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=18196
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵Ronnie Sahlberg1-4/+4
documentation in README.developer svn path=/trunk/; revision=15270
2005-08-08various code cleanup:Ulf Lamping1-4/+0
-use g_snprintf instead of sprintf and snprintf -use g_strdup_printf where appropriate -remove #include "snprintf.h" (as only g_snprintf should be used) -replace some more alloc/realloc/calloc/free with their glib pendants svn path=/trunk/; revision=15264
2005-07-30More char -> const char fixesJörg Mayer1-1/+1
Declare some functions static svn path=/trunk/; revision=15158
2005-07-24some more dissectors converted to ep_tvb_get_stringRonnie Sahlberg1-7/+4
again at least one obvious memleak was found in the old code svn path=/trunk/; revision=15031
2005-06-16Include <ctype.h> to get "isdigit()" defined/declared.Guy Harris1-9/+7
"dissect_msrp()" is a "new-style" dissector; register it as such. Squelch an uninitialized variable warning. svn path=/trunk/; revision=14650
2005-05-30Add dissection of MSRP Anders Broman1-0/+741
http://www.ietf.org/internet-drafts/draft-ietf-simple-message-sessions-10.txt svn path=/trunk/; revision=14491