diff options
author | Holger Hetterich <hhetter@novell.com> | 2010-01-22 21:17:53 +0100 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2010-03-16 09:52:09 -0400 |
commit | a45db5948050b7a94181e0579fb9fc9f651aed74 (patch) | |
tree | beeaa4e08851b50a9a52bc1b0e6bcca452f01f23 /MAINTAINERS | |
parent | 9702dcfa918f18c038eef0251b6330d6cf9a7162 (diff) | |
download | samba-a45db5948050b7a94181e0579fb9fc9f651aed74.tar.gz samba-a45db5948050b7a94181e0579fb9fc9f651aed74.tar.bz2 samba-a45db5948050b7a94181e0579fb9fc9f651aed74.zip |
Move the creation of the header.
Since the header block of the protocol contains the number of bytes to
come, we always send the header itself unmodified.
If we compress or crypt the data we are about to send, the length of the
data to send may change. Therefore, we no longer create the header in
smb_traffic_analyzer_create_string, but shortly before we send the data.
For both cases, encryption and normal, we create our own header, and
send it before the actual data.
In case of protocol v1, we don't need to create an extra header.
Just send the data, and return from the function.
Change a debug message to say that the header for crypted data has
been created.
Add a status flags consisting of 6 bytes to the header. Their function
will be descriped in one of the next patches, which is descriping
the header in a longer comment.
When anonymization and/or encryption is used, set the flags accordingly.
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions