Documentation
¶
Index ¶
Constants ¶
View Source
const ( ComIDDiscoveryL0 ComID = 1 SecurityProtocolManagement SecurityProtocol = 1 SecurityProtocolTPer SecurityProtocol = 2 )
View Source
const ( NVME_ADMIN_IDENTIFY = 0x06 NVME_SECURITY_SEND = 0x81 NVME_SECURITY_RECV = 0x82 )
Variables ¶
View Source
var (
ErrNotSupported = errors.New("Operation is not supported")
)
View Source
var (
NVME_IOCTL_ADMIN_CMD = ioctl.Iowr('N', 0x41, unsafe.Sizeof(nvmePassthruCommand{}))
)
Functions ¶
Types ¶
type SecurityProtocol ¶
type SecurityProtocol int
Click to show internal directories.
Click to hide internal directories.