Introduce smb_traffic_analyzer protocol v2.
authorHolger Hetterich <hhetter@novell.com>
Thu, 17 Sep 2009 18:11:39 +0000 (20:11 +0200)
committerJim McDonough <jmcd@samba.org>
Tue, 16 Mar 2010 13:52:08 +0000 (09:52 -0400)
commit2a643ef10c3ed64dc60a7899a581a7b83004ce0e
tree9ecdb887f603a2db6fccf4e82956061e981a5b9e
parent8353aa39b64169a6bbd4b5b21ab4989e7821363e
Introduce smb_traffic_analyzer protocol v2.

From Holger:
Make smb_traffic_analyzer differ the protocol versions to enable the development of version 2 of the protocol. To do this, a new parameter "protocol_version" has been introduced, which can be set to "V1", "V2", or nothing. If protocol_version is not set, V1 will be chosen automatically.

Created an enum for identifying VFS functions in the upcoming protocol v2. Converted the existing VFS functions to use the identifier, and set the read/write bool used in protocol v1 accordingly, also ignore any other VFS functions except read/write/pread/pwrite in v1. Added a first new VFS function for mkdir, which I use for testing and implementing both the sender and receiver for v2.
source3/modules/vfs_smb_traffic_analyzer.c