public class Smb2IoctlRequest extends ServerMessageBlock2Request<Smb2IoctlResponse> implements RequestWithFileId
Modifier and Type | Field and Description |
---|---|
static int |
FSCTL_DFS_GET_REFERRALS |
static int |
FSCTL_DFS_GET_REFERRALS_EX |
static int |
FSCTL_FILE_LEVEL_TRIM |
static int |
FSCTL_LRM_REQUEST_RESILENCY |
static int |
FSCTL_PIPE_PEEK |
static int |
FSCTL_PIPE_TRANSCEIVE |
static int |
FSCTL_PIPE_WAIT |
static int |
FSCTL_QUERY_NETWORK_INTERFACE_INFO |
static int |
FSCTL_SET_REPARSE_POINT |
static int |
FSCTL_SRV_COPYCHUNK |
static int |
FSCTL_SRV_COPYCHUNK_WRITE |
static int |
FSCTL_SRV_ENUMERATE_SNAPSHOTS |
static int |
FSCTL_SRV_READ_HASH |
static int |
FSCTL_SRV_REQUEST_RESUME_KEY |
static int |
FSCTL_VALIDATE_NEGOTIATE_INFO |
static int |
SMB2_O_IOCTL_IS_FSCTL |
SMB2_FLAGS_ASYNC_COMMAND, SMB2_FLAGS_DFS_OPERATIONS, SMB2_FLAGS_PRIORITY_MASK, SMB2_FLAGS_RELATED_OPERATIONS, SMB2_FLAGS_REPLAY_OPERATION, SMB2_FLAGS_SERVER_TO_REDIR, SMB2_FLAGS_SIGNED
Constructor and Description |
---|
Smb2IoctlRequest(Configuration config,
int controlCode) |
Smb2IoctlRequest(Configuration config,
int controlCode,
byte[] fileId) |
Smb2IoctlRequest(Configuration config,
int controlCode,
byte[] fileId,
byte[] outputBuffer) |
Modifier and Type | Method and Description |
---|---|
void |
setFileId(byte[] fileId) |
void |
setFlags(int flags) |
void |
setInputData(Encodable inputData) |
void |
setMaxInputResponse(int maxInputResponse) |
void |
setMaxOutputResponse(int maxOutputResponse) |
void |
setOutputData(Encodable outputData) |
int |
size() |
allowChain, createCancel, encode, getCreditCost, getNext, getOverrideTimeout, getResponse, ignoreDisconnect, initResponse, isCancel, isResponseAsync, setNext, setOverrideTimeout, setRequestCredits, setResponse, setTid, split
addFlags, chain, clearFlags, decode, decode, equals, getAsyncId, getCommand, getCredit, getCreditCharge, getDigest, getErrorContextCount, getErrorData, getFlags, getHeaderStart, getLength, getMid, getNextCommandOffset, getRawPayload, getSessionId, getStatus, getTreeId, hashCode, isAsync, isRetainPayload, reset, retainPayload, setAsyncId, setCommand, setCredit, setDigest, setExtendedSecurity, setMid, setRawPayload, setReadSize, setSessionId, setTreeId, setUid, toString
decode, getCommand, getDigest, getMid, reset, setCommand, setDigest, setExtendedSecurity, setMid, setSessionId, setUid
getRawPayload, isRetainPayload, retainPayload, setRawPayload
public static final int FSCTL_DFS_GET_REFERRALS
public static final int FSCTL_PIPE_PEEK
public static final int FSCTL_PIPE_WAIT
public static final int FSCTL_PIPE_TRANSCEIVE
public static final int FSCTL_SRV_COPYCHUNK
public static final int FSCTL_SRV_ENUMERATE_SNAPSHOTS
public static final int FSCTL_SRV_REQUEST_RESUME_KEY
public static final int FSCTL_SRV_READ_HASH
public static final int FSCTL_SRV_COPYCHUNK_WRITE
public static final int FSCTL_LRM_REQUEST_RESILENCY
public static final int FSCTL_QUERY_NETWORK_INTERFACE_INFO
public static final int FSCTL_SET_REPARSE_POINT
public static final int FSCTL_DFS_GET_REFERRALS_EX
public static final int FSCTL_FILE_LEVEL_TRIM
public static final int FSCTL_VALIDATE_NEGOTIATE_INFO
public static final int SMB2_O_IOCTL_IS_FSCTL
public Smb2IoctlRequest(Configuration config, int controlCode)
config
- controlCode
- public Smb2IoctlRequest(Configuration config, int controlCode, byte[] fileId)
config
- controlCode
- fileId
- public Smb2IoctlRequest(Configuration config, int controlCode, byte[] fileId, byte[] outputBuffer)
config
- controlCode
- fileId
- outputBuffer
- public void setFileId(byte[] fileId)
setFileId
in interface RequestWithFileId
RequestWithFileId.setFileId(byte[])
public void setFlags(int flags)
flags
- the flags to setpublic void setMaxInputResponse(int maxInputResponse)
maxInputResponse
- the maxInputResponse to setpublic void setMaxOutputResponse(int maxOutputResponse)
maxOutputResponse
- the maxOutputResponse to setpublic void setInputData(Encodable inputData)
inputData
- the inputData to setpublic void setOutputData(Encodable outputData)
outputData
- the outputData to setpublic int size()
size
in interface CommonServerMessageBlockRequest
CommonServerMessageBlockRequest.size()
Copyright © 2020. All rights reserved.