aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ldss.c
AgeCommit message (Collapse)AuthorFilesLines
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-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-10Use val_to_str_const() where appropriate;Bill Meier1-2/+2
Also (for a few files): - create/use some extended value strings; - remove unneeded #include files; - remove unneeded variable initialization; - re-order fcns slightly so prefs_reg_handoff...() at end, etc svn path=/trunk/; revision=44438
2012-06-28Update FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2011-12-14Add call to add_new_data_source() for a newly created REAL_DATA tvb.Bill Meier1-1/+9
svn path=/trunk/; revision=40203
2011-12-13Prevent memory leakage of uncompress tvb and associated data buffer (step 1).Bill Meier1-1/+1
(tvb memory leak will actually remain until a bug in tvbuff.c is also fixed). svn path=/trunk/; revision=40171
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-3/+3
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-8/+8
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
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-2/+2
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-05-26From Michael Mann.Anders Broman1-1/+1
Part of "display filters with redundancies of PROTABBREV in them." The ones left outs should be fixed differently I think. Rename som ndps hf variables while at it. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2794 svn path=/trunk/; revision=37406
2011-05-20Add #include <stdlib.h> to files which reference fcns declared in stdlib.h;Bill Meier1-2/+4
(In many cases I previously incorrectly removed the #include <stdlib.h>). svn path=/trunk/; revision=37334
2011-03-25Don't assign to a proto_item* if the value won't be used: Coverity 958-961.Bill Meier1-60/+60
svn path=/trunk/; revision=36335
2011-02-10Modify proto_tree_add_bytes_format() and proto_tree_add_bytes_format_value()Jeff Morriss1-4/+2
so that if the start_ptr is NULL the bytes are extracted from the given TVB using the given offset and length. Replace a bunch of: proto_tree_add_bytes_format*(tree, hf, tvb, offset, length, tvb_get_ptr(tvb, offset, length), [...]) with: proto_tree_add_bytes_format*(tree, hf, tvb, offset, length, NULL, [...]) svn path=/trunk/; revision=35896
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-10-20Fix SE memory corruption reported in ↵Jeff Morriss1-0/+2
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5318 : Ensure the digest is smaller than our buffer before copying it. svn path=/trunk/; revision=34581
2010-10-10Define some fcns & vars as static; Some #includes not req'd; packet-mikey.h ↵Bill Meier1-26/+25
not req'd. svn path=/trunk/; revision=34464
2010-01-25Change back from tvb_child_uncompress() to tvb_uncompress() whenStig Bjørlykke1-1/+1
parent is NULL, because this will lead to a DISSECTOR_ASSERT in tvb_set_child_real_data_tvbuff(). This bug was introduced in revision 31499. svn path=/trunk/; revision=31659
2010-01-18Fix some gcc -Wshadow warnings ....Bill Meier1-5/+5
svn path=/trunk/; revision=31559
2010-01-11Fix part of Bug 3917 "tvb_new_real_data is prone to memory leak"Anders Broman1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3917 svn path=/trunk/; revision=31499
2009-09-24Remove check_col() guardKovarththanan Rajaratnam1-9/+3
svn path=/trunk/; revision=30124
2009-09-23Use col_set_str instead of col_add_fstr/col_add_str when adding constant ↵Kovarththanan Rajaratnam1-1/+1
strings to COL_INFO svn path=/trunk/; revision=30089
2009-09-23Use col_set_str instead of col_add_fstri/col_add_str when adding constant ↵Kovarththanan Rajaratnam1-2/+2
strings to COL_PROTOCOL svn path=/trunk/; revision=30088
2009-08-26(FWIW) One step towards including stdio.h & stdlib.h only when req'd.Bill Meier1-1/+3
svn path=/trunk/; revision=29568
2009-07-07From Kovarththanan Rajaratnam:Stig Bjørlykke1-3/+3
More FT_XXX cleanup. svn path=/trunk/; revision=28971
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-3/+3
(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-03-29Fix code so changing port pref will work + other small changes:Bill Meier1-208/+207
- Use NULL instead of "" in blurb in hf[]; - Remove unnecessary #includes; - Make various internal functions static; - Use tabs consistently for indentation; - Some reformatting of statements; svn path=/trunk/; revision=27885
2009-03-29Fix:Anders Broman1-1/+1
packet-ldss.c: In function 'dissect_ldss_transfer': packet-ldss.c:469: warning: 'ldss_tree' may be used uninitialized in this function packet-ldss.c:469: warning: 'line_tree' may be used uninitialized in this function svn path=/trunk/; revision=27881
2009-03-29Squelch warning about variable may be used uninitialized in this functionStephen Fisher1-1/+1
svn path=/trunk/; revision=27878
2009-03-29Patch from enhancement bug #3265: LDSS (local download sharing service)Stephen Fisher1-0/+1017
svn path=/trunk/; revision=27877