aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb-browse.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-23Fix a few proto_tree_add_item() encoding args.wmeier1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39514 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.wmeier1-2/+2
Also: remove trailing whitespace for a number of files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39503 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵wmeier1-5/+5
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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39426 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵wmeier1-16/+16
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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39288 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-19Create subtree under the correct parent tree: Coverity 1138.wmeier1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37306 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-16There's no need to pass the result of tvb_get_ptr() as the 'value' inmorriss1-2/+1
proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string() or tvb_get_const_stringz(). Use tvb_memeql() & tvb_memcmp(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35558 f5534014-38df-0310-8fa8-9805f1628bb7
2010-11-10Convert host name to UTF8 before displaying to info column or in tree.cmaynard1-4/+12
Fixes bug 1867. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34837 f5534014-38df-0310-8fa8-9805f1628bb7
2010-09-23Replace blurbs that match the name (case insensitive) with NULL.morriss1-10/+10
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34227 f5534014-38df-0310-8fa8-9805f1628bb7
2010-08-26Show a text string of the Windows version (if Windows 2000 or higher.)sfisher1-0/+41
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33936 f5534014-38df-0310-8fa8-9805f1628bb7
2010-08-03Decode Browse Domain Announcement version and signature if signaturestig1-1/+1
matches 0xaa55. I don't know the historic reason for decoding this as "Mysterious Field", but newer of Network Monitor (3.4) does show this as version and signature. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33696 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-06#include <string.h> not needed.wmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32410 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-03Remove unneeded #include <stdio.h>wmeier1-2/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32367 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-17Remove the address operator from value_string arrays fed to VALS()dimeg1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30995 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_clear with col_checkkrj1-6/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29346 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkkrj1-6/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29345 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-13/+13
(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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
2008-08-26#include <emem.h> not req'dwmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26091 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-16From Michael Adam:jake1-0/+13
This patch adds knowledge of the DFS server type to the SMB-BROWSE dissector. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25460 f5534014-38df-0310-8fa8-9805f1628bb7
2007-11-08Apply yet another set of the optimization patches:etxrab1-2/+2
-set_str2add_str_val_to_str git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23406 f5534014-38df-0310-8fa8-9805f1628bb7
2006-06-18include emem.hsahlberg1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18507 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2005-09-17Move some headers for stuff defined by a dissector into epan/dissectorsguy1-1/+1
- and rename smb.h to packet-smb.h, as it's packet-smb.c's header file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15845 f5534014-38df-0310-8fa8-9805f1628bb7
2005-09-17Move a pile of protocol-related headers from the top-level sourceguy1-1/+1
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15844 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10tvb_get_stringz() to tvb_get_ephemeral_stringz() conversion.sahlberg1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15275 f5534014-38df-0310-8fa8-9805f1628bb7
2005-05-27The DESIRE_ and OS_ values are bit indices, not numerical values thatguy1-18/+1
appear by themselves; get rid of the value_string tables for them. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14450 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-24In "dissect_smb_server_type_flags()":guy1-28/+31
explicitly pass NULL as the tree argument to "dissect_ndr_uint32()" - "tree", which was passed before, was definitely null at that point, and the intent is that it not put anything into the protocol tree; use the correct offset when putting items into the protocol tree (the offset has been advanced just past the end of the field at the time the items are being put into the protocol tree). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11506 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-18Move dissectors to epan/dissectors directory.gram1-0/+1166
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11410 f5534014-38df-0310-8fa8-9805f1628bb7