public class DCESrvPacket extends SMBTransPacket
Modifier and Type | Field and Description |
---|---|
static int |
FLG_FIRSTFRAG |
static int |
FLG_LASTFRAG |
static int |
FLG_ONLYFRAG |
IsContinued, m_paramCnt, m_transName, STD_PARAMS
ANDXCOMMAND, ANDXRESERVED, COMMAND, DEFAULT_BUFSIZE, ERROR, ERRORCLASS, ERRORCODE, FLAGS, FLAGS2, FLG_CANONICAL, FLG_CASELESS, FLG_NOTIFY, FLG_OPLOCK, FLG_RESPONSE, FLG_SUBDIALECT, FLG2_DFSRESOLVE, FLG2_EXTENDEDATTRIB, FLG2_EXTENDEDSECURITY, FLG2_LONGERRORCODE, FLG2_LONGFILENAMES, FLG2_READIFEXE, FLG2_SECURITYSIGS, FLG2_UNICODE, HeaderLength, m_endpos, m_pos, MID, MIN_RXLEN, NO_ANDX_CMD, PARAMWORDS, PID, PIDHIGH, PROTOCOL_NETBIOS, PROTOCOL_TCPIP, PROTOCOL_WIN32NETBIOS, RAW_READ, RAW_WRITE, SEC_ENCRYPT, SEC_USER, SEQNO, SID, SIGNATURE, TID, TRANS_HEADERLEN, UID, WORDCNT
Constructor and Description |
---|
DCESrvPacket(byte[] buf)
Construct a DCE/RPC transaction packet
|
DCESrvPacket(int siz)
Construct a DCE/RPC transaction packet
|
Modifier and Type | Method and Description |
---|---|
void |
DumpHeader()
Dump the DCE/RPC header details
|
int |
getAllocationHint()
Get the request allocation hint
|
int |
getAuthenticationLength()
Return the authentication length
|
int |
getCallId()
Return the call id
|
int |
getDCEDataOffset()
Get the offset to the DCE/RPC data within the SMB packet
|
int |
getDCEHeaderFlags()
Return the header flags
|
int |
getFragmentLength()
Return the fragment length
|
int |
getMajorVersion()
Return the major version number
|
int |
getMinorVersion()
Return the minor version number
|
int |
getOperationId()
Get the request operation id
|
int |
getPackedDataRepresentation()
Return the packed data representation
|
int |
getPDUType()
Return the PDU packet type
|
int |
getPresentationIdentifier()
Get the request presentation identifier
|
void |
initializeDCEReply()
Initialize the DCE/RPC reply.
|
void |
initializeDCERequest(int handle,
byte typ,
int flags,
int callId)
Initialize the DCE/RPC request.
|
boolean |
isFirstFragment()
Determine if this is the first fragment
|
boolean |
isLastFragment()
Determine if this is the last fragment
|
boolean |
isOnlyFragment()
Determine if this is the only fragment in the request
|
void |
setAllocationHint(int alloc)
Set the allocation hint
|
void |
setFragmentLength(int len)
Set the fragment length
|
void |
setPresentationIdentifier(int ident)
Set the presentation identifier
|
getDataBlockCount, getDataBlockDisplacement, getDataBlockOffset, getNextMultiplexId, getParameterBlock, getParameterBlockCount, getParameterBlockDisplacement, getParameterBlockOffset, getSecondaryDataBlockCount, getSecondaryDataBlockOffset, getSecondaryParameterBlockCount, getSecondaryParameterBlockOffset, getSubFunction, getTotalDataCount, getTotalParameterCount, InitializeTransact, setSetupParameter, setTransactionName
alignBytePointer, calculateHeaderLength, checkAndXPacketIsValid, checkPacketIsValid, checkPacketSignature, clearAssociatedPacket, clearBytes, clearHeader, clearLeaseTime, DumpPacket, DumpPacket, getAndXByteCount, getAndXByteOffset, getAndXCommand, getAndXParameter, getAndXParameterCount, getAndXParameterLong, getAssociatedPacket, getAvailableLength, getAvailableLength, getBuffer, getBufferLength, getByteCount, getByteOffset, getCommand, getDeferredCount, getErrorClass, getErrorCode, getFlags, getFlags2, getHeaderFlags, getHeaderLength, getHeaderType, getLeaseTime, getLength, getLongErrorCode, getMultiplexId, getPacketLength, getPacketTypeString, getParameter, getParameterCount, getParameterLong, getPosition, getProcessId, getProcessIdFull, getProcessIdHigh, getReceivedLength, getSID, getTreeId, getUserId, hasAndXCommand, hasAssociatedPacket, hasLeaseTime, hasMoreData, incrementDeferredCount, isCaseless, isLongErrorCode, isLongFileNames, isQueuedForAsyncIO, isRequestPacket, isResponse, isSMB2, isUnicode, isValidResponse, packByte, packByte, packBytes, packInt, packLong, packString, packString, packWord, resetBytePointer, resetBytePointerAlign, SendResponseSMB, SendResponseSMB, SendSuccessSMB, setAndXByteCount, setAndXBytes, setAndXCommand, setAndXCommand, setAndXParameter, setAndXParameterCount, setAssociatedPacket, setBuffer, setByteCount, setByteCount, setBytePointer, setBytes, setCommand, setError, setError, setErrorClass, setErrorCode, setFlags, setFlags2, setHeaderFlags, setHeaderLength, setHeaderType, setLeaseTime, setLongErrorCode, setMultiplexId, setParameter, setParameterCount, setParameterLong, setPosition, setProcessId, setQueuedForAsyncIO, setReceivedLength, setRequestPacket, setSeqNo, setSID, setSuccessStatus, setTreeId, setUserId, skipBytes, toString, unpackByte, unpackBytes, unpackInt, unpackLong, unpackString, unpackWord
public static final int FLG_FIRSTFRAG
public static final int FLG_LASTFRAG
public static final int FLG_ONLYFRAG
public DCESrvPacket(byte[] buf)
buf
- Buffer that contains the SMB transaction packet.public DCESrvPacket(int siz)
siz
- Size of packet to allocate.public final int getMajorVersion()
public final int getMinorVersion()
public final int getPDUType()
public final int getDCEHeaderFlags()
public final int getPackedDataRepresentation()
public final int getFragmentLength()
public final void setFragmentLength(int len)
len
- intpublic final int getAuthenticationLength()
public final int getCallId()
public final boolean isFirstFragment()
public final boolean isLastFragment()
public final boolean isOnlyFragment()
public final int getDCEDataOffset()
public final int getAllocationHint()
public final void setAllocationHint(int alloc)
alloc
- intpublic final int getPresentationIdentifier()
public final void setPresentationIdentifier(int ident)
ident
- intpublic final int getOperationId()
public final void initializeDCERequest(int handle, byte typ, int flags, int callId)
handle
- inttyp
- byteflags
- intcallId
- intpublic final void initializeDCEReply()
public final void DumpHeader()
Copyright © 2005–2018 Alfresco Software. All rights reserved.