ethtool

package
v0.0.0-...-d216c5d Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EthtoolRxGRO = "rx-gro"
)

Variables

This section is empty.

Functions

func EthtoolChangeImpl

func EthtoolChangeImpl(iface string, config map[string]bool) error

func EthtoolTXOff

func EthtoolTXOff(name string) error

EthtoolTXOff disables the TX checksum offload on the specified interface

Types

type EthtoolValue

type EthtoolValue struct {
	Cmd  uint32
	Data uint32
}

EthtoolValue represents linux/ethtool.h 'struct ethtool_value'

type IFReqData

type IFReqData struct {
	Name [unix.IFNAMSIZ]byte
	Data uintptr
}

IFReqData represents linux/if.h 'struct ifreq'

Jump to

Keyboard shortcuts

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