mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-28 04:46:44 -04:00
unix: add missing IFLA_* consts on linux
Add these based on uapi/linux/if_link.h as of Linux kernel 5.19. Change-Id: I56be6e6178aad3d10194a45f774ccf307ed461b5 Reviewed-on: https://go-review.googlesource.com/c/sys/+/420694 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
committed by
Tobias Klauser
parent
e052cef7d3
commit
8e32c043e4
@@ -1487,6 +1487,11 @@ const (
|
||||
IFLA_ALT_IFNAME = C.IFLA_ALT_IFNAME
|
||||
IFLA_PERM_ADDRESS = C.IFLA_PERM_ADDRESS
|
||||
IFLA_PROTO_DOWN_REASON = C.IFLA_PROTO_DOWN_REASON
|
||||
IFLA_PARENT_DEV_NAME = C.IFLA_PARENT_DEV_NAME
|
||||
IFLA_PARENT_DEV_BUS_NAME = C.IFLA_PARENT_DEV_BUS_NAME
|
||||
IFLA_GRO_MAX_SIZE = C.IFLA_GRO_MAX_SIZE
|
||||
IFLA_TSO_MAX_SIZE = C.IFLA_TSO_MAX_SIZE
|
||||
IFLA_TSO_MAX_SEGS = C.IFLA_TSO_MAX_SEGS
|
||||
IFLA_PROTO_DOWN_REASON_UNSPEC = C.IFLA_PROTO_DOWN_REASON_UNSPEC
|
||||
IFLA_PROTO_DOWN_REASON_MASK = C.IFLA_PROTO_DOWN_REASON_MASK
|
||||
IFLA_PROTO_DOWN_REASON_VALUE = C.IFLA_PROTO_DOWN_REASON_VALUE
|
||||
|
||||
@@ -1466,6 +1466,11 @@ const (
|
||||
IFLA_ALT_IFNAME = 0x35
|
||||
IFLA_PERM_ADDRESS = 0x36
|
||||
IFLA_PROTO_DOWN_REASON = 0x37
|
||||
IFLA_PARENT_DEV_NAME = 0x38
|
||||
IFLA_PARENT_DEV_BUS_NAME = 0x39
|
||||
IFLA_GRO_MAX_SIZE = 0x3a
|
||||
IFLA_TSO_MAX_SIZE = 0x3b
|
||||
IFLA_TSO_MAX_SEGS = 0x3c
|
||||
IFLA_PROTO_DOWN_REASON_UNSPEC = 0x0
|
||||
IFLA_PROTO_DOWN_REASON_MASK = 0x1
|
||||
IFLA_PROTO_DOWN_REASON_VALUE = 0x2
|
||||
|
||||
Reference in New Issue
Block a user