package smb2

Import Path
	github.com/hirochachacha/go-smb2/internal/smb2 (on go.dev)

Dependency Relation
	imports 5 packages, and imported by one package


Package-Level Type Names (total 111)
/* sort by: | */
( CancelRequestDecoder) IsInvalid() bool ( CancelRequestDecoder) StructureSize() uint16 CancelRequestDecoder : Decoder
Ciphers []uint16 (*CipherContext) Encode(p []byte) (*CipherContext) Size() int *CipherContext : Encoder
( CipherContextDataDecoder) CipherCount() uint16 ( CipherContextDataDecoder) Ciphers() []uint16 ( CipherContextDataDecoder) IsInvalid() bool CipherContextDataDecoder : Decoder
( CloseRequestDecoder) FileId() FileIdDecoder ( CloseRequestDecoder) Flags() uint16 ( CloseRequestDecoder) IsInvalid() bool ( CloseRequestDecoder) StructureSize() uint16 CloseRequestDecoder : Decoder
( CloseResponseDecoder) AllocationSize() int64 ( CloseResponseDecoder) ChangeTime() FiletimeDecoder ( CloseResponseDecoder) CreationTime() FiletimeDecoder ( CloseResponseDecoder) EndofFile() int64 ( CloseResponseDecoder) FileAttributes() uint32 ( CloseResponseDecoder) Flags() uint16 ( CloseResponseDecoder) IsInvalid() bool ( CloseResponseDecoder) LastAccessTime() FiletimeDecoder ( CloseResponseDecoder) LastWriteTime() FiletimeDecoder ( CloseResponseDecoder) StructureSize() uint16 CloseResponseDecoder : Decoder
( CreateRequestDecoder) CreateContextsLength() uint32 ( CreateRequestDecoder) CreateContextsOffset() uint32 ( CreateRequestDecoder) CreateDisposition() uint32 ( CreateRequestDecoder) CreateOptions() uint32 ( CreateRequestDecoder) DesiredAccess() uint32 ( CreateRequestDecoder) FileAttributes() uint32 ( CreateRequestDecoder) ImpersonationLevel() uint32 ( CreateRequestDecoder) IsInvalid() bool ( CreateRequestDecoder) NameLength() uint16 ( CreateRequestDecoder) NameOffset() uint16 ( CreateRequestDecoder) RequestedOplockLevel() uint8 ( CreateRequestDecoder) SecurityFlags() uint8 ( CreateRequestDecoder) ShareAccess() uint32 ( CreateRequestDecoder) SmbCreateFlags() uint64 ( CreateRequestDecoder) StructureSize() uint16 CreateRequestDecoder : Decoder
( CreateResponseDecoder) AllocationSize() int64 ( CreateResponseDecoder) ChangeTime() FiletimeDecoder ( CreateResponseDecoder) CreateAction() uint32 ( CreateResponseDecoder) CreateContexts() []byte ( CreateResponseDecoder) CreateContextsLength() uint32 ( CreateResponseDecoder) CreateContextsOffset() uint32 ( CreateResponseDecoder) CreationTime() FiletimeDecoder ( CreateResponseDecoder) EndofFile() int64 ( CreateResponseDecoder) FileAttributes() uint32 ( CreateResponseDecoder) FileId() FileIdDecoder ( CreateResponseDecoder) Flags() uint8 ( CreateResponseDecoder) IsInvalid() bool ( CreateResponseDecoder) LastAccessTime() FiletimeDecoder ( CreateResponseDecoder) LastWriteTime() FiletimeDecoder ( CreateResponseDecoder) OplockLevel() uint8 ( CreateResponseDecoder) StructureSize() uint16 CreateResponseDecoder : Decoder
bytes based implementation; for decoding responses ( Decoder) IsInvalid() bool CancelRequestDecoder CipherContextDataDecoder CloseRequestDecoder CloseResponseDecoder CreateRequestDecoder CreateResponseDecoder ErrorContextResponseDecoder ErrorResponseDecoder FileAccessInformationDecoder FileAlignmentInformationDecoder FileAllInformationDecoder FileBasicInformationDecoder FileDirectoryInformationDecoder FileEaInformationDecoder FileEndOfFileInformationDecoder FileFsFullSizeInformationDecoder FileInternalInformationDecoder FileModeInformationDecoder FileNameInformationDecoder FilePositionInformationDecoder FileQuotaInformationDecoder FileStandardInformationDecoder FlushRequestDecoder FlushResponseDecoder HashContextDataDecoder IoctlRequestDecoder IoctlResponseDecoder LogoffRequestDecoder LogoffResponseDecoder NegotiateContextDecoder NegotiateRequestDecoder NegotiateResponseDecoder PacketCodec QueryDirectoryRequestDecoder QueryDirectoryResponseDecoder QueryInfoRequestDecoder QueryInfoResponseDecoder ReadRequestDecoder ReadResponseDecoder SessionSetupRequestDecoder SessionSetupResponseDecoder SetInfoRequestDecoder SetInfoResponseDecoder SidDecoder SmallBufferErrorResponseDecoder SrvCopychunkResponseDecoder SrvRequestResumeKeyResponseDecoder SymbolicLinkErrorResponseDecoder SymbolicLinkReparseDataBufferDecoder TransformCodec TreeConnectRequestDecoder TreeConnectResponseDecoder TreeDisconnectRequestDecoder TreeDisconnectResponseDecoder WriteRequestDecoder WriteResponseDecoder github.com/hirochachacha/go-smb2/internal/msrpc.BindAckDecoder github.com/hirochachacha/go-smb2/internal/msrpc.NetShareEnumAllResponseDecoder
( ErrorContextListResponse) Encode(p []byte) ( ErrorContextListResponse) Size() int ErrorContextListResponse : Encoder
ErrorData Encoder ErrorId uint32 (*ErrorContextResponse) Encode(p []byte) (*ErrorContextResponse) Size() int *ErrorContextResponse : Encoder
( ErrorContextResponseDecoder) ErrorContextData() []byte ( ErrorContextResponseDecoder) ErrorDataLength() uint32 ( ErrorContextResponseDecoder) ErrorId() uint32 ( ErrorContextResponseDecoder) IsInvalid() bool ( ErrorContextResponseDecoder) Next() int ErrorContextResponseDecoder : Decoder
// ErrorContextListResponse | (SymbolicLinkErrorResponse | SmallBufferErrorResponse) PacketHeader PacketHeader PacketHeader.AsyncId uint64 PacketHeader.ChannelSequence uint16 PacketHeader.Command uint16 PacketHeader.CreditCharge uint16 PacketHeader.CreditRequestResponse uint16 PacketHeader.Flags uint32 PacketHeader.MessageId uint64 PacketHeader.SessionId uint64 PacketHeader.Status uint32 PacketHeader.TreeId uint32 it doesn't handle Command property, set it yourself (*ErrorResponse) Header() *PacketHeader (*ErrorResponse) Size() int *ErrorResponse : Encoder *ErrorResponse : Packet
( ErrorResponseDecoder) ByteCount() uint32 ( ErrorResponseDecoder) ErrorContextCount() uint8 ( ErrorResponseDecoder) ErrorData() []byte ( ErrorResponseDecoder) IsInvalid() bool ( ErrorResponseDecoder) StructureSize() uint16 ErrorResponseDecoder : Decoder
( FileAccessInformationDecoder) AccessFlags() uint32 ( FileAccessInformationDecoder) IsInvalid() bool FileAccessInformationDecoder : Decoder func FileAllInformationDecoder.AccessInformation() FileAccessInformationDecoder
( FileAlignmentInformationDecoder) AlignmentRequirement() uint32 ( FileAlignmentInformationDecoder) IsInvalid() bool FileAlignmentInformationDecoder : Decoder func FileAllInformationDecoder.AlignmentInformation() FileAlignmentInformationDecoder
( FileAllInformationDecoder) AccessInformation() FileAccessInformationDecoder ( FileAllInformationDecoder) AlignmentInformation() FileAlignmentInformationDecoder ( FileAllInformationDecoder) BasicInformation() FileBasicInformationDecoder ( FileAllInformationDecoder) EaInformation() FileEaInformationDecoder ( FileAllInformationDecoder) InternalInformation() FileInternalInformationDecoder ( FileAllInformationDecoder) IsInvalid() bool ( FileAllInformationDecoder) ModeInformation() FileModeInformationDecoder ( FileAllInformationDecoder) NameInformation() FileNameInformationDecoder ( FileAllInformationDecoder) PositionInformation() FilePositionInformationDecoder ( FileAllInformationDecoder) StandardInformation() FileStandardInformationDecoder FileAllInformationDecoder : Decoder
( FileBasicInformationDecoder) ChangeTime() FiletimeDecoder ( FileBasicInformationDecoder) CreationTime() FiletimeDecoder ( FileBasicInformationDecoder) FileAttributes() uint32 ( FileBasicInformationDecoder) IsInvalid() bool ( FileBasicInformationDecoder) LastAccessTime() FiletimeDecoder ( FileBasicInformationDecoder) LastWriteTime() FiletimeDecoder FileBasicInformationDecoder : Decoder func FileAllInformationDecoder.BasicInformation() FileBasicInformationDecoder
ChangeTime *Filetime CreationTime *Filetime FileAttributes uint32 LastAccessTime *Filetime LastWriteTime *Filetime (*FileBasicInformationEncoder) Encode(p []byte) (*FileBasicInformationEncoder) Size() int *FileBasicInformationEncoder : Encoder
( FileDirectoryInformationDecoder) AllocationSize() int64 ( FileDirectoryInformationDecoder) ChangeTime() FiletimeDecoder ( FileDirectoryInformationDecoder) CreationTime() FiletimeDecoder ( FileDirectoryInformationDecoder) EndOfFile() int64 ( FileDirectoryInformationDecoder) FileAttributes() uint32 ( FileDirectoryInformationDecoder) FileIndex() uint32 ( FileDirectoryInformationDecoder) FileName() string ( FileDirectoryInformationDecoder) FileNameLength() uint32 ( FileDirectoryInformationDecoder) IsInvalid() bool ( FileDirectoryInformationDecoder) LastAccessTime() FiletimeDecoder ( FileDirectoryInformationDecoder) LastWriteTime() FiletimeDecoder ( FileDirectoryInformationDecoder) NextEntryOffset() uint32 FileDirectoryInformationDecoder : Decoder
DeletePending uint8 (*FileDispositionInformationEncoder) Encode(p []byte) (*FileDispositionInformationEncoder) Size() int *FileDispositionInformationEncoder : Encoder
( FileEaInformationDecoder) EaSize() uint32 ( FileEaInformationDecoder) IsInvalid() bool FileEaInformationDecoder : Decoder func FileAllInformationDecoder.EaInformation() FileEaInformationDecoder
( FileEndOfFileInformationDecoder) EndOfFile() int64 ( FileEndOfFileInformationDecoder) IsInvalid() bool FileEndOfFileInformationDecoder : Decoder
EndOfFile int64 (*FileEndOfFileInformationEncoder) Encode(p []byte) (*FileEndOfFileInformationEncoder) Size() int *FileEndOfFileInformationEncoder : Encoder
( FileFsFullSizeInformationDecoder) ActualAvailableAllocationUnits() int64 ( FileFsFullSizeInformationDecoder) BytesPerSector() uint32 ( FileFsFullSizeInformationDecoder) CallerAvailableAllocationUnits() int64 ( FileFsFullSizeInformationDecoder) IsInvalid() bool ( FileFsFullSizeInformationDecoder) SectorsPerAllocationUnit() uint32 ( FileFsFullSizeInformationDecoder) TotalAllocationUnits() int64 FileFsFullSizeInformationDecoder : Decoder
Persistent [8]byte Volatile [8]byte (*FileId) Encode(p []byte) (*FileId) IsZero() bool (*FileId) Size() int *FileId : Encoder func FileIdDecoder.Decode() *FileId
( FileIdDecoder) Decode() *FileId ( FileIdDecoder) Persistent() []byte ( FileIdDecoder) Volatile() []byte func CloseRequestDecoder.FileId() FileIdDecoder func CreateResponseDecoder.FileId() FileIdDecoder func FlushRequestDecoder.FileId() FileIdDecoder func IoctlRequestDecoder.FileId() FileIdDecoder func IoctlResponseDecoder.FileId() FileIdDecoder func QueryDirectoryRequestDecoder.FileId() FileIdDecoder func QueryInfoRequestDecoder.FileId() FileIdDecoder func ReadRequestDecoder.FileId() FileIdDecoder func SetInfoRequestDecoder.FileId() FileIdDecoder func WriteRequestDecoder.FileId() FileIdDecoder
( FileInternalInformationDecoder) IndexNumber() int64 ( FileInternalInformationDecoder) IsInvalid() bool FileInternalInformationDecoder : Decoder func FileAllInformationDecoder.InternalInformation() FileInternalInformationDecoder
FileName string ReplaceIfExists uint8 RootDirectory uint64 (*FileLinkInformationType2Encoder) Encode(p []byte) (*FileLinkInformationType2Encoder) Size() int *FileLinkInformationType2Encoder : Encoder
( FileModeInformationDecoder) IsInvalid() bool ( FileModeInformationDecoder) Mode() uint32 FileModeInformationDecoder : Decoder func FileAllInformationDecoder.ModeInformation() FileModeInformationDecoder
( FileNameInformationDecoder) FileName() string ( FileNameInformationDecoder) FileNameLength() uint32 ( FileNameInformationDecoder) IsInvalid() bool FileNameInformationDecoder : Decoder func FileAllInformationDecoder.NameInformation() FileNameInformationDecoder
( FilePositionInformationDecoder) CurrentByteOffset() int64 ( FilePositionInformationDecoder) IsInvalid() bool FilePositionInformationDecoder : Decoder func FileAllInformationDecoder.PositionInformation() FilePositionInformationDecoder
CurrentByteOffset int64 (*FilePositionInformationEncoder) Encode(p []byte) (*FilePositionInformationEncoder) Size() int *FilePositionInformationEncoder : Encoder
( FileQuotaInformationDecoder) ChangeTime() FiletimeDecoder ( FileQuotaInformationDecoder) IsInvalid() bool ( FileQuotaInformationDecoder) NextEntryOffset() uint32 ( FileQuotaInformationDecoder) QuotaLimit() int64 ( FileQuotaInformationDecoder) QuotaThreshold() int64 ( FileQuotaInformationDecoder) QuotaUsed() int64 ( FileQuotaInformationDecoder) Sid() SidDecoder ( FileQuotaInformationDecoder) SidLength() uint32 FileQuotaInformationDecoder : Decoder
FileName string ReplaceIfExists uint8 RootDirectory uint64 (*FileRenameInformationType2Encoder) Encode(p []byte) (*FileRenameInformationType2Encoder) Size() int *FileRenameInformationType2Encoder : Encoder
( FileStandardInformationDecoder) AllocationSize() int64 ( FileStandardInformationDecoder) DeletePending() uint8 ( FileStandardInformationDecoder) Directory() uint8 ( FileStandardInformationDecoder) EndOfFile() int64 ( FileStandardInformationDecoder) IsInvalid() bool ( FileStandardInformationDecoder) NumberOfLinks() uint32 FileStandardInformationDecoder : Decoder func FileAllInformationDecoder.StandardInformation() FileStandardInformationDecoder
HighDateTime uint32 LowDateTime uint32 (*Filetime) Encode(p []byte) (*Filetime) Nanoseconds() int64 (*Filetime) Size() int *Filetime : Encoder func NsecToFiletime(nsec int64) (ft *Filetime) func FiletimeDecoder.Decode() *Filetime
( FiletimeDecoder) Decode() *Filetime ( FiletimeDecoder) HighDateTime() uint32 ( FiletimeDecoder) LowDateTime() uint32 ( FiletimeDecoder) Nanoseconds() int64 func CloseResponseDecoder.ChangeTime() FiletimeDecoder func CloseResponseDecoder.CreationTime() FiletimeDecoder func CloseResponseDecoder.LastAccessTime() FiletimeDecoder func CloseResponseDecoder.LastWriteTime() FiletimeDecoder func CreateResponseDecoder.ChangeTime() FiletimeDecoder func CreateResponseDecoder.CreationTime() FiletimeDecoder func CreateResponseDecoder.LastAccessTime() FiletimeDecoder func CreateResponseDecoder.LastWriteTime() FiletimeDecoder func FileBasicInformationDecoder.ChangeTime() FiletimeDecoder func FileBasicInformationDecoder.CreationTime() FiletimeDecoder func FileBasicInformationDecoder.LastAccessTime() FiletimeDecoder func FileBasicInformationDecoder.LastWriteTime() FiletimeDecoder func FileDirectoryInformationDecoder.ChangeTime() FiletimeDecoder func FileDirectoryInformationDecoder.CreationTime() FiletimeDecoder func FileDirectoryInformationDecoder.LastAccessTime() FiletimeDecoder func FileDirectoryInformationDecoder.LastWriteTime() FiletimeDecoder func FileQuotaInformationDecoder.ChangeTime() FiletimeDecoder func NegotiateResponseDecoder.ServerStartTime() FiletimeDecoder func NegotiateResponseDecoder.SystemTime() FiletimeDecoder
( FlushRequestDecoder) FileId() FileIdDecoder ( FlushRequestDecoder) IsInvalid() bool ( FlushRequestDecoder) StructureSize() uint16 FlushRequestDecoder : Decoder
( FlushResponseDecoder) IsInvalid() bool ( FlushResponseDecoder) StructureSize() uint16 FlushResponseDecoder : Decoder
HashAlgorithms []uint16 HashSalt []byte (*HashContext) Encode(p []byte) (*HashContext) Size() int *HashContext : Encoder
( HashContextDataDecoder) HashAlgorithmCount() uint16 ( HashContextDataDecoder) HashAlgorithms() []uint16 ( HashContextDataDecoder) IsInvalid() bool ( HashContextDataDecoder) Salt() []byte ( HashContextDataDecoder) SaltLength() uint16 HashContextDataDecoder : Decoder
( IoctlRequestDecoder) CtlCode() uint32 ( IoctlRequestDecoder) FileId() FileIdDecoder ( IoctlRequestDecoder) Flags() uint32 ( IoctlRequestDecoder) InputCount() uint32 ( IoctlRequestDecoder) InputOffset() uint32 ( IoctlRequestDecoder) IsInvalid() bool ( IoctlRequestDecoder) MaxInputResponse() uint32 ( IoctlRequestDecoder) MaxOutputResponse() uint32 ( IoctlRequestDecoder) OutputCount() uint32 ( IoctlRequestDecoder) OutputOffset() uint32 ( IoctlRequestDecoder) StructureSize() uint16 IoctlRequestDecoder : Decoder
( IoctlResponseDecoder) CtlCode() uint32 ( IoctlResponseDecoder) FileId() FileIdDecoder ( IoctlResponseDecoder) Flags() uint32 ( IoctlResponseDecoder) Input() []byte ( IoctlResponseDecoder) InputCount() uint32 ( IoctlResponseDecoder) InputOffset() uint32 ( IoctlResponseDecoder) IsInvalid() bool ( IoctlResponseDecoder) Output() []byte ( IoctlResponseDecoder) OutputCount() uint32 ( IoctlResponseDecoder) OutputOffset() uint32 ( IoctlResponseDecoder) StructureSize() uint16 IoctlResponseDecoder : Decoder
( LogoffRequestDecoder) IsInvalid() bool ( LogoffRequestDecoder) StructureSize() uint16 LogoffRequestDecoder : Decoder
( LogoffResponseDecoder) IsInvalid() bool ( LogoffResponseDecoder) StructureSize() uint16 LogoffResponseDecoder : Decoder
( NegotiateContextDecoder) ContextType() uint16 ( NegotiateContextDecoder) Data() []byte ( NegotiateContextDecoder) DataLength() uint16 ( NegotiateContextDecoder) IsInvalid() bool ( NegotiateContextDecoder) Next() int NegotiateContextDecoder : Decoder
( NegotiateRequestDecoder) Capabilities() uint32 ( NegotiateRequestDecoder) ClientGuid() []byte ( NegotiateRequestDecoder) ClientStartTime() []byte ( NegotiateRequestDecoder) DialectCount() uint16 ( NegotiateRequestDecoder) Dialects() []uint16 ( NegotiateRequestDecoder) IsInvalid() bool ( NegotiateRequestDecoder) NegotiateContextCount() uint16 ( NegotiateRequestDecoder) NegotiateContextList() []byte ( NegotiateRequestDecoder) NegotiateContextOffset() uint32 ( NegotiateRequestDecoder) SecurityMode() uint16 ( NegotiateRequestDecoder) StructureSize() uint16 NegotiateRequestDecoder : Decoder
( NegotiateResponseDecoder) Capabilities() uint32 ( NegotiateResponseDecoder) DialectRevision() uint16 ( NegotiateResponseDecoder) IsInvalid() bool ( NegotiateResponseDecoder) MaxReadSize() uint32 ( NegotiateResponseDecoder) MaxTransactSize() uint32 ( NegotiateResponseDecoder) MaxWriteSize() uint32 ( NegotiateResponseDecoder) NegotiateContextCount() uint16 ( NegotiateResponseDecoder) NegotiateContextList() []byte ( NegotiateResponseDecoder) NegotiateContextOffset() uint32 ( NegotiateResponseDecoder) SecurityBuffer() []byte ( NegotiateResponseDecoder) SecurityBufferLength() uint16 ( NegotiateResponseDecoder) SecurityBufferOffset() uint16 ( NegotiateResponseDecoder) SecurityMode() uint16 ( NegotiateResponseDecoder) ServerGuid() []byte ( NegotiateResponseDecoder) ServerStartTime() FiletimeDecoder ( NegotiateResponseDecoder) StructureSize() uint16 ( NegotiateResponseDecoder) SystemTime() FiletimeDecoder NegotiateResponseDecoder : Decoder
( PacketCodec) AsyncId() uint64 ( PacketCodec) ChannelSequence() uint16 ( PacketCodec) Command() uint16 ( PacketCodec) CreditCharge() uint16 ( PacketCodec) CreditRequest() uint16 ( PacketCodec) CreditResponse() uint16 ( PacketCodec) Data() []byte ( PacketCodec) Flags() uint32 ( PacketCodec) IsInvalid() bool ( PacketCodec) MessageId() uint64 ( PacketCodec) NextCommand() uint32 ( PacketCodec) ProtocolId() []byte ( PacketCodec) SessionId() uint64 ( PacketCodec) SetAsyncId(u uint64) ( PacketCodec) SetChannelSequence(u uint16) ( PacketCodec) SetCommand(u uint16) ( PacketCodec) SetCreditCharge(u uint16) ( PacketCodec) SetCreditRequest(u uint16) ( PacketCodec) SetCreditResponse(u uint16) ( PacketCodec) SetFlags(u uint32) ( PacketCodec) SetMessageId(u uint64) ( PacketCodec) SetNextCommand(u uint32) ( PacketCodec) SetProtocolId() ( PacketCodec) SetSessionId(u uint64) ( PacketCodec) SetSignature(bs []byte) ( PacketCodec) SetStatus(u uint32) ( PacketCodec) SetStructureSize() ( PacketCodec) SetTreeId(u uint32) ( PacketCodec) Signature() []byte ( PacketCodec) Status() uint32 ( PacketCodec) StructureSize() uint16 ( PacketCodec) TreeId() uint32 PacketCodec : Decoder
AsyncId uint64 ChannelSequence uint16 Command uint16 CreditCharge uint16 CreditRequestResponse uint16 Flags uint32 MessageId uint64 SessionId uint64 Status uint32 TreeId uint32 func (*CancelRequest).Header() *PacketHeader func (*CloseRequest).Header() *PacketHeader func (*CloseResponse).Header() *PacketHeader func (*CreateRequest).Header() *PacketHeader func (*CreateResponse).Header() *PacketHeader func (*ErrorResponse).Header() *PacketHeader func (*FlushRequest).Header() *PacketHeader func (*FlushResponse).Header() *PacketHeader func (*IoctlRequest).Header() *PacketHeader func (*IoctlResponse).Header() *PacketHeader func (*LogoffRequest).Header() *PacketHeader func (*LogoffResponse).Header() *PacketHeader func (*NegotiateRequest).Header() *PacketHeader func (*NegotiateResponse).Header() *PacketHeader func Packet.Header() *PacketHeader func (*QueryDirectoryRequest).Header() *PacketHeader func (*QueryDirectoryResponse).Header() *PacketHeader func (*QueryInfoRequest).Header() *PacketHeader func (*QueryInfoResponse).Header() *PacketHeader func (*ReadRequest).Header() *PacketHeader func (*ReadResponse).Header() *PacketHeader func (*SessionSetupRequest).Header() *PacketHeader func (*SessionSetupResponse).Header() *PacketHeader func (*SetInfoRequest).Header() *PacketHeader func (*SetInfoResponse).Header() *PacketHeader func (*TreeConnectRequest).Header() *PacketHeader func (*TreeConnectResponse).Header() *PacketHeader func (*TreeDisconnectRequest).Header() *PacketHeader func (*TreeDisconnectResponse).Header() *PacketHeader func (*WriteRequest).Header() *PacketHeader func (*WriteResponse).Header() *PacketHeader
( QueryDirectoryRequestDecoder) FileId() FileIdDecoder ( QueryDirectoryRequestDecoder) FileIndex() uint32 ( QueryDirectoryRequestDecoder) FileInfoClass() uint8 ( QueryDirectoryRequestDecoder) FileNameLength() uint16 ( QueryDirectoryRequestDecoder) FileNameOffset() uint16 ( QueryDirectoryRequestDecoder) Flags() uint8 ( QueryDirectoryRequestDecoder) IsInvalid() bool ( QueryDirectoryRequestDecoder) OutputBufferLength() uint32 ( QueryDirectoryRequestDecoder) StructureSize() uint16 QueryDirectoryRequestDecoder : Decoder
Output Encoder PacketHeader PacketHeader PacketHeader.AsyncId uint64 PacketHeader.ChannelSequence uint16 PacketHeader.Command uint16 PacketHeader.CreditCharge uint16 PacketHeader.CreditRequestResponse uint16 PacketHeader.Flags uint32 PacketHeader.MessageId uint64 PacketHeader.SessionId uint64 PacketHeader.Status uint32 PacketHeader.TreeId uint32 (*QueryDirectoryResponse) Encode(pkt []byte) (*QueryDirectoryResponse) Header() *PacketHeader (*QueryDirectoryResponse) Size() int *QueryDirectoryResponse : Encoder *QueryDirectoryResponse : Packet
( QueryDirectoryResponseDecoder) IsInvalid() bool ( QueryDirectoryResponseDecoder) OutputBuffer() []byte ( QueryDirectoryResponseDecoder) OutputBufferLength() uint32 ( QueryDirectoryResponseDecoder) OutputBufferOffset() uint16 ( QueryDirectoryResponseDecoder) StructureSize() uint16 QueryDirectoryResponseDecoder : Decoder
( QueryInfoRequestDecoder) AdditionalInformation() uint32 ( QueryInfoRequestDecoder) FileId() FileIdDecoder ( QueryInfoRequestDecoder) FileInfoClass() uint8 ( QueryInfoRequestDecoder) Flags() uint32 ( QueryInfoRequestDecoder) InfoType() uint8 ( QueryInfoRequestDecoder) InputBufferLength() uint32 ( QueryInfoRequestDecoder) InputBufferOffset() uint16 ( QueryInfoRequestDecoder) IsInvalid() bool ( QueryInfoRequestDecoder) OutputBufferLength() uint32 ( QueryInfoRequestDecoder) StructureSize() uint16 QueryInfoRequestDecoder : Decoder
( QueryInfoResponseDecoder) IsInvalid() bool ( QueryInfoResponseDecoder) OutputBuffer() []byte ( QueryInfoResponseDecoder) OutputBufferLength() uint32 ( QueryInfoResponseDecoder) OutputBufferOffset() uint16 ( QueryInfoResponseDecoder) StructureSize() uint16 QueryInfoResponseDecoder : Decoder
RestartScan bool ReturnSingle bool Sids []Sid (*QueryQuotaInfo) Encode(p []byte) (*QueryQuotaInfo) Size() int *QueryQuotaInfo : Encoder
( ReadRequestDecoder) Channel() uint32 ( ReadRequestDecoder) FileId() FileIdDecoder ( ReadRequestDecoder) Flags() uint8 ( ReadRequestDecoder) IsInvalid() bool ( ReadRequestDecoder) Length() uint32 ( ReadRequestDecoder) MinimumCount() uint32 ( ReadRequestDecoder) Offset() uint64 ( ReadRequestDecoder) Padding() uint8 ( ReadRequestDecoder) ReadChannelInfoLength() uint16 ( ReadRequestDecoder) ReadChannelInfoOffset() uint16 ( ReadRequestDecoder) RemainingBytes() uint32 ( ReadRequestDecoder) StructureSize() uint16 ReadRequestDecoder : Decoder
( ReadResponseDecoder) Data() []byte ( ReadResponseDecoder) DataLength() uint32 ( ReadResponseDecoder) DataOffset() uint8 ( ReadResponseDecoder) DataRemaining() uint32 ( ReadResponseDecoder) IsInvalid() bool ( ReadResponseDecoder) StructureSize() uint16 ReadResponseDecoder : Decoder
( SessionSetupRequestDecoder) Capabilities() uint32 ( SessionSetupRequestDecoder) Channel() uint32 ( SessionSetupRequestDecoder) Flags() uint8 ( SessionSetupRequestDecoder) IsInvalid() bool ( SessionSetupRequestDecoder) PreviousSessionId() uint64 ( SessionSetupRequestDecoder) SecurityBuffer() []byte ( SessionSetupRequestDecoder) SecurityBufferLength() uint16 ( SessionSetupRequestDecoder) SecurityBufferOffset() uint16 ( SessionSetupRequestDecoder) SecurityMode() uint8 ( SessionSetupRequestDecoder) StructureSize() uint16 SessionSetupRequestDecoder : Decoder
( SessionSetupResponseDecoder) IsInvalid() bool ( SessionSetupResponseDecoder) SecurityBuffer() []byte ( SessionSetupResponseDecoder) SecurityBufferLength() uint16 ( SessionSetupResponseDecoder) SecurityBufferOffset() uint16 ( SessionSetupResponseDecoder) SessionFlags() uint16 ( SessionSetupResponseDecoder) StructureSize() uint16 SessionSetupResponseDecoder : Decoder
( SetInfoRequestDecoder) AdditionalInformation() uint32 ( SetInfoRequestDecoder) BufferLength() uint32 ( SetInfoRequestDecoder) BufferOffset() uint16 ( SetInfoRequestDecoder) FileId() FileIdDecoder ( SetInfoRequestDecoder) FileInfoClass() uint8 ( SetInfoRequestDecoder) InfoType() uint8 ( SetInfoRequestDecoder) IsInvalid() bool ( SetInfoRequestDecoder) StructureSize() uint16 SetInfoRequestDecoder : Decoder
( SetInfoResponseDecoder) IsInvalid() bool ( SetInfoResponseDecoder) StructureSize() uint16 SetInfoResponseDecoder : Decoder
IdentifierAuthority uint64 Revision uint8 SubAuthority []uint32 (*Sid) Encode(p []byte) (*Sid) Size() int (*Sid) String() string *Sid : Encoder *Sid : github.com/ChrisTrenkamp/goxpath/tree.Result *Sid : fmt.Stringer func SidDecoder.Decode() *Sid
( SidDecoder) Decode() *Sid ( SidDecoder) IdentifierAuthority() uint64 ( SidDecoder) IsInvalid() bool ( SidDecoder) Revision() uint8 ( SidDecoder) SubAuthority() []uint32 ( SidDecoder) SubAuthorityCount() uint8 SidDecoder : Decoder func FileQuotaInformationDecoder.Sid() SidDecoder
RequiredBufferLength uint32 (*SmallBufferErrorResponse) Encode(p []byte) (*SmallBufferErrorResponse) Size() int *SmallBufferErrorResponse : Encoder
( SmallBufferErrorResponseDecoder) IsInvalid() bool ( SmallBufferErrorResponseDecoder) RequiredBufferLength() uint32 SmallBufferErrorResponseDecoder : Decoder
Length uint32 SourceOffset int64 TargetOffset int64 (*SrvCopychunk) Encode(p []byte) (*SrvCopychunk) Size() int *SrvCopychunk : Encoder
Chunks []*SrvCopychunk SourceKey [24]byte (*SrvCopychunkCopy) Encode(p []byte) (*SrvCopychunkCopy) Size() int *SrvCopychunkCopy : Encoder
( SrvCopychunkResponseDecoder) ChunksBytesWritten() uint32 ( SrvCopychunkResponseDecoder) ChunksWritten() uint32 ( SrvCopychunkResponseDecoder) IsInvalid() bool ( SrvCopychunkResponseDecoder) TotalBytesWritten() uint32 SrvCopychunkResponseDecoder : Decoder
( SrvRequestResumeKeyResponseDecoder) Context() []byte ( SrvRequestResumeKeyResponseDecoder) ContextLength() uint32 ( SrvRequestResumeKeyResponseDecoder) IsInvalid() bool ( SrvRequestResumeKeyResponseDecoder) ResumeKey() []byte SrvRequestResumeKeyResponseDecoder : Decoder
Flags uint32 PrintName string SubstituteName string UnparsedPathLength uint16 (*SymbolicLinkErrorResponse) Encode(p []byte) (*SymbolicLinkErrorResponse) Size() int *SymbolicLinkErrorResponse : Encoder
( SymbolicLinkErrorResponseDecoder) Flags() uint32 ( SymbolicLinkErrorResponseDecoder) IsInvalid() bool ( SymbolicLinkErrorResponseDecoder) PathBuffer() []byte ( SymbolicLinkErrorResponseDecoder) PrintName() string ( SymbolicLinkErrorResponseDecoder) PrintNameLength() uint16 ( SymbolicLinkErrorResponseDecoder) PrintNameOffset() uint16 ( SymbolicLinkErrorResponseDecoder) ReparseDataLength() uint16 ( SymbolicLinkErrorResponseDecoder) ReparseTag() uint32 ( SymbolicLinkErrorResponseDecoder) SplitUnparsedPath(name string) (string, string) ( SymbolicLinkErrorResponseDecoder) SubstituteName() string ( SymbolicLinkErrorResponseDecoder) SubstituteNameLength() uint16 ( SymbolicLinkErrorResponseDecoder) SubstituteNameOffset() uint16 ( SymbolicLinkErrorResponseDecoder) SymLinkErrorTag() uint32 ( SymbolicLinkErrorResponseDecoder) SymLinkLength() uint32 ( SymbolicLinkErrorResponseDecoder) UnparsedPathLength() uint16 SymbolicLinkErrorResponseDecoder : Decoder
Flags uint32 PrintName string SubstituteName string (*SymbolicLinkReparseDataBuffer) Encode(p []byte) (*SymbolicLinkReparseDataBuffer) Size() int *SymbolicLinkReparseDataBuffer : Encoder
( SymbolicLinkReparseDataBufferDecoder) Flags() uint32 ( SymbolicLinkReparseDataBufferDecoder) IsInvalid() bool ( SymbolicLinkReparseDataBufferDecoder) PathBuffer() []byte ( SymbolicLinkReparseDataBufferDecoder) PrintName() string ( SymbolicLinkReparseDataBufferDecoder) PrintNameLength() uint16 ( SymbolicLinkReparseDataBufferDecoder) PrintNameOffset() uint16 ( SymbolicLinkReparseDataBufferDecoder) ReparseDataLength() uint16 ( SymbolicLinkReparseDataBufferDecoder) ReparseTag() uint32 ( SymbolicLinkReparseDataBufferDecoder) SubstituteName() string ( SymbolicLinkReparseDataBufferDecoder) SubstituteNameLength() uint16 ( SymbolicLinkReparseDataBufferDecoder) SubstituteNameOffset() uint16 SymbolicLinkReparseDataBufferDecoder : Decoder
( TransformCodec) AssociatedData() []byte ( TransformCodec) EncryptedData() []byte ( TransformCodec) EncryptionAlgorithm() uint16 ( TransformCodec) Flags() uint16 ( TransformCodec) IsInvalid() bool ( TransformCodec) Nonce() []byte ( TransformCodec) OriginalMessageSize() uint32 ( TransformCodec) ProtocolId() []byte ( TransformCodec) SessionId() uint64 ( TransformCodec) SetEncryptionAlgorithm(u uint16) ( TransformCodec) SetFlags(u uint16) ( TransformCodec) SetNonce(bs []byte) ( TransformCodec) SetOriginalMessageSize(u uint32) ( TransformCodec) SetProtocolId() ( TransformCodec) SetSessionId(u uint64) ( TransformCodec) SetSignature(bs []byte) ( TransformCodec) Signature() []byte TransformCodec : Decoder
( TreeConnectRequestDecoder) Flags() uint16 ( TreeConnectRequestDecoder) IsInvalid() bool ( TreeConnectRequestDecoder) Path() string ( TreeConnectRequestDecoder) PathLength() uint16 ( TreeConnectRequestDecoder) PathOffset() uint16 ( TreeConnectRequestDecoder) StructureSize() uint16 TreeConnectRequestDecoder : Decoder
( TreeConnectResponseDecoder) Capabilities() uint32 ( TreeConnectResponseDecoder) IsInvalid() bool ( TreeConnectResponseDecoder) MaximalAccess() uint32 ( TreeConnectResponseDecoder) ShareFlags() uint32 ( TreeConnectResponseDecoder) ShareType() uint8 ( TreeConnectResponseDecoder) StructureSize() uint16 TreeConnectResponseDecoder : Decoder
PacketHeader PacketHeader PacketHeader.AsyncId uint64 PacketHeader.ChannelSequence uint16 PacketHeader.Command uint16 PacketHeader.CreditCharge uint16 PacketHeader.CreditRequestResponse uint16 PacketHeader.Flags uint32 PacketHeader.MessageId uint64 PacketHeader.SessionId uint64 PacketHeader.Status uint32 PacketHeader.TreeId uint32 (*TreeDisconnectRequest) Encode(pkt []byte) (*TreeDisconnectRequest) Header() *PacketHeader (*TreeDisconnectRequest) Size() int *TreeDisconnectRequest : Encoder *TreeDisconnectRequest : Packet
( TreeDisconnectRequestDecoder) IsInvalid() bool ( TreeDisconnectRequestDecoder) StructureSize() uint16 TreeDisconnectRequestDecoder : Decoder
PacketHeader PacketHeader PacketHeader.AsyncId uint64 PacketHeader.ChannelSequence uint16 PacketHeader.Command uint16 PacketHeader.CreditCharge uint16 PacketHeader.CreditRequestResponse uint16 PacketHeader.Flags uint32 PacketHeader.MessageId uint64 PacketHeader.SessionId uint64 PacketHeader.Status uint32 PacketHeader.TreeId uint32 (*TreeDisconnectResponse) Encode(pkt []byte) (*TreeDisconnectResponse) Header() *PacketHeader (*TreeDisconnectResponse) Size() int *TreeDisconnectResponse : Encoder *TreeDisconnectResponse : Packet
( TreeDisconnectResponseDecoder) IsInvalid() bool ( TreeDisconnectResponseDecoder) StructureSize() uint16 TreeDisconnectResponseDecoder : Decoder
( WriteRequestDecoder) Channel() uint32 ( WriteRequestDecoder) DataOffset() uint16 ( WriteRequestDecoder) FileId() FileIdDecoder ( WriteRequestDecoder) Flags() uint32 ( WriteRequestDecoder) IsInvalid() bool ( WriteRequestDecoder) Length() uint32 ( WriteRequestDecoder) Offset() uint64 ( WriteRequestDecoder) RemainingBytes() uint32 ( WriteRequestDecoder) StructureSize() uint16 ( WriteRequestDecoder) WriteChannelInfoLength() uint16 ( WriteRequestDecoder) WriteChannelInfoOffset() uint16 WriteRequestDecoder : Decoder
( WriteResponseDecoder) Count() uint32 ( WriteResponseDecoder) IsInvalid() bool ( WriteResponseDecoder) Remaining() uint32 ( WriteResponseDecoder) StructureSize() uint16 ( WriteResponseDecoder) WriteChannelInfoLength() uint16 ( WriteResponseDecoder) WriteChannelInfoOffset() uint16 WriteResponseDecoder : Decoder
Package-Level Functions (total 4)
func NsecToFiletime(nsec int64) (ft *Filetime)
func Roundup(x, align int) int
Package-Level Constants (total 273)
DesiredAccess
Ciphers
Ciphers
ImpersonationLevel
AdditionalInformation
AdditionalInformation
AdditionalInformation
ImpersonationLevel
common
Flags
DesiredAccess
DesiredAccess
DesiredAccess
CreateOptions
CreateDisposition
DesiredAccess
CreateOptions
CreateOptions
CreateOptions
DesiredAccess
for directory
CreateOptions
CreateOptions
CreateOptions
CreateOptions
CreateDisposition
CreateOptions
CreateOptions
CreateOptions
CreateDisposition
CreateOptions
CreateOptions
CreateOptions
CreateOptions
CreateDisposition
CreateDisposition
CreateOptions
DesiredAccess
for file, pipe, printer
DesiredAccess
CreateOptions
CreateOptions
ShareAccess
ShareAccess
ShareAccess
CreateDisposition
CreateOptions
CreateOptions
DesiredAccess
DesiredAccess
DesiredAccess
DesiredAccess
CreateOptions
const FileAccessInformation = 8 // 8
const FileAlignmentInformation = 17 // 17
const FileAllInformation = 18 // 18
const FileAllocationInformation = 19 // 19
const FileAttributeTagInformation = 35 // 35
const FileBasicInformation = 4 // 4
const FileCompressionInformation = 28 // 28
const FileDirectoryInformation = 1 // 1
const FileDispositionInformation = 13 // 13
const FileEaInformation = 7 // 7
const FileEndOfFileInformation = 20 // 20
const FileFullEaInformation = 15 // 15
const FileHardLinkInformation = 46 // 46
const FileInternalInformation = 6 // 6
const FileLinkInformation = 11 // 11
const FileMailslotSetInformation = 27 // 27
const FileModeInformation = 16 // 16
const FileMoveClusterInformation = 31 // 31
const FileNameInformation = 9 // 9
const FileNamesInformation = 12 // 12
const FileNetworkOpenInformation = 34 // 34
const FileObjectIdInformation = 29 // 29
const FilePipeInformation = 23 // 23
const FilePipeLocalInformation = 24 // 24
const FilePipeRemoteInformation = 25 // 25
const FilePositionInformation = 14 // 14
const FileQuotaInformation = 32 // 32
const FileRenameInformation = 10 // 10
const FileReparsePointInformation = 33 // 33
const FileSfioReserveInformation = 44 // 44
const FileSfioVolumeInformation = 45 // 45
const FileShortNameInformation = 40 // 40
const FileStandardInformation = 5 // 5
const FileStardardLinkInformation = 54 // 54
const FileStreamInformation = 22 // 22
const FileTrackingInformation = 36 // 36
const FSCTL_DFS_GET_REFERRALS = 393620
const FSCTL_FILE_LEVEL_TRIM = 623112
const FSCTL_GET_REPARSE_POINT = 589992
const FSCTL_PIPE_PEEK = 1130508
const FSCTL_PIPE_TRANSCEIVE = 1163287
const FSCTL_PIPE_WAIT = 1114136
const FSCTL_SET_REPARSE_POINT = 589988
const FSCTL_SRV_COPYCHUNK = 1327346
const FSCTL_SRV_COPYCHUNK_WRITE = 1343730
const FSCTL_SRV_READ_HASH = 1327547
DesiredAccess
DesiredAccess
DesiredAccess
DesiredAccess
AdditionalInformation
ImpersonationLevel
ImpersonationLevel
Flags
InfoType
InfoType
InfoType
InfoType
const IO_REPARSE_TAG_DFS = 2147483658
const IO_REPARSE_TAG_DFSR = 2147483666
const IO_REPARSE_TAG_DRIVER_EXTENDER = 2147483653
const IO_REPARSE_TAG_FILTER_MANAGER = 2147483659
const IO_REPARSE_TAG_HSM = 3221225476
const IO_REPARSE_TAG_HSM2 = 2147483654
const IO_REPARSE_TAG_MOUNT_POINT = 2684354563
const IO_REPARSE_TAG_SIS = 2147483655
AdditionalInformation
const MAGIC = "\xfeSMB"
const MAGIC2 = "\xfdSMB"
DesiredAccess
AdditionalInformation
DesiredAccess
Flags
Flags
Flags
AdditionalInformation
AdditionalInformation
HashAlgorithms
Flags
Flags
Flags
Dialects
Dialects
Dialects
InfoType
InfoType
InfoType
InfoType
Flags
Command
Command
Channel
Channel
Command
Command
Command
EncryptionAlgorithm
ContextType
ErrorId
Flags
Flags
Flags
Flags
Flags
Flags
Command
Capabilities
Capabilities
Capabilities
Capabilities
Capabilities
Capabilities
Capabilities
Command
Command
Command
Command
SecurityMode
SecurityMode
Command
RequestedOplockLevel
RequestedOplockLevel
RequestedOplockLevel
RequestedOplockLevel
RequestedOplockLevel
ContextType
Command
Command
Command
Flags
SessionFlags
SessionFlags
SessionFlags
Command
Command
Capabilities
Capabilities
Capabilities
Capabilities
Capabilities
ShareType
ShareType
ShareType
ShareFlags
ShareFlags
ShareFlags
ShareFlags
ShareFlags
ShareFlags
ShareFlags
ShareFlags
ShareFlags
ShareFlags
ShareFlags
ShareFlags
Command
Command
Command
Dialects
Dialects
Dialects
DesiredAccess
Dialects
DesiredAccess
DesiredAccess