aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb-common.c
AgeCommit message (Collapse)AuthorFilesLines
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-12/+12
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2002-08-10From Devin Heitmueller: dissect NTLMSSP authentication messages, and handleGuy Harris1-1/+146
the flags field in NTLMSSP messages as a 32-bit field. Make "get_unicode_or_ascii_string()" take a "Unicode or not" flag rather than a "packet_info *" as an argument, make it not static, and move it to "packet-smb-common.c", so that it can be used by the SMB dissector and the NTLMSSP dissector. Also get rid of some _U_'s that are applied to arguments that are, in fact, used. svn path=/trunk/; revision=5976
2002-06-16Fix "display_unicode_string()" to get the length of the Unicode string,Guy Harris1-17/+46
allocate a buffer big enough to hold the ASCIIfied version of that string, and then ASCIIfy the Unicode string into that buffer, rather than ASCIIfying into a fixed-length buffer. svn path=/trunk/; revision=5676
2002-05-27Account for hidden share types in share_types.Richard Sharpe1-1/+5
svn path=/trunk/; revision=5572
2002-05-24Move the value_string table for the share type values toGuy Harris1-1/+12
"packet-smb-common.c", and use it in "packet-dcerpc-srvsvc". svn path=/trunk/; revision=5545
2002-04-30Get rid of some unused arguments, and mark some others as unused.Guy Harris1-4/+4
Remove the declaration of "dissect_nt_sid()" from "packet-dcerpc-samr.c"; get it by including "packet-smb-common.h", instead. svn path=/trunk/; revision=5313
2002-01-24Replace a bunch of "tvb_length()" and "tvb_length_remaining()" calls inGuy Harris1-7/+4
arguments to "proto_tree_add_text()", and to "proto_tree_add_XXX()" calls that add FT_NONE or FT_PROTO items to the protocol tree, with -1. Replace some calls to "tvb_length()" or "tvb_length_remaining()" with calls to "tvb_reported_length()" and "tvb_reported_length_remaining()", as those give the actual length of the data in the packet, not just the data that happened to be captured. svn path=/trunk/; revision=4605
2001-07-08Get rid of incorrect "const" qualifier.Guy Harris1-2/+2
svn path=/trunk/; revision=3664
2001-07-08Use tvbuff-based routines to find the length of single-bit-character-setGuy Harris1-5/+20
strings. svn path=/trunk/; revision=3662
2001-07-08Tvbuffified SMB NETLOGON dissector, from Ronnie Sahlberg.Guy Harris1-101/+29
Fixed up some longstanding bugs (predating the tvbuffification) discovered during regression testing of the tvbuffification. svn path=/trunk/; revision=3661
2000-05-11Add tvbuff class.Gilbert Ramirez1-6/+6
Add exceptions routines. Convert proto_tree_add_*() routines to require tvbuff_t* argument. Convert all dissectors to pass NULL argument ("NullTVB" macro == NULL) as the tvbuff_t* argument to proto_tree_add_*() routines. dissect_packet() creates a tvbuff_t, wraps the next dissect call in a TRY block, will print "Short Frame" on the proto_tree if a BoundsError exception is caught. The FDDI dissector is converted to use tvbuff's. svn path=/trunk/; revision=1939
2000-02-14In "display_flags()", panic if the size handed to it is neither 1, 2,Guy Harris1-5/+19
nor 4, as we currently don't handle that. svn path=/trunk/; revision=1634
2000-02-14Fix the comment at the beginning of the file.Guy Harris1-3/+2
svn path=/trunk/; revision=1630
2000-02-14Jeff Foster's SMB Mailslot and Netlogin dissectors; he splitGuy Harris1-0/+142
"packet-smb.c" up into several files. svn path=/trunk/; revision=1629