ethtool

package
v1.8.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2021 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	SIOCETHTOOL      = 0x8946
	ETHTOOL_GDRVINFO = 0x00000003 // Get driver info

	IFNAMSIZ = 16
)

Variables

This section is empty.

Functions

func GetDeviceName added in v1.8.10

func GetDeviceName(iface string) (string, error)

func IsVirtualDriver

func IsVirtualDriver(iface string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL