aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-atalk.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-27As suggested in ↵Jeff Morriss1-12/+12
http://www.wireshark.org/lists/wireshark-dev/201204/msg00062.html : Don't use ENC_BIG_ENDIAN or ENC_LITTLE_ENDIAN with ENC_ASCII: ASCII has no endianism, so ENC_NA is more appropriate. svn path=/trunk/; revision=42297
2012-03-06Use tvb_new_subset_remaining() rather than tvb_new_subset();Bill Meier1-99/+99
Do minir whitespace cleanup. svn path=/trunk/; revision=41366
2012-02-06Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-7/+8
svn path=/trunk/; revision=40905
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-11/+11
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-17Fixup some display filter names.Chris Maynard1-3/+3
svn path=/trunk/; revision=39449
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-12/+12
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-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-19/+19
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-09-26Get rid of check_col, while at it set ENC.Anders Broman1-165/+150
svn path=/trunk/; revision=39146
2011-09-21Fix vi "modeline" so it works;Bill Meier1-1/+1
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748 svn path=/trunk/; revision=39074
2011-03-25use the newly created tree to store the new items instead of the parent treeRonnie Sahlberg1-1/+1
coverity 842 svn path=/trunk/; revision=36328
2011-01-30Introduce "Fragment count" filter element for all protocols doing reassembly.Stig Bjørlykke1-0/+6
svn path=/trunk/; revision=35705
2011-01-16Use tvb_memeql().Jeff Morriss1-7/+5
Use tvb_ip_to_str(). There's no need to pass the result of tvb_get_ptr() as the 'value' in proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s to ensure the return string is NULL terminated. svn path=/trunk/; revision=35547
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-13/+13
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-11-08Use value_string_ext fcns to access certain value_string arrays;Bill Meier1-72/+79
Sort a few value_string arrays to be in ascending order by value; Do minor reformatting and whitespace cleanup. svn path=/trunk/; revision=34813
2010-09-23Replace blurbs that match the name (case insensitive) with NULL.Jeff Morriss1-1/+1
svn path=/trunk/; revision=34227
2010-05-13As suggested in ↵Jeff Morriss1-8/+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-05-10Indentation & whitespace cleanup (including: "4 space tabs" ==> spaces)Bill Meier1-362/+362
svn path=/trunk/; revision=32735
2010-02-03Changed "reassembled_length" -> "reassembled.length".Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=31776
2010-02-02Introduce "Reassembled length" filter element for all protocols doingStig Bjørlykke1-1/+7
reassembly. svn path=/trunk/; revision=31767
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-4/+4
svn path=/trunk/; revision=29446
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-20/+10
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-22/+11
svn path=/trunk/; revision=29340
2009-07-23Use consistent indentation ...Bill Meier1-669/+680
svn path=/trunk/; revision=29185
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-75/+75
(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-19From Artem Tamazov (bug 3472):Stig Bjørlykke1-0/+3
Save/Restore pinfo->private_data when used. svn path=/trunk/; revision=28412
2009-03-18Clean up indentation.Guy Harris1-11/+13
Note that -5047 can also mean "disk quota exceeded". Define the ASP errors as 32-bit (negative) numbers, just like the AFP errors. Add a couple of ASP errors to the list of error values. svn path=/trunk/; revision=27792
2008-12-18Fix various typos and spelling errors (mostly in text strings)Bill Meier1-1/+1
svn path=/trunk/; revision=27050
2008-05-09Fix some of the Errors/warnings detected by checkapi.Anders Broman1-6/+11
svn path=/trunk/; revision=25264
2007-11-28Use guints instead of guint8s for counters.Gerald Combs1-17/+17
svn path=/trunk/; revision=23646
2007-11-28Fixed a possible infinite loop.Stig Bjørlykke1-3/+3
svn path=/trunk/; revision=23642
2007-10-15Implement some of the minor possible speed improvment patches.Anders Broman1-2/+2
svn path=/trunk/; revision=23192
2007-03-26From Sebastien Tandel Ronnie Sahlberg1-12/+13
fixes for various compiler warnings svn path=/trunk/; revision=21210
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-10-13From DidierAnders Broman1-19/+241
small AFP bugfix and a PAP dissector svn path=/trunk/; revision=16214
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-4/+4
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-08-14Some 'no previous declararion' warning fixesJörg Mayer1-0/+1
svn path=/trunk/; revision=15355
2005-08-12more gmemchunk -> se_alloc() improvementsRonnie Sahlberg1-35/+5
svn path=/trunk/; revision=15311
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵Ronnie Sahlberg1-3/+3
documentation in README.developer svn path=/trunk/; revision=15270
2005-07-24convert some uses of tvb_get_string() to ep_tvb_get_string()Ronnie Sahlberg1-6/+3
there was at least one obvious memleak in one of the uses of tvb_get_string() svn path=/trunk/; revision=15027
2005-02-09Move the following files from /trunk to /trunk/epan:Lars Roland1-1/+1
asn1.[ch] follow.[ch] ptvcursor.[ch] reassemble.[ch] xmlstub.[ch] fix #include statements accordingly. svn path=/trunk/; revision=13366
2005-02-02From Jon Ringle:Anders Broman1-4/+4
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
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.Guy Harris1-1/+1
svn path=/trunk/; revision=12115
2004-08-21Prevent the word "desegmentation" at the GUI, but use reassembling at that ↵Ulf Lamping1-2/+2
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/+2303
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