Generated from Manticore v1.1.5 • 201 packages. View on pkg.go.dev

smb

import "github.com/TheManticoreProject/Manticore/network/smb"

Index

type SMBProtocolVersion

type SMBProtocolVersion uint16
const (
    SMB_VERSION_1_0 SMBProtocolVersion = 0x0100
    // SMB_VERSION_2_0 (0x0200) is the abstract "SMB 2.0 family" marker. It is NOT
    // a real wire dialect revision; the first concrete SMB2 dialect is SMB 2.0.2.
    // It is retained for backward compatibility — prefer SMB_VERSION_2_0_2.
    SMB_VERSION_2_0 SMBProtocolVersion = 0x0200
    // SMB_VERSION_2_0_2 (0x0202) is the SMB 2.0.2 dialect revision, the lowest
    // real SMB2 DialectRevision carried on the wire.
    SMB_VERSION_2_0_2 SMBProtocolVersion = 0x0202
    SMB_VERSION_2_1   SMBProtocolVersion = 0x0210
    SMB_VERSION_3_0   SMBProtocolVersion = 0x0300
    // SMB_VERSION_3_0_2 (0x0302) is the SMB 3.0.2 dialect revision.
    SMB_VERSION_3_0_2 SMBProtocolVersion = 0x0302
    SMB_VERSION_3_1_1 SMBProtocolVersion = 0x0311
)

func (SMBProtocolVersion) IsSMB2

func (v SMBProtocolVersion) IsSMB2() bool

func (SMBProtocolVersion) IsSupported

func (v SMBProtocolVersion) IsSupported() bool

func (SMBProtocolVersion) String

func (v SMBProtocolVersion) String() string

Subpackages