Documentation ¶
Overview ¶
Package ioctl uses IOCTL's to find block device size, adjust network interface state, etc.
Index ¶
- func BlkGetSectorSize(f FDer) (uint64, error)
- func BlkGetSize64(f FDer) (uint64, error)
- func GetIfFlags(fd int, name string) (uint16, error)
- func Ioctl1(fd uintptr, cmd int) (res uint64, err error)
- func NicIsUp(name string) (up bool)
- func SetIfFlags(fd int, name string, flags uint16) error
- func SetNicState(name string, up bool) error
- type FDer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetNicState ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.