unix: add SPEED_UNKNOWN

This commit is contained in:
Dmytro Shynkevych
2022-02-27 09:09:22 -05:00
parent 95c6836cb0
commit 1428dcc517
2 changed files with 4 additions and 0 deletions

View File

@@ -3755,6 +3755,8 @@ const (
ETHTOOL_A_TUNNEL_INFO_MAX = C.ETHTOOL_A_TUNNEL_INFO_MAX
)
const SPEED_UNKNOWN = C.SPEED_UNKNOWN
type EthtoolDrvinfo C.struct_ethtool_drvinfo
type (

View File

@@ -3771,6 +3771,8 @@ const (
ETHTOOL_A_TUNNEL_INFO_MAX = 0x2
)
const SPEED_UNKNOWN = -0x1
type EthtoolDrvinfo struct {
Cmd uint32
Driver [32]byte