ethtool

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package ethtool provides Go wrappers for ioctl ethtool system calls on Linux

Index

Constants

View Source
const (
	IFNAMSIZ        = 16         // defined in linux/if.h
	SIOCETHTOOL     = 0x8946     // ethtool interface, defined in linux/sockios.h
	ETHTOOL_STXCSUM = 0x00000017 // set TX hw csum enable, defined in linux/ethtool.h
)

Variables

This section is empty.

Functions

func EthtoolTXHWCsumOff

func EthtoolTXHWCsumOff(name string) error

EthtoolTXHWCsumOff disables TX checksum offload on the specified interface.

Types

This section is empty.

Jump to

Keyboard shortcuts

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