aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-02-20 18:42:57 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-02-20 18:42:57 +0100
commitbd2a74a31f07d383be203bcd77dfbecbc1205dd3 (patch)
treeda62c6d6095a8aba07a52c370bad21128698a483
parent02698d8bc45175a6626098daa8badd62ff88dcfb (diff)
sys/linux: add smc_pnetid genetlink descriptions
-rw-r--r--executor/defs.h12
-rw-r--r--executor/syscalls.h30
-rw-r--r--sys/linux/gen/386.go175
-rw-r--r--sys/linux/gen/amd64.go183
-rw-r--r--sys/linux/gen/arm.go175
-rw-r--r--sys/linux/gen/arm64.go183
-rw-r--r--sys/linux/gen/mips64le.go183
-rw-r--r--sys/linux/gen/ppc64le.go183
-rw-r--r--sys/linux/socket_netlink_generic_smc.txt28
-rw-r--r--sys/linux/socket_netlink_generic_smc_386.const10
-rw-r--r--sys/linux/socket_netlink_generic_smc_amd64.const10
-rw-r--r--sys/linux/socket_netlink_generic_smc_arm.const10
-rw-r--r--sys/linux/socket_netlink_generic_smc_arm64.const10
-rw-r--r--sys/linux/socket_netlink_generic_smc_mips64le.const10
-rw-r--r--sys/linux/socket_netlink_generic_smc_ppc64le.const10
15 files changed, 1200 insertions, 12 deletions
diff --git a/executor/defs.h b/executor/defs.h
index 4f4850f8f..c7aa2f749 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -70,7 +70,7 @@
#if GOARCH_386
#define GOARCH "386"
-#define SYZ_REVISION "04fc8973b69dbf4979ab879e07778fc02b6e5a6c"
+#define SYZ_REVISION "700ce71766e5a7cb804325f6d48e942cd5e7edf0"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -80,7 +80,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "3f6c136a66718444baa514281669846d8fe2aa16"
+#define SYZ_REVISION "7c5c0f25b101372d59f1fff55aaea026c3d95af7"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -90,7 +90,7 @@
#if GOARCH_arm
#define GOARCH "arm"
-#define SYZ_REVISION "2b0679751c8799cba32f6803fdd37eba5cb8355b"
+#define SYZ_REVISION "acb9ead12b5468029ec6babf77e7a41773472284"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -100,7 +100,7 @@
#if GOARCH_arm64
#define GOARCH "arm64"
-#define SYZ_REVISION "0f791c98835aa79e3c5ebbaadda38e011f07a98e"
+#define SYZ_REVISION "ed70a86fd45eb76406917b278bfd0f96d9932dcb"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -110,7 +110,7 @@
#if GOARCH_mips64le
#define GOARCH "mips64le"
-#define SYZ_REVISION "6d1455a98c4c2b4ea29cce95ff8395c5d94f15c0"
+#define SYZ_REVISION "6756b4904c7dbe68bb96aad04e45a85983854f04"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -120,7 +120,7 @@
#if GOARCH_ppc64le
#define GOARCH "ppc64le"
-#define SYZ_REVISION "b07cf7921d128f13154b3db793acd4b11e6e1bec"
+#define SYZ_REVISION "c61fe1f932fa23514cc4651169b1ae14efdc71ca"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
diff --git a/executor/syscalls.h b/executor/syscalls.h
index ad0c8be37..e445bc01c 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -4484,6 +4484,10 @@ const call_t syscalls[] = {
{"sendmsg$SEG6_CMD_GET_TUNSRC", 370},
{"sendmsg$SEG6_CMD_SETHMAC", 370},
{"sendmsg$SEG6_CMD_SET_TUNSRC", 370},
+ {"sendmsg$SMC_PNETID_ADD", 370},
+ {"sendmsg$SMC_PNETID_DEL", 370},
+ {"sendmsg$SMC_PNETID_FLUSH", 370},
+ {"sendmsg$SMC_PNETID_GET", 370},
{"sendmsg$TEAM_CMD_NOOP", 370},
{"sendmsg$TEAM_CMD_OPTIONS_GET", 370},
{"sendmsg$TEAM_CMD_OPTIONS_SET", 370},
@@ -4998,6 +5002,7 @@ const call_t syscalls[] = {
{"syz_genetlink_get_family_id$netlbl_mgmt", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$netlbl_unlabel", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$nl80211", 0, (syscall_t)syz_genetlink_get_family_id},
+ {"syz_genetlink_get_family_id$smc", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$team", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$tipc", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$tipc2", 0, (syscall_t)syz_genetlink_get_family_id},
@@ -7791,6 +7796,10 @@ const call_t syscalls[] = {
{"sendmsg$SEG6_CMD_GET_TUNSRC", 46},
{"sendmsg$SEG6_CMD_SETHMAC", 46},
{"sendmsg$SEG6_CMD_SET_TUNSRC", 46},
+ {"sendmsg$SMC_PNETID_ADD", 46},
+ {"sendmsg$SMC_PNETID_DEL", 46},
+ {"sendmsg$SMC_PNETID_FLUSH", 46},
+ {"sendmsg$SMC_PNETID_GET", 46},
{"sendmsg$TEAM_CMD_NOOP", 46},
{"sendmsg$TEAM_CMD_OPTIONS_GET", 46},
{"sendmsg$TEAM_CMD_OPTIONS_SET", 46},
@@ -8304,6 +8313,7 @@ const call_t syscalls[] = {
{"syz_genetlink_get_family_id$netlbl_mgmt", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$netlbl_unlabel", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$nl80211", 0, (syscall_t)syz_genetlink_get_family_id},
+ {"syz_genetlink_get_family_id$smc", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$team", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$tipc", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$tipc2", 0, (syscall_t)syz_genetlink_get_family_id},
@@ -11050,6 +11060,10 @@ const call_t syscalls[] = {
{"sendmsg$SEG6_CMD_GET_TUNSRC", 296},
{"sendmsg$SEG6_CMD_SETHMAC", 296},
{"sendmsg$SEG6_CMD_SET_TUNSRC", 296},
+ {"sendmsg$SMC_PNETID_ADD", 296},
+ {"sendmsg$SMC_PNETID_DEL", 296},
+ {"sendmsg$SMC_PNETID_FLUSH", 296},
+ {"sendmsg$SMC_PNETID_GET", 296},
{"sendmsg$TEAM_CMD_NOOP", 296},
{"sendmsg$TEAM_CMD_OPTIONS_GET", 296},
{"sendmsg$TEAM_CMD_OPTIONS_SET", 296},
@@ -11562,6 +11576,7 @@ const call_t syscalls[] = {
{"syz_genetlink_get_family_id$netlbl_mgmt", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$netlbl_unlabel", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$nl80211", 0, (syscall_t)syz_genetlink_get_family_id},
+ {"syz_genetlink_get_family_id$smc", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$team", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$tipc", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$tipc2", 0, (syscall_t)syz_genetlink_get_family_id},
@@ -14288,6 +14303,10 @@ const call_t syscalls[] = {
{"sendmsg$SEG6_CMD_GET_TUNSRC", 211},
{"sendmsg$SEG6_CMD_SETHMAC", 211},
{"sendmsg$SEG6_CMD_SET_TUNSRC", 211},
+ {"sendmsg$SMC_PNETID_ADD", 211},
+ {"sendmsg$SMC_PNETID_DEL", 211},
+ {"sendmsg$SMC_PNETID_FLUSH", 211},
+ {"sendmsg$SMC_PNETID_GET", 211},
{"sendmsg$TEAM_CMD_NOOP", 211},
{"sendmsg$TEAM_CMD_OPTIONS_GET", 211},
{"sendmsg$TEAM_CMD_OPTIONS_SET", 211},
@@ -14794,6 +14813,7 @@ const call_t syscalls[] = {
{"syz_genetlink_get_family_id$netlbl_mgmt", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$netlbl_unlabel", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$nl80211", 0, (syscall_t)syz_genetlink_get_family_id},
+ {"syz_genetlink_get_family_id$smc", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$team", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$tipc", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$tipc2", 0, (syscall_t)syz_genetlink_get_family_id},
@@ -17433,6 +17453,10 @@ const call_t syscalls[] = {
{"sendmsg$SEG6_CMD_GET_TUNSRC", 5045},
{"sendmsg$SEG6_CMD_SETHMAC", 5045},
{"sendmsg$SEG6_CMD_SET_TUNSRC", 5045},
+ {"sendmsg$SMC_PNETID_ADD", 5045},
+ {"sendmsg$SMC_PNETID_DEL", 5045},
+ {"sendmsg$SMC_PNETID_FLUSH", 5045},
+ {"sendmsg$SMC_PNETID_GET", 5045},
{"sendmsg$TEAM_CMD_NOOP", 5045},
{"sendmsg$TEAM_CMD_OPTIONS_GET", 5045},
{"sendmsg$TEAM_CMD_OPTIONS_SET", 5045},
@@ -17946,6 +17970,7 @@ const call_t syscalls[] = {
{"syz_genetlink_get_family_id$netlbl_mgmt", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$netlbl_unlabel", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$nl80211", 0, (syscall_t)syz_genetlink_get_family_id},
+ {"syz_genetlink_get_family_id$smc", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$team", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$tipc", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$tipc2", 0, (syscall_t)syz_genetlink_get_family_id},
@@ -20693,6 +20718,10 @@ const call_t syscalls[] = {
{"sendmsg$SEG6_CMD_GET_TUNSRC", 341},
{"sendmsg$SEG6_CMD_SETHMAC", 341},
{"sendmsg$SEG6_CMD_SET_TUNSRC", 341},
+ {"sendmsg$SMC_PNETID_ADD", 341},
+ {"sendmsg$SMC_PNETID_DEL", 341},
+ {"sendmsg$SMC_PNETID_FLUSH", 341},
+ {"sendmsg$SMC_PNETID_GET", 341},
{"sendmsg$TEAM_CMD_NOOP", 341},
{"sendmsg$TEAM_CMD_OPTIONS_GET", 341},
{"sendmsg$TEAM_CMD_OPTIONS_SET", 341},
@@ -21204,6 +21233,7 @@ const call_t syscalls[] = {
{"syz_genetlink_get_family_id$netlbl_mgmt", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$netlbl_unlabel", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$nl80211", 0, (syscall_t)syz_genetlink_get_family_id},
+ {"syz_genetlink_get_family_id$smc", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$team", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$tipc", 0, (syscall_t)syz_genetlink_get_family_id},
{"syz_genetlink_get_family_id$tipc2", 0, (syscall_t)syz_genetlink_get_family_id},
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index 960a0feca..4215c02a0 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -163,6 +163,7 @@ var resources_386 = []*ResourceDesc{
{Name: "genl_nbd_family_id", Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}},
{Name: "genl_net_dm_family_id", Kind: []string{"genl_net_dm_family_id"}, Values: []uint64{0}},
{Name: "genl_seg6_family_id", Kind: []string{"genl_seg6_family_id"}, Values: []uint64{0}},
+ {Name: "genl_smc_family_id", Kind: []string{"genl_smc_family_id"}, Values: []uint64{0}},
{Name: "genl_team_family_id", Kind: []string{"genl_team_family_id"}, Values: []uint64{0}},
{Name: "genl_tipc2_family_id", Kind: []string{"genl_tipc2_family_id"}, Values: []uint64{0}},
{Name: "genl_tipc_family_id", Kind: []string{"genl_tipc_family_id"}, Values: []uint64{0}},
@@ -7983,6 +7984,26 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
}, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_ADD]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_ADD]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_DEL]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_DEL]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_FLUSH]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_FLUSH]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_GET]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
{StructKey{Name: "genlmsghdr_t[TEAM_CMD_NOOP]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[TEAM_CMD_NOOP]", TypeSize: 4}, []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
@@ -10294,6 +10315,22 @@ var structDescs_386 = []*KeyedStruct{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_seg6_family_id, genlmsghdr_t[SEG6_CMD_SET_TUNSRC], seg6_genl_policy]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
}}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]", TypeSize: 8}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]", TypeSize: 8}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]", TypeSize: 8}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]", TypeSize: 8}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
+ }}},
{StructKey{Name: "iovec[in, netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]", TypeSize: 8}, Fields: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
@@ -15614,6 +15651,42 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}},
&FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
}}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]", TypeSize: 28}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]", TypeSize: 28}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]", TypeSize: 28}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]", TypeSize: 28}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }}},
{StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]", TypeSize: 28}, Fields: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
@@ -19053,6 +19126,42 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "genlmsghdr_t[SEG6_CMD_SET_TUNSRC]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "seg6_genl_policy"}}},
}, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_ADD]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_DEL]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_FLUSH]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_GET]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
{StructKey{Name: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]", IsVarlen: true}, []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "genl_team_family_id", FldName: "type", TypeSize: 2}},
@@ -26938,6 +27047,33 @@ var structDescs_386 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]", TypeSize: 20}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_batadv\x00", "veth1_to_batadv\x00", "batadv_slave_0\x00\x00", "batadv_slave_1\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_virt_wifi\x00", "veth1_virt_wifi\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00", "veth0_vlan\x00\x00\x00\x00\x00\x00", "veth1_vlan\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan0\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan1\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_macvtap\x00\x00\x00", "veth1_macvtap\x00\x00\x00", "macvtap0\x00\x00\x00\x00\x00\x00\x00\x00", "macsec0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg2\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]", TypeSize: 12}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "smc_pnetid_ibname", Values: []string{"syz0\x00", "syz1\x00", "syz2\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]", TypeSize: 8}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]", TypeSize: 12}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "smc_pnetid_name", Values: []string{"syz0\x00", "syz1\x00", "syz2\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
{StructKey{Name: "nlattr_t[const[TCA_ACT_BPF_FD, int16], fd]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_BPF_FD, int16], fd]", TypeSize: 8}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5},
@@ -38425,6 +38561,12 @@ var structDescs_386 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "label", IsVarlen: true}, Kind: 2, NoZ: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32},
}}},
+ {StructKey{Name: "smc_pnet_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "smc_pnet_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]"}, FldName: "SMC_PNETID_NAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]"}, FldName: "SMC_PNETID_ETHNAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]"}, FldName: "SMC_PNETID_IBNAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]"}, FldName: "SMC_PNETID_IBPORT"},
+ }}},
{StructKey{Name: "snd_ctl_elem_id"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_id", TypeSize: 64}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numid", TypeSize: 4}}, Kind: 1, RangeEnd: 10},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_iface", FldName: "iface", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6}},
@@ -60937,6 +61079,26 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_seg6_family_id, genlmsghdr_t[SEG6_CMD_SET_TUNSRC], seg6_genl_policy]]"}}},
&FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
}},
+ {NR: 370, Name: "sendmsg$SMC_PNETID_ADD", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 370, Name: "sendmsg$SMC_PNETID_DEL", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 370, Name: "sendmsg$SMC_PNETID_FLUSH", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 370, Name: "sendmsg$SMC_PNETID_GET", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
{NR: 370, Name: "sendmsg$TEAM_CMD_NOOP", CallName: "sendmsg", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}}},
@@ -64085,6 +64247,9 @@ var syscalls_386 = []*Syscall{
{Name: "syz_genetlink_get_family_id$nl80211", CallName: "syz_genetlink_get_family_id", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"nl80211\x00"}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "nl80211_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
+ {Name: "syz_genetlink_get_family_id$smc", CallName: "syz_genetlink_get_family_id", Args: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 11}, Kind: 2, Values: []string{"SMC_PNETID\x00"}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
{Name: "syz_genetlink_get_family_id$team", CallName: "syz_genetlink_get_family_id", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"team\x00"}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_team_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
@@ -72237,6 +72402,14 @@ var consts_386 = []ConstValue{
{"SMACK_CIPSO_MAXLEVEL", 255},
{Name: "SMACK_PTRACE_DEFAULT"},
{"SMACK_PTRACE_MAX", 2},
+ {"SMC_PNETID_ADD", 2},
+ {"SMC_PNETID_DEL", 3},
+ {"SMC_PNETID_ETHNAME", 2},
+ {"SMC_PNETID_FLUSH", 4},
+ {"SMC_PNETID_GET", 1},
+ {"SMC_PNETID_IBNAME", 3},
+ {"SMC_PNETID_IBPORT", 4},
+ {"SMC_PNETID_NAME", 1},
{"SNAPSHOT_FREEZE", 13057},
{"SNAPSHOT_UNFREEZE", 13058},
{"SNDCTL_DSP_CHANNELS", 3221508102},
@@ -75878,4 +76051,4 @@ var consts_386 = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_386 = "04fc8973b69dbf4979ab879e07778fc02b6e5a6c"
+const revision_386 = "700ce71766e5a7cb804325f6d48e942cd5e7edf0"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index affed1c06..cb2f0d82c 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -163,6 +163,7 @@ var resources_amd64 = []*ResourceDesc{
{Name: "genl_nbd_family_id", Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}},
{Name: "genl_net_dm_family_id", Kind: []string{"genl_net_dm_family_id"}, Values: []uint64{0}},
{Name: "genl_seg6_family_id", Kind: []string{"genl_seg6_family_id"}, Values: []uint64{0}},
+ {Name: "genl_smc_family_id", Kind: []string{"genl_smc_family_id"}, Values: []uint64{0}},
{Name: "genl_team_family_id", Kind: []string{"genl_team_family_id"}, Values: []uint64{0}},
{Name: "genl_tipc2_family_id", Kind: []string{"genl_tipc2_family_id"}, Values: []uint64{0}},
{Name: "genl_tipc_family_id", Kind: []string{"genl_tipc_family_id"}, Values: []uint64{0}},
@@ -8117,6 +8118,26 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
}, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_ADD]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_ADD]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_DEL]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_DEL]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_FLUSH]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_FLUSH]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_GET]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
{StructKey{Name: "genlmsghdr_t[TEAM_CMD_NOOP]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[TEAM_CMD_NOOP]", TypeSize: 4}, []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
@@ -10448,6 +10469,22 @@ var structDescs_amd64 = []*KeyedStruct{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_seg6_family_id, genlmsghdr_t[SEG6_CMD_SET_TUNSRC], seg6_genl_policy]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
}}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
{StructKey{Name: "iovec[in, netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]", TypeSize: 16}, Fields: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
@@ -16057,6 +16094,50 @@ var structDescs_amd64 = []*KeyedStruct{
&FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
{StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]", TypeSize: 56}, Fields: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
@@ -19727,6 +19808,42 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "genlmsghdr_t[SEG6_CMD_SET_TUNSRC]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "seg6_genl_policy"}}},
}, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_ADD]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_DEL]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_FLUSH]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_GET]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
{StructKey{Name: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]", IsVarlen: true}, []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "genl_team_family_id", FldName: "type", TypeSize: 2}},
@@ -27614,6 +27731,33 @@ var structDescs_amd64 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]", TypeSize: 20}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_batadv\x00", "veth1_to_batadv\x00", "batadv_slave_0\x00\x00", "batadv_slave_1\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_virt_wifi\x00", "veth1_virt_wifi\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00", "veth0_vlan\x00\x00\x00\x00\x00\x00", "veth1_vlan\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan0\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan1\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_macvtap\x00\x00\x00", "veth1_macvtap\x00\x00\x00", "macvtap0\x00\x00\x00\x00\x00\x00\x00\x00", "macsec0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg2\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]", TypeSize: 12}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "smc_pnetid_ibname", Values: []string{"syz0\x00", "syz1\x00", "syz2\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]", TypeSize: 8}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]", TypeSize: 12}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "smc_pnetid_name", Values: []string{"syz0\x00", "syz1\x00", "syz2\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
{StructKey{Name: "nlattr_t[const[TCA_ACT_BPF_FD, int16], fd]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_BPF_FD, int16], fd]", TypeSize: 8}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5},
@@ -39131,6 +39275,12 @@ var structDescs_amd64 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "label", IsVarlen: true}, Kind: 2, NoZ: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32},
}}},
+ {StructKey{Name: "smc_pnet_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "smc_pnet_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]"}, FldName: "SMC_PNETID_NAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]"}, FldName: "SMC_PNETID_ETHNAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]"}, FldName: "SMC_PNETID_IBNAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]"}, FldName: "SMC_PNETID_IBPORT"},
+ }}},
{StructKey{Name: "snd_ctl_elem_id"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_id", TypeSize: 64}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numid", TypeSize: 4}}, Kind: 1, RangeEnd: 10},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_iface", FldName: "iface", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6}},
@@ -61887,6 +62037,26 @@ var syscalls_amd64 = []*Syscall{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_seg6_family_id, genlmsghdr_t[SEG6_CMD_SET_TUNSRC], seg6_genl_policy]]"}}},
&FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
}},
+ {NR: 46, Name: "sendmsg$SMC_PNETID_ADD", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 46, Name: "sendmsg$SMC_PNETID_DEL", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 46, Name: "sendmsg$SMC_PNETID_FLUSH", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 46, Name: "sendmsg$SMC_PNETID_GET", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
{NR: 46, Name: "sendmsg$TEAM_CMD_NOOP", CallName: "sendmsg", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}}},
@@ -65031,6 +65201,9 @@ var syscalls_amd64 = []*Syscall{
{Name: "syz_genetlink_get_family_id$nl80211", CallName: "syz_genetlink_get_family_id", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"nl80211\x00"}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "nl80211_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
+ {Name: "syz_genetlink_get_family_id$smc", CallName: "syz_genetlink_get_family_id", Args: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 11}, Kind: 2, Values: []string{"SMC_PNETID\x00"}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
{Name: "syz_genetlink_get_family_id$team", CallName: "syz_genetlink_get_family_id", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"team\x00"}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_team_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
@@ -73185,6 +73358,14 @@ var consts_amd64 = []ConstValue{
{"SMACK_CIPSO_MAXLEVEL", 255},
{Name: "SMACK_PTRACE_DEFAULT"},
{"SMACK_PTRACE_MAX", 2},
+ {"SMC_PNETID_ADD", 2},
+ {"SMC_PNETID_DEL", 3},
+ {"SMC_PNETID_ETHNAME", 2},
+ {"SMC_PNETID_FLUSH", 4},
+ {"SMC_PNETID_GET", 1},
+ {"SMC_PNETID_IBNAME", 3},
+ {"SMC_PNETID_IBPORT", 4},
+ {"SMC_PNETID_NAME", 1},
{"SNAPSHOT_FREEZE", 13057},
{"SNAPSHOT_UNFREEZE", 13058},
{"SNDCTL_DSP_CHANNELS", 3221508102},
@@ -76838,4 +77019,4 @@ var consts_amd64 = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_amd64 = "3f6c136a66718444baa514281669846d8fe2aa16"
+const revision_amd64 = "7c5c0f25b101372d59f1fff55aaea026c3d95af7"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 9f344d7ca..9fc447c5a 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -163,6 +163,7 @@ var resources_arm = []*ResourceDesc{
{Name: "genl_nbd_family_id", Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}},
{Name: "genl_net_dm_family_id", Kind: []string{"genl_net_dm_family_id"}, Values: []uint64{0}},
{Name: "genl_seg6_family_id", Kind: []string{"genl_seg6_family_id"}, Values: []uint64{0}},
+ {Name: "genl_smc_family_id", Kind: []string{"genl_smc_family_id"}, Values: []uint64{0}},
{Name: "genl_team_family_id", Kind: []string{"genl_team_family_id"}, Values: []uint64{0}},
{Name: "genl_tipc2_family_id", Kind: []string{"genl_tipc2_family_id"}, Values: []uint64{0}},
{Name: "genl_tipc_family_id", Kind: []string{"genl_tipc_family_id"}, Values: []uint64{0}},
@@ -8017,6 +8018,26 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
}, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_ADD]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_ADD]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_DEL]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_DEL]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_FLUSH]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_FLUSH]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_GET]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
{StructKey{Name: "genlmsghdr_t[TEAM_CMD_NOOP]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[TEAM_CMD_NOOP]", TypeSize: 4}, []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
@@ -10332,6 +10353,22 @@ var structDescs_arm = []*KeyedStruct{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_seg6_family_id, genlmsghdr_t[SEG6_CMD_SET_TUNSRC], seg6_genl_policy]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
}}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]", TypeSize: 8}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]", TypeSize: 8}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]", TypeSize: 8}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]", TypeSize: 8}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
+ }}},
{StructKey{Name: "iovec[in, netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]", TypeSize: 8}, Fields: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
@@ -15475,6 +15512,42 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}},
&FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
}}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]", TypeSize: 28}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]", TypeSize: 28}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]", TypeSize: 28}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]", TypeSize: 28}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }}},
{StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]", TypeSize: 28}, Fields: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
@@ -18914,6 +18987,42 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "genlmsghdr_t[SEG6_CMD_SET_TUNSRC]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "seg6_genl_policy"}}},
}, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_ADD]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_DEL]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_FLUSH]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_GET]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
{StructKey{Name: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]", IsVarlen: true}, []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "genl_team_family_id", FldName: "type", TypeSize: 2}},
@@ -26799,6 +26908,33 @@ var structDescs_arm = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]", TypeSize: 20}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_batadv\x00", "veth1_to_batadv\x00", "batadv_slave_0\x00\x00", "batadv_slave_1\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_virt_wifi\x00", "veth1_virt_wifi\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00", "veth0_vlan\x00\x00\x00\x00\x00\x00", "veth1_vlan\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan0\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan1\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_macvtap\x00\x00\x00", "veth1_macvtap\x00\x00\x00", "macvtap0\x00\x00\x00\x00\x00\x00\x00\x00", "macsec0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg2\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]", TypeSize: 12}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "smc_pnetid_ibname", Values: []string{"syz0\x00", "syz1\x00", "syz2\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]", TypeSize: 8}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]", TypeSize: 12}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "smc_pnetid_name", Values: []string{"syz0\x00", "syz1\x00", "syz2\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
{StructKey{Name: "nlattr_t[const[TCA_ACT_BPF_FD, int16], fd]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_BPF_FD, int16], fd]", TypeSize: 8}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5},
@@ -38305,6 +38441,12 @@ var structDescs_arm = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "label", IsVarlen: true}, Kind: 2, NoZ: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32},
}}},
+ {StructKey{Name: "smc_pnet_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "smc_pnet_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]"}, FldName: "SMC_PNETID_NAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]"}, FldName: "SMC_PNETID_ETHNAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]"}, FldName: "SMC_PNETID_IBNAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]"}, FldName: "SMC_PNETID_IBPORT"},
+ }}},
{StructKey{Name: "snd_ctl_elem_id"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_id", TypeSize: 64}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numid", TypeSize: 4}}, Kind: 1, RangeEnd: 10},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_iface", FldName: "iface", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6}},
@@ -60679,6 +60821,26 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_seg6_family_id, genlmsghdr_t[SEG6_CMD_SET_TUNSRC], seg6_genl_policy]]"}}},
&FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
}},
+ {NR: 296, Name: "sendmsg$SMC_PNETID_ADD", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 296, Name: "sendmsg$SMC_PNETID_DEL", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 296, Name: "sendmsg$SMC_PNETID_FLUSH", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 296, Name: "sendmsg$SMC_PNETID_GET", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
{NR: 296, Name: "sendmsg$TEAM_CMD_NOOP", CallName: "sendmsg", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}}},
@@ -63818,6 +63980,9 @@ var syscalls_arm = []*Syscall{
{Name: "syz_genetlink_get_family_id$nl80211", CallName: "syz_genetlink_get_family_id", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"nl80211\x00"}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "nl80211_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
+ {Name: "syz_genetlink_get_family_id$smc", CallName: "syz_genetlink_get_family_id", Args: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 11}, Kind: 2, Values: []string{"SMC_PNETID\x00"}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
{Name: "syz_genetlink_get_family_id$team", CallName: "syz_genetlink_get_family_id", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"team\x00"}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_team_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
@@ -71899,6 +72064,14 @@ var consts_arm = []ConstValue{
{"SMACK_CIPSO_MAXLEVEL", 255},
{Name: "SMACK_PTRACE_DEFAULT"},
{"SMACK_PTRACE_MAX", 2},
+ {"SMC_PNETID_ADD", 2},
+ {"SMC_PNETID_DEL", 3},
+ {"SMC_PNETID_ETHNAME", 2},
+ {"SMC_PNETID_FLUSH", 4},
+ {"SMC_PNETID_GET", 1},
+ {"SMC_PNETID_IBNAME", 3},
+ {"SMC_PNETID_IBPORT", 4},
+ {"SMC_PNETID_NAME", 1},
{"SNAPSHOT_FREEZE", 13057},
{"SNAPSHOT_UNFREEZE", 13058},
{"SNDCTL_DSP_CHANNELS", 3221508102},
@@ -75530,4 +75703,4 @@ var consts_arm = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_arm = "2b0679751c8799cba32f6803fdd37eba5cb8355b"
+const revision_arm = "acb9ead12b5468029ec6babf77e7a41773472284"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index efbfd426b..3e0eb268c 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -163,6 +163,7 @@ var resources_arm64 = []*ResourceDesc{
{Name: "genl_nbd_family_id", Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}},
{Name: "genl_net_dm_family_id", Kind: []string{"genl_net_dm_family_id"}, Values: []uint64{0}},
{Name: "genl_seg6_family_id", Kind: []string{"genl_seg6_family_id"}, Values: []uint64{0}},
+ {Name: "genl_smc_family_id", Kind: []string{"genl_smc_family_id"}, Values: []uint64{0}},
{Name: "genl_team_family_id", Kind: []string{"genl_team_family_id"}, Values: []uint64{0}},
{Name: "genl_tipc2_family_id", Kind: []string{"genl_tipc2_family_id"}, Values: []uint64{0}},
{Name: "genl_tipc_family_id", Kind: []string{"genl_tipc_family_id"}, Values: []uint64{0}},
@@ -8117,6 +8118,26 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
}, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_ADD]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_ADD]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_DEL]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_DEL]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_FLUSH]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_FLUSH]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_GET]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
{StructKey{Name: "genlmsghdr_t[TEAM_CMD_NOOP]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[TEAM_CMD_NOOP]", TypeSize: 4}, []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
@@ -10448,6 +10469,22 @@ var structDescs_arm64 = []*KeyedStruct{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_seg6_family_id, genlmsghdr_t[SEG6_CMD_SET_TUNSRC], seg6_genl_policy]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
}}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
{StructKey{Name: "iovec[in, netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]", TypeSize: 16}, Fields: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
@@ -15866,6 +15903,50 @@ var structDescs_arm64 = []*KeyedStruct{
&FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
{StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]", TypeSize: 56}, Fields: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
@@ -19536,6 +19617,42 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "genlmsghdr_t[SEG6_CMD_SET_TUNSRC]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "seg6_genl_policy"}}},
}, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_ADD]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_DEL]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_FLUSH]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_GET]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
{StructKey{Name: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]", IsVarlen: true}, []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "genl_team_family_id", FldName: "type", TypeSize: 2}},
@@ -27423,6 +27540,33 @@ var structDescs_arm64 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]", TypeSize: 20}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_batadv\x00", "veth1_to_batadv\x00", "batadv_slave_0\x00\x00", "batadv_slave_1\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_virt_wifi\x00", "veth1_virt_wifi\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00", "veth0_vlan\x00\x00\x00\x00\x00\x00", "veth1_vlan\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan0\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan1\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_macvtap\x00\x00\x00", "veth1_macvtap\x00\x00\x00", "macvtap0\x00\x00\x00\x00\x00\x00\x00\x00", "macsec0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg2\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]", TypeSize: 12}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "smc_pnetid_ibname", Values: []string{"syz0\x00", "syz1\x00", "syz2\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]", TypeSize: 8}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]", TypeSize: 12}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "smc_pnetid_name", Values: []string{"syz0\x00", "syz1\x00", "syz2\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
{StructKey{Name: "nlattr_t[const[TCA_ACT_BPF_FD, int16], fd]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_BPF_FD, int16], fd]", TypeSize: 8}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5},
@@ -38940,6 +39084,12 @@ var structDescs_arm64 = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "label", IsVarlen: true}, Kind: 2, NoZ: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32},
}}},
+ {StructKey{Name: "smc_pnet_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "smc_pnet_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]"}, FldName: "SMC_PNETID_NAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]"}, FldName: "SMC_PNETID_ETHNAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]"}, FldName: "SMC_PNETID_IBNAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]"}, FldName: "SMC_PNETID_IBPORT"},
+ }}},
{StructKey{Name: "snd_ctl_elem_id"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_id", TypeSize: 64}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numid", TypeSize: 4}}, Kind: 1, RangeEnd: 10},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_iface", FldName: "iface", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6}},
@@ -61383,6 +61533,26 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_seg6_family_id, genlmsghdr_t[SEG6_CMD_SET_TUNSRC], seg6_genl_policy]]"}}},
&FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
}},
+ {NR: 211, Name: "sendmsg$SMC_PNETID_ADD", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 211, Name: "sendmsg$SMC_PNETID_DEL", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 211, Name: "sendmsg$SMC_PNETID_FLUSH", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 211, Name: "sendmsg$SMC_PNETID_GET", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
{NR: 211, Name: "sendmsg$TEAM_CMD_NOOP", CallName: "sendmsg", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}}},
@@ -64499,6 +64669,9 @@ var syscalls_arm64 = []*Syscall{
{Name: "syz_genetlink_get_family_id$nl80211", CallName: "syz_genetlink_get_family_id", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"nl80211\x00"}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "nl80211_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
+ {Name: "syz_genetlink_get_family_id$smc", CallName: "syz_genetlink_get_family_id", Args: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 11}, Kind: 2, Values: []string{"SMC_PNETID\x00"}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
{Name: "syz_genetlink_get_family_id$team", CallName: "syz_genetlink_get_family_id", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"team\x00"}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_team_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
@@ -72570,6 +72743,14 @@ var consts_arm64 = []ConstValue{
{"SMACK_CIPSO_MAXLEVEL", 255},
{Name: "SMACK_PTRACE_DEFAULT"},
{"SMACK_PTRACE_MAX", 2},
+ {"SMC_PNETID_ADD", 2},
+ {"SMC_PNETID_DEL", 3},
+ {"SMC_PNETID_ETHNAME", 2},
+ {"SMC_PNETID_FLUSH", 4},
+ {"SMC_PNETID_GET", 1},
+ {"SMC_PNETID_IBNAME", 3},
+ {"SMC_PNETID_IBPORT", 4},
+ {"SMC_PNETID_NAME", 1},
{"SNAPSHOT_FREEZE", 13057},
{"SNAPSHOT_UNFREEZE", 13058},
{"SNDCTL_DSP_CHANNELS", 3221508102},
@@ -76183,4 +76364,4 @@ var consts_arm64 = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_arm64 = "0f791c98835aa79e3c5ebbaadda38e011f07a98e"
+const revision_arm64 = "ed70a86fd45eb76406917b278bfd0f96d9932dcb"
diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go
index 40fab0789..92923f570 100644
--- a/sys/linux/gen/mips64le.go
+++ b/sys/linux/gen/mips64le.go
@@ -161,6 +161,7 @@ var resources_mips64le = []*ResourceDesc{
{Name: "genl_nbd_family_id", Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}},
{Name: "genl_net_dm_family_id", Kind: []string{"genl_net_dm_family_id"}, Values: []uint64{0}},
{Name: "genl_seg6_family_id", Kind: []string{"genl_seg6_family_id"}, Values: []uint64{0}},
+ {Name: "genl_smc_family_id", Kind: []string{"genl_smc_family_id"}, Values: []uint64{0}},
{Name: "genl_team_family_id", Kind: []string{"genl_team_family_id"}, Values: []uint64{0}},
{Name: "genl_tipc2_family_id", Kind: []string{"genl_tipc2_family_id"}, Values: []uint64{0}},
{Name: "genl_tipc_family_id", Kind: []string{"genl_tipc_family_id"}, Values: []uint64{0}},
@@ -8114,6 +8115,26 @@ var structDescs_mips64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
}, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_ADD]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_ADD]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_DEL]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_DEL]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_FLUSH]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_FLUSH]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_GET]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
{StructKey{Name: "genlmsghdr_t[TEAM_CMD_NOOP]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[TEAM_CMD_NOOP]", TypeSize: 4}, []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
@@ -10445,6 +10466,22 @@ var structDescs_mips64le = []*KeyedStruct{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_seg6_family_id, genlmsghdr_t[SEG6_CMD_SET_TUNSRC], seg6_genl_policy]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
}}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
{StructKey{Name: "iovec[in, netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]", TypeSize: 16}, Fields: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
@@ -15810,6 +15847,50 @@ var structDescs_mips64le = []*KeyedStruct{
&FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
{StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]", TypeSize: 56}, Fields: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
@@ -19480,6 +19561,42 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "genlmsghdr_t[SEG6_CMD_SET_TUNSRC]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "seg6_genl_policy"}}},
}, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_ADD]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_DEL]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_FLUSH]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_GET]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
{StructKey{Name: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]", IsVarlen: true}, []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "genl_team_family_id", FldName: "type", TypeSize: 2}},
@@ -27367,6 +27484,33 @@ var structDescs_mips64le = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]", TypeSize: 20}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_batadv\x00", "veth1_to_batadv\x00", "batadv_slave_0\x00\x00", "batadv_slave_1\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_virt_wifi\x00", "veth1_virt_wifi\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00", "veth0_vlan\x00\x00\x00\x00\x00\x00", "veth1_vlan\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan0\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan1\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_macvtap\x00\x00\x00", "veth1_macvtap\x00\x00\x00", "macvtap0\x00\x00\x00\x00\x00\x00\x00\x00", "macsec0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg2\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]", TypeSize: 12}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "smc_pnetid_ibname", Values: []string{"syz0\x00", "syz1\x00", "syz2\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]", TypeSize: 8}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]", TypeSize: 12}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "smc_pnetid_name", Values: []string{"syz0\x00", "syz1\x00", "syz2\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
{StructKey{Name: "nlattr_t[const[TCA_ACT_BPF_FD, int16], fd]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_BPF_FD, int16], fd]", TypeSize: 8}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5},
@@ -38898,6 +39042,12 @@ var structDescs_mips64le = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "label", IsVarlen: true}, Kind: 2, NoZ: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32},
}}},
+ {StructKey{Name: "smc_pnet_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "smc_pnet_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]"}, FldName: "SMC_PNETID_NAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]"}, FldName: "SMC_PNETID_ETHNAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]"}, FldName: "SMC_PNETID_IBNAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]"}, FldName: "SMC_PNETID_IBPORT"},
+ }}},
{StructKey{Name: "snd_ctl_elem_id"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_id", TypeSize: 64}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numid", TypeSize: 4}}, Kind: 1, RangeEnd: 10},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_iface", FldName: "iface", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6}},
@@ -60032,6 +60182,26 @@ var syscalls_mips64le = []*Syscall{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_seg6_family_id, genlmsghdr_t[SEG6_CMD_SET_TUNSRC], seg6_genl_policy]]"}}},
&FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
}},
+ {NR: 5045, Name: "sendmsg$SMC_PNETID_ADD", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 5045, Name: "sendmsg$SMC_PNETID_DEL", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 5045, Name: "sendmsg$SMC_PNETID_FLUSH", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 5045, Name: "sendmsg$SMC_PNETID_GET", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
{NR: 5045, Name: "sendmsg$TEAM_CMD_NOOP", CallName: "sendmsg", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}}},
@@ -63176,6 +63346,9 @@ var syscalls_mips64le = []*Syscall{
{Name: "syz_genetlink_get_family_id$nl80211", CallName: "syz_genetlink_get_family_id", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"nl80211\x00"}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "nl80211_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
+ {Name: "syz_genetlink_get_family_id$smc", CallName: "syz_genetlink_get_family_id", Args: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 11}, Kind: 2, Values: []string{"SMC_PNETID\x00"}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
{Name: "syz_genetlink_get_family_id$team", CallName: "syz_genetlink_get_family_id", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"team\x00"}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_team_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
@@ -71158,6 +71331,14 @@ var consts_mips64le = []ConstValue{
{"SMACK_CIPSO_MAXLEVEL", 255},
{Name: "SMACK_PTRACE_DEFAULT"},
{"SMACK_PTRACE_MAX", 2},
+ {"SMC_PNETID_ADD", 2},
+ {"SMC_PNETID_DEL", 3},
+ {"SMC_PNETID_ETHNAME", 2},
+ {"SMC_PNETID_FLUSH", 4},
+ {"SMC_PNETID_GET", 1},
+ {"SMC_PNETID_IBNAME", 3},
+ {"SMC_PNETID_IBPORT", 4},
+ {"SMC_PNETID_NAME", 1},
{"SNAPSHOT_FREEZE", 536883969},
{"SNAPSHOT_UNFREEZE", 536883970},
{"SNDCTL_DSP_CHANNELS", 3221508102},
@@ -73844,4 +74025,4 @@ var consts_mips64le = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_mips64le = "6d1455a98c4c2b4ea29cce95ff8395c5d94f15c0"
+const revision_mips64le = "6756b4904c7dbe68bb96aad04e45a85983854f04"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index 887eb069c..c6aeb07f3 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -163,6 +163,7 @@ var resources_ppc64le = []*ResourceDesc{
{Name: "genl_nbd_family_id", Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}},
{Name: "genl_net_dm_family_id", Kind: []string{"genl_net_dm_family_id"}, Values: []uint64{0}},
{Name: "genl_seg6_family_id", Kind: []string{"genl_seg6_family_id"}, Values: []uint64{0}},
+ {Name: "genl_smc_family_id", Kind: []string{"genl_smc_family_id"}, Values: []uint64{0}},
{Name: "genl_team_family_id", Kind: []string{"genl_team_family_id"}, Values: []uint64{0}},
{Name: "genl_tipc2_family_id", Kind: []string{"genl_tipc2_family_id"}, Values: []uint64{0}},
{Name: "genl_tipc_family_id", Kind: []string{"genl_tipc_family_id"}, Values: []uint64{0}},
@@ -8116,6 +8117,26 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
}, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_ADD]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_ADD]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_DEL]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_DEL]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_FLUSH]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_FLUSH]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
+ {StructKey{Name: "genlmsghdr_t[SMC_PNETID_GET]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[SMC_PNETID_GET]", TypeSize: 4}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
+ }, 4}},
{StructKey{Name: "genlmsghdr_t[TEAM_CMD_NOOP]"}, &StructDesc{TypeCommon{TypeName: "genlmsghdr_t[TEAM_CMD_NOOP]", TypeSize: 4}, []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}},
@@ -10447,6 +10468,22 @@ var structDescs_ppc64le = []*KeyedStruct{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_seg6_family_id, genlmsghdr_t[SEG6_CMD_SET_TUNSRC], seg6_genl_policy]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
}}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
+ {StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]", TypeSize: 16}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
+ }}},
{StructKey{Name: "iovec[in, netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]", TypeSize: 16}, Fields: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}},
@@ -15812,6 +15849,50 @@ var structDescs_ppc64le = []*KeyedStruct{
&FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
+ {StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ }}},
{StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]", TypeSize: 56}, Fields: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}},
@@ -19482,6 +19563,42 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "genlmsghdr_t[SEG6_CMD_SET_TUNSRC]"}, FldName: "payload"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "seg6_genl_policy"}}},
}, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_ADD]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_DEL]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_FLUSH]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
+ {StructKey{Name: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]", IsVarlen: true}, []Type{
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "type", TypeSize: 2}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 256, 512, 512, 768, 1024, 1024, 2048}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839},
+ &StructType{Key: StructKey{Name: "genlmsghdr_t[SMC_PNETID_GET]"}, FldName: "payload"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "smc_pnet_policy"}}},
+ }, 4}},
{StructKey{Name: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]"}, &StructDesc{TypeCommon{TypeName: "netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]", IsVarlen: true}, []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}},
&ResourceType{TypeCommon: TypeCommon{TypeName: "genl_team_family_id", FldName: "type", TypeSize: 2}},
@@ -27369,6 +27486,33 @@ var structDescs_ppc64le = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]", TypeSize: 20}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_batadv\x00", "veth1_to_batadv\x00", "batadv_slave_0\x00\x00", "batadv_slave_1\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_virt_wifi\x00", "veth1_virt_wifi\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00", "veth0_vlan\x00\x00\x00\x00\x00\x00", "veth1_vlan\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan0\x00\x00\x00\x00\x00\x00\x00\x00", "macvlan1\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipvlan1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_macvtap\x00\x00\x00", "veth1_macvtap\x00\x00\x00", "macvtap0\x00\x00\x00\x00\x00\x00\x00\x00", "macsec0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "geneve1\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "wg2\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]", TypeSize: 12}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "smc_pnetid_ibname", Values: []string{"syz0\x00", "syz1\x00", "syz2\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]", TypeSize: 8}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeBegin: 1, RangeEnd: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
+ {StructKey{Name: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]", TypeSize: 12}, []Type{
+ &LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, SubKind: "smc_pnetid_name", Values: []string{"syz0\x00", "syz1\x00", "syz2\x00"}},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, 4}},
{StructKey{Name: "nlattr_t[const[TCA_ACT_BPF_FD, int16], fd]"}, &StructDesc{TypeCommon{TypeName: "nlattr_t[const[TCA_ACT_BPF_FD, int16], fd]", TypeSize: 8}, []Type{
&LenType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, 8, true, []string{"size"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5},
@@ -38900,6 +39044,12 @@ var structDescs_ppc64le = []*KeyedStruct{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "label", IsVarlen: true}, Kind: 2, NoZ: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sp", TypeSize: 1}}, Val: 32},
}}},
+ {StructKey{Name: "smc_pnet_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "smc_pnet_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_NAME, int16], string[smc_pnetid_name]]"}, FldName: "SMC_PNETID_NAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_ETHNAME, int16], devname]"}, FldName: "SMC_PNETID_ETHNAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_IBNAME, int16], string[smc_pnetid_ibname]]"}, FldName: "SMC_PNETID_IBNAME"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[SMC_PNETID_IBPORT, int16], int8[1:2]]"}, FldName: "SMC_PNETID_IBPORT"},
+ }}},
{StructKey{Name: "snd_ctl_elem_id"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "snd_ctl_elem_id", TypeSize: 64}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "numid", TypeSize: 4}}, Kind: 1, RangeEnd: 10},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "snd_ctl_iface", FldName: "iface", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6}},
@@ -61365,6 +61515,26 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_seg6_family_id, genlmsghdr_t[SEG6_CMD_SET_TUNSRC], seg6_genl_policy]]"}}},
&FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
}},
+ {NR: 341, Name: "sendmsg$SMC_PNETID_ADD", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_ADD], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 341, Name: "sendmsg$SMC_PNETID_DEL", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_DEL], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 341, Name: "sendmsg$SMC_PNETID_FLUSH", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_FLUSH], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
+ {NR: 341, Name: "sendmsg$SMC_PNETID_GET", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[SMC_PNETID_GET], smc_pnet_policy]]"}}},
+ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, []uint64{1, 4, 16, 64, 128, 2048, 16384, 32768, 262144, 67108864, 536870912}, true},
+ }},
{NR: 341, Name: "sendmsg$TEAM_CMD_NOOP", CallName: "sendmsg", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_team_family_id, genlmsghdr_t[TEAM_CMD_NOOP], team_nl_policy]]"}}},
@@ -64500,6 +64670,9 @@ var syscalls_ppc64le = []*Syscall{
{Name: "syz_genetlink_get_family_id$nl80211", CallName: "syz_genetlink_get_family_id", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 8}, Kind: 2, Values: []string{"nl80211\x00"}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "nl80211_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
+ {Name: "syz_genetlink_get_family_id$smc", CallName: "syz_genetlink_get_family_id", Args: []Type{
+ &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 11}, Kind: 2, Values: []string{"SMC_PNETID\x00"}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_smc_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
{Name: "syz_genetlink_get_family_id$team", CallName: "syz_genetlink_get_family_id", Args: []Type{
&PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"team\x00"}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_team_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}},
@@ -72591,6 +72764,14 @@ var consts_ppc64le = []ConstValue{
{"SMACK_CIPSO_MAXLEVEL", 255},
{Name: "SMACK_PTRACE_DEFAULT"},
{"SMACK_PTRACE_MAX", 2},
+ {"SMC_PNETID_ADD", 2},
+ {"SMC_PNETID_DEL", 3},
+ {"SMC_PNETID_ETHNAME", 2},
+ {"SMC_PNETID_FLUSH", 4},
+ {"SMC_PNETID_GET", 1},
+ {"SMC_PNETID_IBNAME", 3},
+ {"SMC_PNETID_IBPORT", 4},
+ {"SMC_PNETID_NAME", 1},
{"SNAPSHOT_FREEZE", 536883969},
{"SNAPSHOT_UNFREEZE", 536883970},
{"SNDCTL_DSP_CHANNELS", 3221508102},
@@ -76180,4 +76361,4 @@ var consts_ppc64le = []ConstValue{
{"ethtool_per_queue_op_size", 128},
}
-const revision_ppc64le = "b07cf7921d128f13154b3db793acd4b11e6e1bec"
+const revision_ppc64le = "c61fe1f932fa23514cc4651169b1ae14efdc71ca"
diff --git a/sys/linux/socket_netlink_generic_smc.txt b/sys/linux/socket_netlink_generic_smc.txt
new file mode 100644
index 000000000..2c52c93a9
--- /dev/null
+++ b/sys/linux/socket_netlink_generic_smc.txt
@@ -0,0 +1,28 @@
+# Copyright 2020 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+include <linux/net.h>
+include <uapi/linux/netlink.h>
+include <uapi/linux/genetlink.h>
+include <uapi/linux/smc.h>
+
+resource genl_smc_family_id[int16]
+type msghdr_nl_smc[CMD] msghdr_netlink[netlink_msg_t[genl_smc_family_id, genlmsghdr_t[CMD], smc_pnet_policy]]
+
+syz_genetlink_get_family_id$smc(name ptr[in, string["SMC_PNETID"]]) genl_smc_family_id
+
+sendmsg$SMC_PNETID_GET(fd sock_nl_generic, msg ptr[in, msghdr_nl_smc[SMC_PNETID_GET]], f flags[send_flags])
+sendmsg$SMC_PNETID_ADD(fd sock_nl_generic, msg ptr[in, msghdr_nl_smc[SMC_PNETID_ADD]], f flags[send_flags])
+sendmsg$SMC_PNETID_DEL(fd sock_nl_generic, msg ptr[in, msghdr_nl_smc[SMC_PNETID_DEL]], f flags[send_flags])
+sendmsg$SMC_PNETID_FLUSH(fd sock_nl_generic, msg ptr[in, msghdr_nl_smc[SMC_PNETID_FLUSH]], f flags[send_flags])
+
+smc_pnet_policy [
+ SMC_PNETID_NAME nlattr[SMC_PNETID_NAME, string[smc_pnetid_name]]
+ SMC_PNETID_ETHNAME nlattr[SMC_PNETID_ETHNAME, devname]
+ SMC_PNETID_IBNAME nlattr[SMC_PNETID_IBNAME, string[smc_pnetid_ibname]]
+ SMC_PNETID_IBPORT nlattr[SMC_PNETID_IBPORT, int8[1:2]]
+] [varlen]
+
+smc_pnetid_name = "syz0", "syz1", "syz2"
+# TODO: unclear where do these come from? do we have any of these smcd/smcib things? can we add/create them?
+smc_pnetid_ibname = "syz0", "syz1", "syz2"
diff --git a/sys/linux/socket_netlink_generic_smc_386.const b/sys/linux/socket_netlink_generic_smc_386.const
new file mode 100644
index 000000000..5dbba378d
--- /dev/null
+++ b/sys/linux/socket_netlink_generic_smc_386.const
@@ -0,0 +1,10 @@
+# AUTOGENERATED FILE
+SMC_PNETID_ADD = 2
+SMC_PNETID_DEL = 3
+SMC_PNETID_ETHNAME = 2
+SMC_PNETID_FLUSH = 4
+SMC_PNETID_GET = 1
+SMC_PNETID_IBNAME = 3
+SMC_PNETID_IBPORT = 4
+SMC_PNETID_NAME = 1
+__NR_sendmsg = 370
diff --git a/sys/linux/socket_netlink_generic_smc_amd64.const b/sys/linux/socket_netlink_generic_smc_amd64.const
new file mode 100644
index 000000000..4990a4334
--- /dev/null
+++ b/sys/linux/socket_netlink_generic_smc_amd64.const
@@ -0,0 +1,10 @@
+# AUTOGENERATED FILE
+SMC_PNETID_ADD = 2
+SMC_PNETID_DEL = 3
+SMC_PNETID_ETHNAME = 2
+SMC_PNETID_FLUSH = 4
+SMC_PNETID_GET = 1
+SMC_PNETID_IBNAME = 3
+SMC_PNETID_IBPORT = 4
+SMC_PNETID_NAME = 1
+__NR_sendmsg = 46
diff --git a/sys/linux/socket_netlink_generic_smc_arm.const b/sys/linux/socket_netlink_generic_smc_arm.const
new file mode 100644
index 000000000..0a860e226
--- /dev/null
+++ b/sys/linux/socket_netlink_generic_smc_arm.const
@@ -0,0 +1,10 @@
+# AUTOGENERATED FILE
+SMC_PNETID_ADD = 2
+SMC_PNETID_DEL = 3
+SMC_PNETID_ETHNAME = 2
+SMC_PNETID_FLUSH = 4
+SMC_PNETID_GET = 1
+SMC_PNETID_IBNAME = 3
+SMC_PNETID_IBPORT = 4
+SMC_PNETID_NAME = 1
+__NR_sendmsg = 296
diff --git a/sys/linux/socket_netlink_generic_smc_arm64.const b/sys/linux/socket_netlink_generic_smc_arm64.const
new file mode 100644
index 000000000..140c7bbc6
--- /dev/null
+++ b/sys/linux/socket_netlink_generic_smc_arm64.const
@@ -0,0 +1,10 @@
+# AUTOGENERATED FILE
+SMC_PNETID_ADD = 2
+SMC_PNETID_DEL = 3
+SMC_PNETID_ETHNAME = 2
+SMC_PNETID_FLUSH = 4
+SMC_PNETID_GET = 1
+SMC_PNETID_IBNAME = 3
+SMC_PNETID_IBPORT = 4
+SMC_PNETID_NAME = 1
+__NR_sendmsg = 211
diff --git a/sys/linux/socket_netlink_generic_smc_mips64le.const b/sys/linux/socket_netlink_generic_smc_mips64le.const
new file mode 100644
index 000000000..540e1d665
--- /dev/null
+++ b/sys/linux/socket_netlink_generic_smc_mips64le.const
@@ -0,0 +1,10 @@
+# AUTOGENERATED FILE
+SMC_PNETID_ADD = 2
+SMC_PNETID_DEL = 3
+SMC_PNETID_ETHNAME = 2
+SMC_PNETID_FLUSH = 4
+SMC_PNETID_GET = 1
+SMC_PNETID_IBNAME = 3
+SMC_PNETID_IBPORT = 4
+SMC_PNETID_NAME = 1
+__NR_sendmsg = 5045
diff --git a/sys/linux/socket_netlink_generic_smc_ppc64le.const b/sys/linux/socket_netlink_generic_smc_ppc64le.const
new file mode 100644
index 000000000..cae62e143
--- /dev/null
+++ b/sys/linux/socket_netlink_generic_smc_ppc64le.const
@@ -0,0 +1,10 @@
+# AUTOGENERATED FILE
+SMC_PNETID_ADD = 2
+SMC_PNETID_DEL = 3
+SMC_PNETID_ETHNAME = 2
+SMC_PNETID_FLUSH = 4
+SMC_PNETID_GET = 1
+SMC_PNETID_IBNAME = 3
+SMC_PNETID_IBPORT = 4
+SMC_PNETID_NAME = 1
+__NR_sendmsg = 341