aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb-common.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace a bunch of "tvb_length()" and "tvb_length_remaining()" calls inGuy Harris2002-01-241-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
* Get rid of incorrect "const" qualifier.Guy Harris2001-07-081-2/+2
| | | | svn path=/trunk/; revision=3664
* Use tvbuff-based routines to find the length of single-bit-character-setGuy Harris2001-07-081-5/+20
| | | | | | strings. svn path=/trunk/; revision=3662
* Tvbuffified SMB NETLOGON dissector, from Ronnie Sahlberg.Guy Harris2001-07-081-101/+29
| | | | | | | Fixed up some longstanding bugs (predating the tvbuffification) discovered during regression testing of the tvbuffification. svn path=/trunk/; revision=3661
* Add tvbuff class.Gilbert Ramirez2000-05-111-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
* In "display_flags()", panic if the size handed to it is neither 1, 2,Guy Harris2000-02-141-5/+19
| | | | | | nor 4, as we currently don't handle that. svn path=/trunk/; revision=1634
* Fix the comment at the beginning of the file.Guy Harris2000-02-141-3/+2
| | | | svn path=/trunk/; revision=1630
* Jeff Foster's SMB Mailslot and Netlogin dissectors; he splitGuy Harris2000-02-141-0/+142
"packet-smb.c" up into several files. svn path=/trunk/; revision=1629