Skip to main content

Module misc

Module misc 

Source
Expand description

Small commands: CLOSE, FLUSH, SEEK, ECHO, LOGOFF_ANDX, TREE_DISCONNECT, QUERY_INFORMATION_DISK, PROCESS_EXIT and LOCKING_ANDX.

Structs§

CloseReq
CLOSE request (WC=3): FID plus optional mtime.
EchoReq
ECHO request: repeat count plus echo data.
LockingAndxReq
LOCKING_ANDX request — accepted but not enforced ([MS-CIFS] §2.2.4.32).
LogoffResp
LOGOFF_ANDX response (AndX triple only).
NtCancel
NT_CANCEL has no dedicated response beyond a CANCELLED status echo.
QueryDiskInfo
QUERY_INFORMATION_DISK response (WC=5).
SeekReq
SEEK request ([MS-CIFS] §2.2.4.x): FID, mode, offset.
TreeDisconnectResp
TREE_DISCONNECT response (WC=0).

Functions§

empty_response
Empty WC=0 response body.
flush_fid
FLUSH request: FID or 0xFFFF for all handles of the PID.