aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb-common.c
AgeCommit message (Collapse)AuthorFilesLines
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