diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-05-20 12:08:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:12 -0500 |
commit | e9cf630ec7ae8e1d9dd9e2246450f539921a1762 (patch) | |
tree | 4eb7e15298847d917fb9bab5a46e9080f9764712 /source4/smb_server | |
parent | 6885c6253e81fca9633c9396a5669fc7fe27ef7d (diff) | |
download | samba-e9cf630ec7ae8e1d9dd9e2246450f539921a1762.tar.gz samba-e9cf630ec7ae8e1d9dd9e2246450f539921a1762.tar.bz2 samba-e9cf630ec7ae8e1d9dd9e2246450f539921a1762.zip |
r15745: - reorder the elements of smbsrv_request
- move the SMB specific elements to the end
metze
(This used to be commit 0be887c7c6d318cb2990610f353e75b5f6d98c0c)
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/smb_server.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/source4/smb_server/smb_server.h b/source4/smb_server/smb_server.h index 7c9ba6dc63..0389d79306 100644 --- a/source4/smb_server/smb_server.h +++ b/source4/smb_server/smb_server.h @@ -225,14 +225,22 @@ struct smbsrv_request { struct smbsrv_session *session; /* a set of flags to control usage of the request. See SMBSRV_REQ_CONTROL_* */ - unsigned control_flags; - - /* the flags from the SMB request, in raw form (host byte order) */ - uint16_t flags2; + uint32_t control_flags; /* the system time when the request arrived */ struct timeval request_time; + /* a pointer to the per request union smb_* io structure */ + void *io_ptr; + + /* the ntvfs_request */ + struct ntvfs_request *ntvfs; + + /* Now the SMB specific stuff */ + + /* the flags from the SMB request, in raw form (host byte order) */ + uint16_t flags2; + /* this can contain a fnum from an earlier part of a chained * message (such as an SMBOpenX), or -1 */ int chained_fnum; @@ -243,12 +251,6 @@ struct smbsrv_request { /* the sequence number for signing */ uint64_t seq_num; - /* a pointer to the per request union smb_* io structure */ - void *io_ptr; - - /* the ntvfs_request */ - struct ntvfs_request *ntvfs; - struct request_buffer in; struct request_buffer out; }; |