|
|
|
@ -65,6 +65,7 @@ const (
|
|
|
|
|
ALG_OP_ENCRYPT = 0x1
|
|
|
|
|
ALG_SET_AEAD_ASSOCLEN = 0x4
|
|
|
|
|
ALG_SET_AEAD_AUTHSIZE = 0x5
|
|
|
|
|
ALG_SET_DRBG_ENTROPY = 0x6
|
|
|
|
|
ALG_SET_IV = 0x2
|
|
|
|
|
ALG_SET_KEY = 0x1
|
|
|
|
|
ALG_SET_OP = 0x3
|
|
|
|
@ -179,8 +180,10 @@ const (
|
|
|
|
|
BPF_F_ANY_ALIGNMENT = 0x2
|
|
|
|
|
BPF_F_QUERY_EFFECTIVE = 0x1
|
|
|
|
|
BPF_F_REPLACE = 0x4
|
|
|
|
|
BPF_F_SLEEPABLE = 0x10
|
|
|
|
|
BPF_F_STRICT_ALIGNMENT = 0x1
|
|
|
|
|
BPF_F_TEST_RND_HI32 = 0x4
|
|
|
|
|
BPF_F_TEST_RUN_ON_CPU = 0x1
|
|
|
|
|
BPF_F_TEST_STATE_FREQ = 0x8
|
|
|
|
|
BPF_H = 0x8
|
|
|
|
|
BPF_IMM = 0x0
|
|
|
|
@ -219,6 +222,7 @@ const (
|
|
|
|
|
BPF_NET_OFF = -0x100000
|
|
|
|
|
BPF_OBJ_NAME_LEN = 0x10
|
|
|
|
|
BPF_OR = 0x40
|
|
|
|
|
BPF_PSEUDO_BTF_ID = 0x3
|
|
|
|
|
BPF_PSEUDO_CALL = 0x1
|
|
|
|
|
BPF_PSEUDO_MAP_FD = 0x1
|
|
|
|
|
BPF_PSEUDO_MAP_VALUE = 0x2
|
|
|
|
@ -429,10 +433,13 @@ const (
|
|
|
|
|
DEBUGFS_MAGIC = 0x64626720
|
|
|
|
|
DEVLINK_CMD_ESWITCH_MODE_GET = 0x1d
|
|
|
|
|
DEVLINK_CMD_ESWITCH_MODE_SET = 0x1e
|
|
|
|
|
DEVLINK_FLASH_OVERWRITE_IDENTIFIERS = 0x2
|
|
|
|
|
DEVLINK_FLASH_OVERWRITE_SETTINGS = 0x1
|
|
|
|
|
DEVLINK_GENL_MCGRP_CONFIG_NAME = "config"
|
|
|
|
|
DEVLINK_GENL_NAME = "devlink"
|
|
|
|
|
DEVLINK_GENL_VERSION = 0x1
|
|
|
|
|
DEVLINK_SB_THRESHOLD_TO_ALPHA_MAX = 0x14
|
|
|
|
|
DEVLINK_SUPPORTED_FLASH_OVERWRITE_SECTIONS = 0x3
|
|
|
|
|
DEVMEM_MAGIC = 0x454d444d
|
|
|
|
|
DEVPTS_SUPER_MAGIC = 0x1cd1
|
|
|
|
|
DMA_BUF_MAGIC = 0x444d4142
|
|
|
|
@ -477,9 +484,9 @@ const (
|
|
|
|
|
DM_UUID_FLAG = 0x4000
|
|
|
|
|
DM_UUID_LEN = 0x81
|
|
|
|
|
DM_VERSION = 0xc138fd00
|
|
|
|
|
DM_VERSION_EXTRA = "-ioctl (2020-02-27)"
|
|
|
|
|
DM_VERSION_EXTRA = "-ioctl (2020-10-01)"
|
|
|
|
|
DM_VERSION_MAJOR = 0x4
|
|
|
|
|
DM_VERSION_MINOR = 0x2a
|
|
|
|
|
DM_VERSION_MINOR = 0x2b
|
|
|
|
|
DM_VERSION_PATCHLEVEL = 0x0
|
|
|
|
|
DT_BLK = 0x6
|
|
|
|
|
DT_CHR = 0x2
|
|
|
|
@ -520,6 +527,119 @@ const (
|
|
|
|
|
EPOLL_CTL_DEL = 0x2
|
|
|
|
|
EPOLL_CTL_MOD = 0x3
|
|
|
|
|
EROFS_SUPER_MAGIC_V1 = 0xe0f5e1e2
|
|
|
|
|
ESP_V4_FLOW = 0xa
|
|
|
|
|
ESP_V6_FLOW = 0xc
|
|
|
|
|
ETHER_FLOW = 0x12
|
|
|
|
|
ETHTOOL_BUSINFO_LEN = 0x20
|
|
|
|
|
ETHTOOL_EROMVERS_LEN = 0x20
|
|
|
|
|
ETHTOOL_FEC_AUTO = 0x2
|
|
|
|
|
ETHTOOL_FEC_BASER = 0x10
|
|
|
|
|
ETHTOOL_FEC_LLRS = 0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|
ETHTOOL_SRXCSUM = 0x15
|
|
|
|
|
ETHTOOL_SRXFH = 0x2a
|
|
|
|
|
ETHTOOL_SRXFHINDIR = 0x39
|
|
|
|
|
ETHTOOL_SRXNTUPLE = 0x35
|
|
|
|
|
ETHTOOL_SSET = 0x2
|
|
|
|
|
ETHTOOL_SSG = 0x19
|
|
|
|
|
ETHTOOL_STSO = 0x1f
|
|
|
|
|
ETHTOOL_STUNABLE = 0x49
|
|
|
|
|
ETHTOOL_STXCSUM = 0x17
|
|
|
|
|
ETHTOOL_SUFO = 0x22
|
|
|
|
|
ETHTOOL_SWOL = 0x6
|
|
|
|
|
ETHTOOL_TEST = 0x1a
|
|
|
|
|
ETH_P_1588 = 0x88f7
|
|
|
|
|
ETH_P_8021AD = 0x88a8
|
|
|
|
|
ETH_P_8021AH = 0x88e7
|
|
|
|
@ -989,6 +1109,7 @@ const (
|
|
|
|
|
IPV6_DONTFRAG = 0x3e
|
|
|
|
|
IPV6_DROP_MEMBERSHIP = 0x15
|
|
|
|
|
IPV6_DSTOPTS = 0x3b
|
|
|
|
|
IPV6_FLOW = 0x11
|
|
|
|
|
IPV6_FREEBIND = 0x4e
|
|
|
|
|
IPV6_HDRINCL = 0x24
|
|
|
|
|
IPV6_HOPLIMIT = 0x34
|
|
|
|
@ -1038,6 +1159,7 @@ const (
|
|
|
|
|
IPV6_TRANSPARENT = 0x4b
|
|
|
|
|
IPV6_UNICAST_HOPS = 0x10
|
|
|
|
|
IPV6_UNICAST_IF = 0x4c
|
|
|
|
|
IPV6_USER_FLOW = 0xe
|
|
|
|
|
IPV6_V6ONLY = 0x1a
|
|
|
|
|
IPV6_XFRM_POLICY = 0x23
|
|
|
|
|
IP_ADD_MEMBERSHIP = 0x23
|
|
|
|
@ -1094,6 +1216,7 @@ const (
|
|
|
|
|
IP_TTL = 0x2
|
|
|
|
|
IP_UNBLOCK_SOURCE = 0x25
|
|
|
|
|
IP_UNICAST_IF = 0x32
|
|
|
|
|
IP_USER_FLOW = 0xd
|
|
|
|
|
IP_XFRM_POLICY = 0x11
|
|
|
|
|
ISOFS_SUPER_MAGIC = 0x9660
|
|
|
|
|
ISTRIP = 0x20
|
|
|
|
@ -1217,6 +1340,12 @@ const (
|
|
|
|
|
LOOP_SET_STATUS_SETTABLE_FLAGS = 0xc
|
|
|
|
|
LO_KEY_SIZE = 0x20
|
|
|
|
|
LO_NAME_SIZE = 0x40
|
|
|
|
|
LWTUNNEL_IP6_MAX = 0x8
|
|
|
|
|
LWTUNNEL_IP_MAX = 0x8
|
|
|
|
|
LWTUNNEL_IP_OPTS_MAX = 0x3
|
|
|
|
|
LWTUNNEL_IP_OPT_ERSPAN_MAX = 0x4
|
|
|
|
|
LWTUNNEL_IP_OPT_GENEVE_MAX = 0x3
|
|
|
|
|
LWTUNNEL_IP_OPT_VXLAN_MAX = 0x1
|
|
|
|
|
MADV_COLD = 0x14
|
|
|
|
|
MADV_DODUMP = 0x11
|
|
|
|
|
MADV_DOFORK = 0xb
|
|
|
|
@ -1325,6 +1454,7 @@ const (
|
|
|
|
|
MS_NOREMOTELOCK = 0x8000000
|
|
|
|
|
MS_NOSEC = 0x10000000
|
|
|
|
|
MS_NOSUID = 0x2
|
|
|
|
|
MS_NOSYMFOLLOW = 0x100
|
|
|
|
|
MS_NOUSER = -0x80000000
|
|
|
|
|
MS_POSIXACL = 0x10000
|
|
|
|
|
MS_PRIVATE = 0x40000
|
|
|
|
@ -1566,7 +1696,7 @@ const (
|
|
|
|
|
PERF_MEM_REMOTE_REMOTE = 0x1
|
|
|
|
|
PERF_MEM_REMOTE_SHIFT = 0x25
|
|
|
|
|
PERF_MEM_SNOOPX_FWD = 0x1
|
|
|
|
|
PERF_MEM_SNOOPX_SHIFT = 0x25
|
|
|
|
|
PERF_MEM_SNOOPX_SHIFT = 0x26
|
|
|
|
|
PERF_MEM_SNOOP_HIT = 0x4
|
|
|
|
|
PERF_MEM_SNOOP_HITM = 0x10
|
|
|
|
|
PERF_MEM_SNOOP_MISS = 0x8
|
|
|
|
@ -1666,6 +1796,13 @@ const (
|
|
|
|
|
PR_MCE_KILL_SET = 0x1
|
|
|
|
|
PR_MPX_DISABLE_MANAGEMENT = 0x2c
|
|
|
|
|
PR_MPX_ENABLE_MANAGEMENT = 0x2b
|
|
|
|
|
PR_MTE_TAG_MASK = 0x7fff8
|
|
|
|
|
PR_MTE_TAG_SHIFT = 0x3
|
|
|
|
|
PR_MTE_TCF_ASYNC = 0x4
|
|
|
|
|
PR_MTE_TCF_MASK = 0x6
|
|
|
|
|
PR_MTE_TCF_NONE = 0x0
|
|
|
|
|
PR_MTE_TCF_SHIFT = 0x1
|
|
|
|
|
PR_MTE_TCF_SYNC = 0x2
|
|
|
|
|
PR_PAC_APDAKEY = 0x4
|
|
|
|
|
PR_PAC_APDBKEY = 0x8
|
|
|
|
|
PR_PAC_APGAKEY = 0x10
|
|
|
|
@ -2200,7 +2337,7 @@ const (
|
|
|
|
|
STATX_ATTR_APPEND = 0x20
|
|
|
|
|
STATX_ATTR_AUTOMOUNT = 0x1000
|
|
|
|
|
STATX_ATTR_COMPRESSED = 0x4
|
|
|
|
|
STATX_ATTR_DAX = 0x2000
|
|
|
|
|
STATX_ATTR_DAX = 0x200000
|
|
|
|
|
STATX_ATTR_ENCRYPTED = 0x800
|
|
|
|
|
STATX_ATTR_IMMUTABLE = 0x10
|
|
|
|
|
STATX_ATTR_MOUNT_ROOT = 0x2000
|
|
|
|
@ -2319,6 +2456,8 @@ const (
|
|
|
|
|
TCP_TX_DELAY = 0x25
|
|
|
|
|
TCP_ULP = 0x1f
|
|
|
|
|
TCP_USER_TIMEOUT = 0x12
|
|
|
|
|
TCP_V4_FLOW = 0x1
|
|
|
|
|
TCP_V6_FLOW = 0x5
|
|
|
|
|
TCP_WINDOW_CLAMP = 0xa
|
|
|
|
|
TCP_ZEROCOPY_RECEIVE = 0x23
|
|
|
|
|
TFD_TIMER_ABSTIME = 0x1
|
|
|
|
@ -2384,6 +2523,7 @@ const (
|
|
|
|
|
TIPC_NODE_STATE = 0x0
|
|
|
|
|
TIPC_OK = 0x0
|
|
|
|
|
TIPC_PUBLISHED = 0x1
|
|
|
|
|
TIPC_REKEYING_NOW = 0xffffffff
|
|
|
|
|
TIPC_RESERVED_TYPES = 0x40
|
|
|
|
|
TIPC_RETDATA = 0x2
|
|
|
|
|
TIPC_SERVICE_ADDR = 0x2
|
|
|
|
@ -2444,6 +2584,7 @@ const (
|
|
|
|
|
VM_SOCKETS_INVALID_VERSION = 0xffffffff
|
|
|
|
|
VQUIT = 0x1
|
|
|
|
|
VT0 = 0x0
|
|
|
|
|
WAKE_MAGIC = 0x20
|
|
|
|
|
WALL = 0x40000000
|
|
|
|
|
WCLONE = 0x80000000
|
|
|
|
|
WCONTINUED = 0x8
|
|
|
|
|