aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-12-22 09:29:44 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-12-22 09:29:44 +0100
commit8fecec2eb071e9ae0a62e9e3d34ac41eb4cc8ab2 (patch)
treef9212fe4acfd2f67cd26b2c41b4f5a1809cd2a3d /sys/linux
parentbfdfc2603c187447d32ecbc8b5a378df53af5734 (diff)
sys/linux: another batch of warning fixes
The only remaining part now is dev_video4linux.txt Update #590
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/gen/386.go217
-rw-r--r--sys/linux/gen/amd64.go200
-rw-r--r--sys/linux/gen/arm.go217
-rw-r--r--sys/linux/gen/arm64.go201
-rw-r--r--sys/linux/gen/mips64le.go200
-rw-r--r--sys/linux/gen/ppc64le.go201
-rw-r--r--sys/linux/socket_netlink_xfrm.txt53
-rw-r--r--sys/linux/socket_netlink_xfrm.txt.warn15
-rw-r--r--sys/linux/socket_vnet.txt16
-rw-r--r--sys/linux/socket_vnet.txt.warn3
-rw-r--r--sys/linux/socket_vnet_386.const3
-rw-r--r--sys/linux/socket_vnet_amd64.const3
-rw-r--r--sys/linux/socket_vnet_arm.const3
-rw-r--r--sys/linux/socket_vnet_arm64.const3
-rw-r--r--sys/linux/socket_vnet_mips64le.const3
-rw-r--r--sys/linux/socket_vnet_ppc64le.const3
-rw-r--r--sys/linux/sys.txt57
-rw-r--r--sys/linux/sys.txt.warn60
-rw-r--r--sys/linux/sys_386.const6
-rw-r--r--sys/linux/sys_amd64.const6
-rw-r--r--sys/linux/sys_arm.const6
-rw-r--r--sys/linux/sys_arm64.const6
-rw-r--r--sys/linux/sys_mips64le.const6
-rw-r--r--sys/linux/sys_ppc64le.const6
-rw-r--r--sys/linux/vnet.txt20
-rw-r--r--sys/linux/vnet.txt.warn22
26 files changed, 889 insertions, 647 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index eb2ab9b79..4aa807727 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -3929,14 +3929,15 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cos", TypeSize: 1}, BitfieldOff: 5, BitfieldLen: 3, BitfieldUnit: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "session_id", TypeSize: 1}}},
}}},
- {Key: StructKey{Name: "erspan_md1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1", TypeSize: 12}, Fields: []Type{
+ {Key: StructKey{Name: "erspan_md1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1", TypeSize: 4}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "index", TypeSize: 4}, ArgFormat: 1}},
+ }}},
+ {Key: StructKey{Name: "erspan_md1_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1_msg", TypeSize: 12}, Fields: []Type{
&StructType{Key: StructKey{Name: "erspan_base_hdr[1]"}, FldName: "base"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 1},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "index", TypeSize: 4}, ArgFormat: 1}},
+ &StructType{Key: StructKey{Name: "erspan_md1"}, FldName: "payload"},
}}},
- {Key: StructKey{Name: "erspan_md2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2", TypeSize: 16}, Fields: []Type{
- &StructType{Key: StructKey{Name: "erspan_base_hdr[2]"}, FldName: "base"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 2},
+ {Key: StructKey{Name: "erspan_md2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2", TypeSize: 8}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "timestamp", TypeSize: 4}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sgt", TypeSize: 2}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hwid_upper"}, BitfieldLen: 2, BitfieldUnit: 1}},
@@ -3947,6 +3948,11 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dir"}, BitfieldOff: 3, BitfieldLen: 1, BitfieldUnit: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hwid", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 1, BitfieldUnit: 1}},
}}},
+ {Key: StructKey{Name: "erspan_md2_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2_msg", TypeSize: 16}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "erspan_base_hdr[2]"}, FldName: "base"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 2},
+ &StructType{Key: StructKey{Name: "erspan_md2"}, FldName: "payload"},
+ }}},
{Key: StructKey{Name: "eth2_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "eth2_packet_generic"}, FldName: "generic"},
&StructType{Key: StructKey{Name: "eth2_packet_t[ETH_P_ARP, arp_packet]"}, FldName: "arp"},
@@ -7014,8 +7020,8 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "gre_packet_pptp"}, FldName: "pptp"},
&StructType{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IP, array[int8]]"}, FldName: "cisco_ipv4"},
&StructType{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IPV6, array[int8]]"}, FldName: "cisco_ipv6"},
- &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]"}, FldName: "erspan1"},
- &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]"}, FldName: "erspan2"},
+ &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]"}, FldName: "erspan1"},
+ &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]"}, FldName: "erspan2"},
&StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_TEB, array[int8]]"}, FldName: "teb"},
}}},
{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IP, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_cisco[ETH_P_IP, array[int8]]", IsVarlen: true}, Fields: []Type{
@@ -7040,17 +7046,17 @@ var structDescs_386 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "add", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", TypeSize: 2}, ArgFormat: 1}}, Kind: 1, RangeEnd: 3},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}},
}}},
- {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]", TypeSize: 20}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, ArgFormat: 1}, Val: 35006},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "seq", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeEnd: 4},
- &StructType{Key: StructKey{Name: "erspan_md1"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "erspan_md1_msg"}, FldName: "payload"},
}}},
- {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]", TypeSize: 24}, Fields: []Type{
+ {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]", TypeSize: 24}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, ArgFormat: 1}, Val: 8939},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "seq", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeEnd: 4},
- &StructType{Key: StructKey{Name: "erspan_md2"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "erspan_md2_msg"}, FldName: "payload"},
}}},
{Key: StructKey{Name: "gre_packet_erspan[ETH_P_TEB, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_TEB, array[int8]]", IsVarlen: true}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
@@ -20053,10 +20059,10 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
&StructType{Key: StructKey{Name: "xfrm_algo_skcipher"}, FldName: "payload"},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]", TypeSize: 20}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[XFRMA_ENCAP, int16], xfrm_encap_tmpl]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_ENCAP, int16], xfrm_encap_tmpl]", TypeSize: 28}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
@@ -20150,22 +20156,22 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8},
&StructType{Key: StructKey{Name: "xfrm_user_sec_ctx"}, FldName: "payload"},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]", TypeSize: 8}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
- &StructType{Key: StructKey{Name: "xfrmu_spdhthresh4"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "xfrmu_spdhthresh[32]"}, FldName: "payload"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]", TypeSize: 8}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4},
- &StructType{Key: StructKey{Name: "xfrmu_spdhthresh6"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "xfrmu_spdhthresh[128]"}, FldName: "payload"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]", TypeSize: 20}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
@@ -22878,9 +22884,9 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "instruction_pointer", TypeSize: 8, ArgDir: 1}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "args", TypeSize: 48, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
}}},
- {Key: StructKey{Name: "seccomp_metadata"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_metadata", TypeSize: 8}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "filter_off", TypeSize: 4}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
+ {Key: StructKey{Name: "seccomp_metadata"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_metadata", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "filter_off", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}},
}}},
{Key: StructKey{Name: "seccomp_notif", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_notif", TypeSize: 80, ArgDir: 1}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "seccomp_id", FldName: "id", TypeSize: 8, ArgDir: 1}},
@@ -24739,35 +24745,35 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_BASE, int16], tc_sizespec]"}, FldName: "TCA_STAB_BASE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_DATA, int16], array[int16]]"}, FldName: "TCA_STAB_DATA"},
}}},
- {Key: StructKey{Name: "stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stat", TypeSize: 68, ArgDir: 1}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dev", TypeSize: 2, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ino", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nlink", TypeSize: 2, ArgDir: 1}}},
- &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}},
- &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rdev", TypeSize: 2, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "size", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blksize", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "atime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ansec", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mtime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mnsec", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ctime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cnsec", TypeSize: 4, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 4, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad2", TypeSize: 4, ArgDir: 1}}},
+ {Key: StructKey{Name: "stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stat", TypeSize: 80, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_dev", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ino", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_mode", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_nlink", TypeSize: 4, ArgDir: 1}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "st_uid", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "st_gid", TypeSize: 4, ArgDir: 1}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_rdev", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad1", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_size", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_blksize", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad2", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_blocks", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_atime", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_atime_nsec", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_mtime", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_mtime_nsec", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ctime", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ctime_nsec", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__unused4", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__unused5", TypeSize: 4, ArgDir: 1}}},
}}},
{Key: StructKey{Name: "statx", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "statx", TypeSize: 256, ArgDir: 1}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mask", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blksize", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "attributes", TypeSize: 8, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nlink", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uid", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "gid", TypeSize: 4, ArgDir: 1}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "__spare0", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ino", TypeSize: 8, ArgDir: 1}}},
@@ -29616,11 +29622,17 @@ var structDescs_386 = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "userspace_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags_padding", TypeSize: 8}}},
}}},
- {Key: StructKey{Name: "vhost_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg", TypeSize: 104}, Fields: []Type{
+ {Key: StructKey{Name: "vhost_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg", TypeSize: 68}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&StructType{Key: StructKey{Name: "vhost_iotlb_msg"}, FldName: "iotlb"},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "padding", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 28}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "vhost_msg_v2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg_v2", TypeSize: 68}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
+ &StructType{Key: StructKey{Name: "vhost_iotlb_msg"}, FldName: "iotlb"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 28}}, IsPad: true},
}}},
{Key: StructKey{Name: "vhost_vring_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_vring_addr", TypeSize: 40}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vhost_vring_index", FldName: "index", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30317,24 +30329,24 @@ var structDescs_386 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xdp_umem_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
- {Key: StructKey{Name: "xfrm_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address", TypeSize: 16}, Fields: []Type{
+ {Key: StructKey{Name: "xfrm_address_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_filter", TypeSize: 36}, Fields: []Type{
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "splen", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dplen", TypeSize: 1}}},
+ }}},
+ {Key: StructKey{Name: "xfrm_address_t"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_t", TypeSize: 16}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "in"},
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "in6"},
}}},
- {Key: StructKey{Name: "xfrm_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "xfrm_address_t", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_t", TypeSize: 16, ArgDir: 1}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "in"},
&UnionType{Key: StructKey{Name: "ipv6_addr", Dir: 1}, FldName: "in6"},
}}},
- {Key: StructKey{Name: "xfrm_address_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_filter", TypeSize: 36}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "splen", TypeSize: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dplen", TypeSize: 1}}},
- }}},
{Key: StructKey{Name: "xfrm_aevent_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_aevent_id", TypeSize: 48}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_usersa_id"}, FldName: "sa_id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
}}},
@@ -30374,8 +30386,8 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_AUTH, int16], xfrm_algo_hash]"}, FldName: "algo_auth"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_CRYPT, int16], xfrm_algo_skcipher]"}, FldName: "algo_crypt"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_COMP, int16], xfrm_algo_compress]"}, FldName: "algo_comp"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]"}, FldName: "srcaddr"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]"}, FldName: "coaddr"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]"}, FldName: "srcaddr"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]"}, FldName: "coaddr"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]"}, FldName: "extra_flags"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]"}, FldName: "tfcpad"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_REPLAY_THRESH, int16], int32]"}, FldName: "replay_thresh"},
@@ -30394,15 +30406,15 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]"}, FldName: "mark"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_PROTO, int16], flags[xfrm_proto, int8]]"}, FldName: "proto"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]"}, FldName: "address_filter"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]"}, FldName: "ipv4_hthresh"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]"}, FldName: "ipv6_hthresh"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]"}, FldName: "ipv4_hthresh"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]"}, FldName: "ipv6_hthresh"},
}}},
{Key: StructKey{Name: "xfrm_encap_tmpl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_encap_tmpl", TypeSize: 24}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_encap_type", FldName: "encap_type", TypeSize: 2}}, Vals: []uint64{18446744073709551613, 18446744073709551614, 18446744073709551615, 0, 1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "encap_sport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "encap_dport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "encap_oa"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "encap_oa"},
}}},
{Key: StructKey{Name: "xfrm_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_filter", TypeSize: 232}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "info"},
@@ -30413,13 +30425,13 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_user_tmpl", Dir: 1}, FldName: "tmpl"},
}}},
{Key: StructKey{Name: "xfrm_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_id", TypeSize: 24}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}}},
{Key: StructKey{Name: "xfrm_id", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_id", TypeSize: 24, ArgDir: 1}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
@@ -30475,8 +30487,8 @@ var structDescs_386 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bmp", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
}}},
{Key: StructKey{Name: "xfrm_selector"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_selector", TypeSize: 56}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport_mask", TypeSize: 2, IsOptional: true}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
@@ -30490,8 +30502,8 @@ var structDescs_386 = []*KeyedStruct{
&ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "user", TypeSize: 4}},
}}},
{Key: StructKey{Name: "xfrm_selector", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_selector", TypeSize: 56, ArgDir: 1}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport_mask", TypeSize: 2, ArgDir: 1, IsOptional: true}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sport", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
@@ -30511,7 +30523,7 @@ var structDescs_386 = []*KeyedStruct{
}}},
{Key: StructKey{Name: "xfrm_user_acquire"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_acquire", TypeSize: 280}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&StructType{Key: StructKey{Name: "xfrm_selector"}, FldName: "sel"},
&StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "policy"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aalgos", TypeSize: 4}}},
@@ -30525,15 +30537,17 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true},
}}},
{Key: StructKey{Name: "xfrm_user_kmaddress"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_kmaddress", TypeSize: 40}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "local"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "remote"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "local"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "remote"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}}},
- {Key: StructKey{Name: "xfrm_user_migrate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_migrate", TypeSize: 44}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "old_daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "new_saddr"},
+ {Key: StructKey{Name: "xfrm_user_migrate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_migrate", TypeSize: 76}, Fields: []Type{
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "old_daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "old_saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "new_daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "new_saddr"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
@@ -30568,7 +30582,7 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_policy_shares", FldName: "share", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30582,7 +30596,7 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_id", Dir: 1}, FldName: "id"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, ArgDir: 1, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_policy_shares", FldName: "share", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30633,7 +30647,7 @@ var structDescs_386 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
}}},
{Key: StructKey{Name: "xfrm_usersa_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_usersa_id", TypeSize: 24}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
@@ -30642,7 +30656,7 @@ var structDescs_386 = []*KeyedStruct{
{Key: StructKey{Name: "xfrm_usersa_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_usersa_info", TypeSize: 224}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_selector"}, FldName: "sel"},
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&StructType{Key: StructKey{Name: "xfrm_lifetime_cfg"}, FldName: "lft"},
&StructType{Key: StructKey{Name: "xfrm_lifetime_cur"}, FldName: "curlft"},
&StructType{Key: StructKey{Name: "xfrm_stats"}, FldName: "stats"},
@@ -30659,13 +30673,13 @@ var structDescs_386 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max", TypeSize: 4}}},
}}},
- {Key: StructKey{Name: "xfrmu_spdhthresh4"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh4", TypeSize: 2}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1, RangeEnd: 32},
+ {Key: StructKey{Name: "xfrmu_spdhthresh[128]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh[128]", TypeSize: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1},
}}},
- {Key: StructKey{Name: "xfrmu_spdhthresh6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh6", TypeSize: 2}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1, RangeEnd: 128},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1, RangeEnd: 128},
+ {Key: StructKey{Name: "xfrmu_spdhthresh[32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh[32]", TypeSize: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1},
}}},
{Key: StructKey{Name: "xfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfs_options", IsVarlen: true}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "wsync", TypeSize: 5}, Kind: 2, Values: []string{"wsync"}, NoZ: true},
@@ -33552,6 +33566,16 @@ var syscalls_386 = []*Syscall{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}},
}},
+ {NR: 197, Name: "fstat64", CallName: "fstat64", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 96, ArgDir: 1}, Kind: 1, RangeBegin: 96, RangeEnd: 96}},
+ }},
+ {NR: 300, Name: "fstatat64", CallName: "fstatat64", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dfd", TypeSize: 4}}, Val: 18446744073709551516},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 96, ArgDir: 1}, Kind: 1, RangeBegin: 96, RangeEnd: 96}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "statx_flags", FldName: "flag", TypeSize: 4}}, Vals: []uint64{256, 1024, 2048, 4096, 24576, 0, 8192, 16384}},
+ }},
{NR: 100, Name: "fstatfs", CallName: "fstatfs", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
@@ -41623,6 +41647,10 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}},
}},
+ {NR: 196, Name: "lstat64", CallName: "lstat64", Args: []Type{
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 96, ArgDir: 1}, Kind: 1, RangeBegin: 96, RangeEnd: 96}},
+ }},
{NR: 219, Name: "madvise", CallName: "madvise", Args: []Type{
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 4}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
@@ -47058,6 +47086,10 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}},
}},
+ {NR: 195, Name: "stat64", CallName: "stat64", Args: []Type{
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 96, ArgDir: 1}, Kind: 1, RangeBegin: 96, RangeEnd: 96}},
+ }},
{NR: 99, Name: "statfs", CallName: "statfs", Args: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
@@ -48877,11 +48909,16 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "vhci_command"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}},
}},
- {NR: 4, Name: "write$vnet", CallName: "write", Args: []Type{
+ {NR: 4, Name: "write$vhost_msg", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "vhost_net", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "vhost_msg"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Path: []string{"buf"}},
}},
+ {NR: 4, Name: "write$vhost_msg_v2", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "vhost_net", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "vhost_msg_v2"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Path: []string{"buf"}},
+ }},
{NR: 146, Name: "writev", CallName: "writev", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}},
@@ -54273,6 +54310,7 @@ var consts_386 = []ConstValue{
{Name: "SR6_FLAG1_OAM", Value: 32},
{Name: "SR6_FLAG1_PROTECTED", Value: 64},
{Name: "STARTTIMER", Value: 2},
+ {Name: "STAT64_SIZE", Value: 96},
{Name: "STATX_ALL", Value: 4095},
{Name: "STATX_ATIME", Value: 32},
{Name: "STATX_BASIC_STATS", Value: 2047},
@@ -56540,8 +56578,11 @@ var consts_386 = []ConstValue{
{Name: "VHOST_IOTLB_INVALIDATE", Value: 3},
{Name: "VHOST_IOTLB_MISS", Value: 1},
{Name: "VHOST_IOTLB_MSG", Value: 1},
+ {Name: "VHOST_IOTLB_MSG_V2", Value: 2},
{Name: "VHOST_IOTLB_UPDATE", Value: 2},
{Name: "VHOST_LOG_ALL", Value: 67108864},
+ {Name: "VHOST_MSG_SIZE", Value: 68},
+ {Name: "VHOST_MSG_V2_SIZE", Value: 72},
{Name: "VHOST_NET_SET_BACKEND", Value: 1074310960},
{Name: "VHOST_NET_VIRTIO_NET_HDR", Value: 134217728},
{Name: "VHOST_RESET_OWNER", Value: 44802},
@@ -57123,6 +57164,8 @@ var consts_386 = []ConstValue{
{Name: "__NR_fsopen", Value: 430},
{Name: "__NR_fspick", Value: 433},
{Name: "__NR_fstat", Value: 108},
+ {Name: "__NR_fstat64", Value: 197},
+ {Name: "__NR_fstatat64", Value: 300},
{Name: "__NR_fstatfs", Value: 100},
{Name: "__NR_fsync", Value: 118},
{Name: "__NR_ftruncate", Value: 93},
@@ -57188,6 +57231,7 @@ var consts_386 = []ConstValue{
{Name: "__NR_lseek", Value: 19},
{Name: "__NR_lsetxattr", Value: 227},
{Name: "__NR_lstat", Value: 107},
+ {Name: "__NR_lstat64", Value: 196},
{Name: "__NR_madvise", Value: 219},
{Name: "__NR_mbind", Value: 274},
{Name: "__NR_membarrier", Value: 375},
@@ -57329,6 +57373,7 @@ var consts_386 = []ConstValue{
{Name: "__NR_socketpair", Value: 360},
{Name: "__NR_splice", Value: 313},
{Name: "__NR_stat", Value: 106},
+ {Name: "__NR_stat64", Value: 195},
{Name: "__NR_statfs", Value: 99},
{Name: "__NR_statx", Value: 383},
{Name: "__NR_symlink", Value: 83},
@@ -57379,4 +57424,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "3ab4d1f466982171e7f2ee9429a83e20c3b8174b"
+const revision_386 = "c8c9ccd410416c508e538ab857875b6e2f1a466c"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index ed5469d99..5b0c7998b 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -4020,14 +4020,15 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cos", TypeSize: 1}, BitfieldOff: 5, BitfieldLen: 3, BitfieldUnit: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "session_id", TypeSize: 1}}},
}}},
- {Key: StructKey{Name: "erspan_md1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1", TypeSize: 12}, Fields: []Type{
+ {Key: StructKey{Name: "erspan_md1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1", TypeSize: 4}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "index", TypeSize: 4}, ArgFormat: 1}},
+ }}},
+ {Key: StructKey{Name: "erspan_md1_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1_msg", TypeSize: 12}, Fields: []Type{
&StructType{Key: StructKey{Name: "erspan_base_hdr[1]"}, FldName: "base"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 1},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "index", TypeSize: 4}, ArgFormat: 1}},
+ &StructType{Key: StructKey{Name: "erspan_md1"}, FldName: "payload"},
}}},
- {Key: StructKey{Name: "erspan_md2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2", TypeSize: 16}, Fields: []Type{
- &StructType{Key: StructKey{Name: "erspan_base_hdr[2]"}, FldName: "base"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 2},
+ {Key: StructKey{Name: "erspan_md2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2", TypeSize: 8}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "timestamp", TypeSize: 4}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sgt", TypeSize: 2}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hwid_upper"}, BitfieldLen: 2, BitfieldUnit: 1}},
@@ -4038,6 +4039,11 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dir"}, BitfieldOff: 3, BitfieldLen: 1, BitfieldUnit: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hwid", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 1, BitfieldUnit: 1}},
}}},
+ {Key: StructKey{Name: "erspan_md2_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2_msg", TypeSize: 16}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "erspan_base_hdr[2]"}, FldName: "base"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 2},
+ &StructType{Key: StructKey{Name: "erspan_md2"}, FldName: "payload"},
+ }}},
{Key: StructKey{Name: "eth2_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "eth2_packet_generic"}, FldName: "generic"},
&StructType{Key: StructKey{Name: "eth2_packet_t[ETH_P_ARP, arp_packet]"}, FldName: "arp"},
@@ -7116,8 +7122,8 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "gre_packet_pptp"}, FldName: "pptp"},
&StructType{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IP, array[int8]]"}, FldName: "cisco_ipv4"},
&StructType{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IPV6, array[int8]]"}, FldName: "cisco_ipv6"},
- &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]"}, FldName: "erspan1"},
- &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]"}, FldName: "erspan2"},
+ &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]"}, FldName: "erspan1"},
+ &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]"}, FldName: "erspan2"},
&StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_TEB, array[int8]]"}, FldName: "teb"},
}}},
{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IP, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_cisco[ETH_P_IP, array[int8]]", IsVarlen: true}, Fields: []Type{
@@ -7142,17 +7148,17 @@ var structDescs_amd64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "add", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", TypeSize: 2}, ArgFormat: 1}}, Kind: 1, RangeEnd: 3},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}},
}}},
- {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]", TypeSize: 20}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, ArgFormat: 1}, Val: 35006},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "seq", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeEnd: 4},
- &StructType{Key: StructKey{Name: "erspan_md1"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "erspan_md1_msg"}, FldName: "payload"},
}}},
- {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]", TypeSize: 24}, Fields: []Type{
+ {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]", TypeSize: 24}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, ArgFormat: 1}, Val: 8939},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "seq", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeEnd: 4},
- &StructType{Key: StructKey{Name: "erspan_md2"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "erspan_md2_msg"}, FldName: "payload"},
}}},
{Key: StructKey{Name: "gre_packet_erspan[ETH_P_TEB, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_TEB, array[int8]]", IsVarlen: true}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
@@ -20371,10 +20377,10 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
&StructType{Key: StructKey{Name: "xfrm_algo_skcipher"}, FldName: "payload"},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]", TypeSize: 20}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[XFRMA_ENCAP, int16], xfrm_encap_tmpl]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_ENCAP, int16], xfrm_encap_tmpl]", TypeSize: 28}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
@@ -20468,22 +20474,22 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8},
&StructType{Key: StructKey{Name: "xfrm_user_sec_ctx"}, FldName: "payload"},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]", TypeSize: 8}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
- &StructType{Key: StructKey{Name: "xfrmu_spdhthresh4"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "xfrmu_spdhthresh[32]"}, FldName: "payload"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]", TypeSize: 8}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4},
- &StructType{Key: StructKey{Name: "xfrmu_spdhthresh6"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "xfrmu_spdhthresh[128]"}, FldName: "payload"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]", TypeSize: 20}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
@@ -23196,9 +23202,8 @@ var structDescs_amd64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "args", TypeSize: 48, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
}}},
{Key: StructKey{Name: "seccomp_metadata"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_metadata", TypeSize: 16}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "filter_off", TypeSize: 8}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "filter_off", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}},
}}},
{Key: StructKey{Name: "seccomp_notif", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_notif", TypeSize: 80, ArgDir: 1}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "seccomp_id", FldName: "id", TypeSize: 8, ArgDir: 1}},
@@ -25080,35 +25085,35 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_BASE, int16], tc_sizespec]"}, FldName: "TCA_STAB_BASE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_DATA, int16], array[int16]]"}, FldName: "TCA_STAB_DATA"},
}}},
- {Key: StructKey{Name: "stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stat", TypeSize: 68, ArgDir: 1}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dev", TypeSize: 2, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ino", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nlink", TypeSize: 2, ArgDir: 1}}},
- &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}},
- &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rdev", TypeSize: 2, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "size", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blksize", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "atime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ansec", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mtime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mnsec", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ctime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cnsec", TypeSize: 4, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 4, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad2", TypeSize: 4, ArgDir: 1}}},
+ {Key: StructKey{Name: "stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stat", TypeSize: 128, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_dev", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ino", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_mode", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_nlink", TypeSize: 4, ArgDir: 1}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "st_uid", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "st_gid", TypeSize: 4, ArgDir: 1}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_rdev", TypeSize: 8, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad1", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_size", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_blksize", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad2", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_blocks", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_atime", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_atime_nsec", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_mtime", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_mtime_nsec", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ctime", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ctime_nsec", TypeSize: 8, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__unused4", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__unused5", TypeSize: 4, ArgDir: 1}}},
}}},
{Key: StructKey{Name: "statx", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "statx", TypeSize: 256, ArgDir: 1}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mask", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blksize", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "attributes", TypeSize: 8, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nlink", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uid", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "gid", TypeSize: 4, ArgDir: 1}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "__spare0", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ino", TypeSize: 8, ArgDir: 1}}},
@@ -30020,11 +30025,17 @@ var structDescs_amd64 = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "userspace_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags_padding", TypeSize: 8}}},
}}},
- {Key: StructKey{Name: "vhost_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg", TypeSize: 104}, Fields: []Type{
+ {Key: StructKey{Name: "vhost_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg", TypeSize: 72}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&StructType{Key: StructKey{Name: "vhost_iotlb_msg"}, FldName: "iotlb"},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "padding", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 32}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "vhost_msg_v2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg_v2", TypeSize: 72}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
+ &StructType{Key: StructKey{Name: "vhost_iotlb_msg"}, FldName: "iotlb"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 32}}, IsPad: true},
}}},
{Key: StructKey{Name: "vhost_vring_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_vring_addr", TypeSize: 40}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vhost_vring_index", FldName: "index", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30722,24 +30733,24 @@ var structDescs_amd64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xdp_umem_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
- {Key: StructKey{Name: "xfrm_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address", TypeSize: 16}, Fields: []Type{
+ {Key: StructKey{Name: "xfrm_address_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_filter", TypeSize: 36}, Fields: []Type{
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "splen", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dplen", TypeSize: 1}}},
+ }}},
+ {Key: StructKey{Name: "xfrm_address_t"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_t", TypeSize: 16}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "in"},
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "in6"},
}}},
- {Key: StructKey{Name: "xfrm_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "xfrm_address_t", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_t", TypeSize: 16, ArgDir: 1}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "in"},
&UnionType{Key: StructKey{Name: "ipv6_addr", Dir: 1}, FldName: "in6"},
}}},
- {Key: StructKey{Name: "xfrm_address_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_filter", TypeSize: 36}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "splen", TypeSize: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dplen", TypeSize: 1}}},
- }}},
{Key: StructKey{Name: "xfrm_aevent_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_aevent_id", TypeSize: 48}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_usersa_id"}, FldName: "sa_id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
}}},
@@ -30779,8 +30790,8 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_AUTH, int16], xfrm_algo_hash]"}, FldName: "algo_auth"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_CRYPT, int16], xfrm_algo_skcipher]"}, FldName: "algo_crypt"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_COMP, int16], xfrm_algo_compress]"}, FldName: "algo_comp"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]"}, FldName: "srcaddr"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]"}, FldName: "coaddr"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]"}, FldName: "srcaddr"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]"}, FldName: "coaddr"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]"}, FldName: "extra_flags"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]"}, FldName: "tfcpad"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_REPLAY_THRESH, int16], int32]"}, FldName: "replay_thresh"},
@@ -30799,15 +30810,15 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]"}, FldName: "mark"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_PROTO, int16], flags[xfrm_proto, int8]]"}, FldName: "proto"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]"}, FldName: "address_filter"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]"}, FldName: "ipv4_hthresh"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]"}, FldName: "ipv6_hthresh"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]"}, FldName: "ipv4_hthresh"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]"}, FldName: "ipv6_hthresh"},
}}},
{Key: StructKey{Name: "xfrm_encap_tmpl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_encap_tmpl", TypeSize: 24}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_encap_type", FldName: "encap_type", TypeSize: 2}}, Vals: []uint64{18446744073709551613, 18446744073709551614, 18446744073709551615, 0, 1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "encap_sport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "encap_dport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "encap_oa"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "encap_oa"},
}}},
{Key: StructKey{Name: "xfrm_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_filter", TypeSize: 232}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "info"},
@@ -30818,13 +30829,13 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_user_tmpl", Dir: 1}, FldName: "tmpl"},
}}},
{Key: StructKey{Name: "xfrm_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_id", TypeSize: 24}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}}},
{Key: StructKey{Name: "xfrm_id", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_id", TypeSize: 24, ArgDir: 1}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
@@ -30880,8 +30891,8 @@ var structDescs_amd64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bmp", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
}}},
{Key: StructKey{Name: "xfrm_selector"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_selector", TypeSize: 56}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport_mask", TypeSize: 2, IsOptional: true}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
@@ -30895,8 +30906,8 @@ var structDescs_amd64 = []*KeyedStruct{
&ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "user", TypeSize: 4}},
}}},
{Key: StructKey{Name: "xfrm_selector", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_selector", TypeSize: 56, ArgDir: 1}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport_mask", TypeSize: 2, ArgDir: 1, IsOptional: true}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sport", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
@@ -30916,7 +30927,7 @@ var structDescs_amd64 = []*KeyedStruct{
}}},
{Key: StructKey{Name: "xfrm_user_acquire"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_acquire", TypeSize: 280}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&StructType{Key: StructKey{Name: "xfrm_selector"}, FldName: "sel"},
&StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "policy"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aalgos", TypeSize: 4}}},
@@ -30930,15 +30941,17 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true},
}}},
{Key: StructKey{Name: "xfrm_user_kmaddress"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_kmaddress", TypeSize: 40}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "local"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "remote"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "local"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "remote"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}}},
- {Key: StructKey{Name: "xfrm_user_migrate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_migrate", TypeSize: 44}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "old_daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "new_saddr"},
+ {Key: StructKey{Name: "xfrm_user_migrate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_migrate", TypeSize: 76}, Fields: []Type{
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "old_daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "old_saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "new_daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "new_saddr"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
@@ -30973,7 +30986,7 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_policy_shares", FldName: "share", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30987,7 +31000,7 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_id", Dir: 1}, FldName: "id"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, ArgDir: 1, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_policy_shares", FldName: "share", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3}},
@@ -31038,7 +31051,7 @@ var structDescs_amd64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
}}},
{Key: StructKey{Name: "xfrm_usersa_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_usersa_id", TypeSize: 24}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
@@ -31047,7 +31060,7 @@ var structDescs_amd64 = []*KeyedStruct{
{Key: StructKey{Name: "xfrm_usersa_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_usersa_info", TypeSize: 224}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_selector"}, FldName: "sel"},
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&StructType{Key: StructKey{Name: "xfrm_lifetime_cfg"}, FldName: "lft"},
&StructType{Key: StructKey{Name: "xfrm_lifetime_cur"}, FldName: "curlft"},
&StructType{Key: StructKey{Name: "xfrm_stats"}, FldName: "stats"},
@@ -31064,13 +31077,13 @@ var structDescs_amd64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max", TypeSize: 4}}},
}}},
- {Key: StructKey{Name: "xfrmu_spdhthresh4"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh4", TypeSize: 2}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1, RangeEnd: 32},
+ {Key: StructKey{Name: "xfrmu_spdhthresh[128]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh[128]", TypeSize: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1},
}}},
- {Key: StructKey{Name: "xfrmu_spdhthresh6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh6", TypeSize: 2}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1, RangeEnd: 128},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1, RangeEnd: 128},
+ {Key: StructKey{Name: "xfrmu_spdhthresh[32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh[32]", TypeSize: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1},
}}},
{Key: StructKey{Name: "xfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfs_options", IsVarlen: true}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "wsync", TypeSize: 5}, Kind: 2, Values: []string{"wsync"}, NoZ: true},
@@ -42602,6 +42615,12 @@ var syscalls_amd64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "req", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "rem", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "timespec", Dir: 1}}},
}},
+ {NR: 262, Name: "newfstatat", CallName: "newfstatat", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dfd", TypeSize: 8}}, Val: 18446744073709551516},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "statx_flags", FldName: "flag", TypeSize: 8}}, Vals: []uint64{256, 1024, 2048, 4096, 24576, 0, 8192, 16384}},
+ }},
{NR: 2, Name: "open", CallName: "open", Args: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 16384, 65536, 128, 32768, 262144, 256, 131072, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true},
@@ -49424,11 +49443,16 @@ var syscalls_amd64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "vhci_command"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}},
}},
- {NR: 1, Name: "write$vnet", CallName: "write", Args: []Type{
+ {NR: 1, Name: "write$vhost_msg", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "vhost_net", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vhost_msg"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"buf"}},
}},
+ {NR: 1, Name: "write$vhost_msg_v2", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "vhost_net", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vhost_msg_v2"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"buf"}},
+ }},
{NR: 20, Name: "writev", CallName: "writev", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}},
@@ -57101,8 +57125,11 @@ var consts_amd64 = []ConstValue{
{Name: "VHOST_IOTLB_INVALIDATE", Value: 3},
{Name: "VHOST_IOTLB_MISS", Value: 1},
{Name: "VHOST_IOTLB_MSG", Value: 1},
+ {Name: "VHOST_IOTLB_MSG_V2", Value: 2},
{Name: "VHOST_IOTLB_UPDATE", Value: 2},
{Name: "VHOST_LOG_ALL", Value: 67108864},
+ {Name: "VHOST_MSG_SIZE", Value: 72},
+ {Name: "VHOST_MSG_V2_SIZE", Value: 72},
{Name: "VHOST_NET_SET_BACKEND", Value: 1074310960},
{Name: "VHOST_NET_VIRTIO_NET_HDR", Value: 134217728},
{Name: "VHOST_RESET_OWNER", Value: 44802},
@@ -57786,6 +57813,7 @@ var consts_amd64 = []ConstValue{
{Name: "__NR_munmap", Value: 11},
{Name: "__NR_name_to_handle_at", Value: 303},
{Name: "__NR_nanosleep", Value: 35},
+ {Name: "__NR_newfstatat", Value: 262},
{Name: "__NR_open", Value: 2},
{Name: "__NR_open_by_handle_at", Value: 304},
{Name: "__NR_open_tree", Value: 428},
@@ -57941,4 +57969,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "2575a459b74fb5e3021793bdcf2325d85c48ba9b"
+const revision_amd64 = "18a91f6b216e971743f0cbd71deca9e80b9bd20b"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 727e89db5..6370c238c 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -3929,14 +3929,15 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cos", TypeSize: 1}, BitfieldOff: 5, BitfieldLen: 3, BitfieldUnit: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "session_id", TypeSize: 1}}},
}}},
- {Key: StructKey{Name: "erspan_md1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1", TypeSize: 12}, Fields: []Type{
+ {Key: StructKey{Name: "erspan_md1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1", TypeSize: 4}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "index", TypeSize: 4}, ArgFormat: 1}},
+ }}},
+ {Key: StructKey{Name: "erspan_md1_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1_msg", TypeSize: 12}, Fields: []Type{
&StructType{Key: StructKey{Name: "erspan_base_hdr[1]"}, FldName: "base"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 1},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "index", TypeSize: 4}, ArgFormat: 1}},
+ &StructType{Key: StructKey{Name: "erspan_md1"}, FldName: "payload"},
}}},
- {Key: StructKey{Name: "erspan_md2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2", TypeSize: 16}, Fields: []Type{
- &StructType{Key: StructKey{Name: "erspan_base_hdr[2]"}, FldName: "base"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 2},
+ {Key: StructKey{Name: "erspan_md2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2", TypeSize: 8}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "timestamp", TypeSize: 4}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sgt", TypeSize: 2}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hwid_upper"}, BitfieldLen: 2, BitfieldUnit: 1}},
@@ -3947,6 +3948,11 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dir"}, BitfieldOff: 3, BitfieldLen: 1, BitfieldUnit: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hwid", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 1, BitfieldUnit: 1}},
}}},
+ {Key: StructKey{Name: "erspan_md2_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2_msg", TypeSize: 16}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "erspan_base_hdr[2]"}, FldName: "base"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 2},
+ &StructType{Key: StructKey{Name: "erspan_md2"}, FldName: "payload"},
+ }}},
{Key: StructKey{Name: "eth2_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "eth2_packet_generic"}, FldName: "generic"},
&StructType{Key: StructKey{Name: "eth2_packet_t[ETH_P_ARP, arp_packet]"}, FldName: "arp"},
@@ -7014,8 +7020,8 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "gre_packet_pptp"}, FldName: "pptp"},
&StructType{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IP, array[int8]]"}, FldName: "cisco_ipv4"},
&StructType{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IPV6, array[int8]]"}, FldName: "cisco_ipv6"},
- &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]"}, FldName: "erspan1"},
- &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]"}, FldName: "erspan2"},
+ &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]"}, FldName: "erspan1"},
+ &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]"}, FldName: "erspan2"},
&StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_TEB, array[int8]]"}, FldName: "teb"},
}}},
{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IP, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_cisco[ETH_P_IP, array[int8]]", IsVarlen: true}, Fields: []Type{
@@ -7040,17 +7046,17 @@ var structDescs_arm = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "add", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", TypeSize: 2}, ArgFormat: 1}}, Kind: 1, RangeEnd: 3},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}},
}}},
- {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]", TypeSize: 20}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, ArgFormat: 1}, Val: 35006},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "seq", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeEnd: 4},
- &StructType{Key: StructKey{Name: "erspan_md1"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "erspan_md1_msg"}, FldName: "payload"},
}}},
- {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]", TypeSize: 24}, Fields: []Type{
+ {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]", TypeSize: 24}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, ArgFormat: 1}, Val: 8939},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "seq", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeEnd: 4},
- &StructType{Key: StructKey{Name: "erspan_md2"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "erspan_md2_msg"}, FldName: "payload"},
}}},
{Key: StructKey{Name: "gre_packet_erspan[ETH_P_TEB, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_TEB, array[int8]]", IsVarlen: true}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
@@ -19862,10 +19868,10 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
&StructType{Key: StructKey{Name: "xfrm_algo_skcipher"}, FldName: "payload"},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]", TypeSize: 20}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[XFRMA_ENCAP, int16], xfrm_encap_tmpl]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_ENCAP, int16], xfrm_encap_tmpl]", TypeSize: 28}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
@@ -19959,22 +19965,22 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8},
&StructType{Key: StructKey{Name: "xfrm_user_sec_ctx"}, FldName: "payload"},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]", TypeSize: 8}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
- &StructType{Key: StructKey{Name: "xfrmu_spdhthresh4"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "xfrmu_spdhthresh[32]"}, FldName: "payload"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]", TypeSize: 8}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4},
- &StructType{Key: StructKey{Name: "xfrmu_spdhthresh6"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "xfrmu_spdhthresh[128]"}, FldName: "payload"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]", TypeSize: 20}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
@@ -22687,9 +22693,9 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "instruction_pointer", TypeSize: 8, ArgDir: 1}}},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "args", TypeSize: 48, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
}}},
- {Key: StructKey{Name: "seccomp_metadata"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_metadata", TypeSize: 8}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "filter_off", TypeSize: 4}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
+ {Key: StructKey{Name: "seccomp_metadata"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_metadata", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "filter_off", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}},
}}},
{Key: StructKey{Name: "seccomp_notif", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_notif", TypeSize: 80, ArgDir: 1}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "seccomp_id", FldName: "id", TypeSize: 8, ArgDir: 1}},
@@ -24553,35 +24559,35 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_BASE, int16], tc_sizespec]"}, FldName: "TCA_STAB_BASE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_DATA, int16], array[int16]]"}, FldName: "TCA_STAB_DATA"},
}}},
- {Key: StructKey{Name: "stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stat", TypeSize: 68, ArgDir: 1}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dev", TypeSize: 2, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ino", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nlink", TypeSize: 2, ArgDir: 1}}},
- &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}},
- &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rdev", TypeSize: 2, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "size", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blksize", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "atime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ansec", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mtime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mnsec", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ctime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cnsec", TypeSize: 4, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 4, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad2", TypeSize: 4, ArgDir: 1}}},
+ {Key: StructKey{Name: "stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stat", TypeSize: 80, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_dev", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ino", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_mode", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_nlink", TypeSize: 4, ArgDir: 1}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "st_uid", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "st_gid", TypeSize: 4, ArgDir: 1}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_rdev", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad1", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_size", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_blksize", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad2", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_blocks", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_atime", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_atime_nsec", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_mtime", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_mtime_nsec", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ctime", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ctime_nsec", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__unused4", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__unused5", TypeSize: 4, ArgDir: 1}}},
}}},
{Key: StructKey{Name: "statx", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "statx", TypeSize: 256, ArgDir: 1}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mask", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blksize", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "attributes", TypeSize: 8, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nlink", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uid", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "gid", TypeSize: 4, ArgDir: 1}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "__spare0", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ino", TypeSize: 8, ArgDir: 1}}},
@@ -29413,11 +29419,17 @@ var structDescs_arm = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "userspace_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags_padding", TypeSize: 8}}},
}}},
- {Key: StructKey{Name: "vhost_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg", TypeSize: 104}, Fields: []Type{
+ {Key: StructKey{Name: "vhost_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg", TypeSize: 72}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&StructType{Key: StructKey{Name: "vhost_iotlb_msg"}, FldName: "iotlb"},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "padding", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 32}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "vhost_msg_v2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg_v2", TypeSize: 72}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
+ &StructType{Key: StructKey{Name: "vhost_iotlb_msg"}, FldName: "iotlb"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 32}}, IsPad: true},
}}},
{Key: StructKey{Name: "vhost_vring_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_vring_addr", TypeSize: 40}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vhost_vring_index", FldName: "index", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30114,24 +30126,24 @@ var structDescs_arm = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xdp_umem_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
- {Key: StructKey{Name: "xfrm_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address", TypeSize: 16}, Fields: []Type{
+ {Key: StructKey{Name: "xfrm_address_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_filter", TypeSize: 36}, Fields: []Type{
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "splen", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dplen", TypeSize: 1}}},
+ }}},
+ {Key: StructKey{Name: "xfrm_address_t"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_t", TypeSize: 16}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "in"},
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "in6"},
}}},
- {Key: StructKey{Name: "xfrm_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "xfrm_address_t", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_t", TypeSize: 16, ArgDir: 1}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "in"},
&UnionType{Key: StructKey{Name: "ipv6_addr", Dir: 1}, FldName: "in6"},
}}},
- {Key: StructKey{Name: "xfrm_address_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_filter", TypeSize: 36}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "splen", TypeSize: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dplen", TypeSize: 1}}},
- }}},
{Key: StructKey{Name: "xfrm_aevent_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_aevent_id", TypeSize: 48}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_usersa_id"}, FldName: "sa_id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
}}},
@@ -30171,8 +30183,8 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_AUTH, int16], xfrm_algo_hash]"}, FldName: "algo_auth"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_CRYPT, int16], xfrm_algo_skcipher]"}, FldName: "algo_crypt"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_COMP, int16], xfrm_algo_compress]"}, FldName: "algo_comp"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]"}, FldName: "srcaddr"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]"}, FldName: "coaddr"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]"}, FldName: "srcaddr"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]"}, FldName: "coaddr"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]"}, FldName: "extra_flags"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]"}, FldName: "tfcpad"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_REPLAY_THRESH, int16], int32]"}, FldName: "replay_thresh"},
@@ -30191,15 +30203,15 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]"}, FldName: "mark"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_PROTO, int16], flags[xfrm_proto, int8]]"}, FldName: "proto"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]"}, FldName: "address_filter"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]"}, FldName: "ipv4_hthresh"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]"}, FldName: "ipv6_hthresh"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]"}, FldName: "ipv4_hthresh"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]"}, FldName: "ipv6_hthresh"},
}}},
{Key: StructKey{Name: "xfrm_encap_tmpl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_encap_tmpl", TypeSize: 24}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_encap_type", FldName: "encap_type", TypeSize: 2}}, Vals: []uint64{18446744073709551613, 18446744073709551614, 18446744073709551615, 0, 1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "encap_sport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "encap_dport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "encap_oa"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "encap_oa"},
}}},
{Key: StructKey{Name: "xfrm_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_filter", TypeSize: 232}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "info"},
@@ -30210,13 +30222,13 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_user_tmpl", Dir: 1}, FldName: "tmpl"},
}}},
{Key: StructKey{Name: "xfrm_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_id", TypeSize: 24}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}}},
{Key: StructKey{Name: "xfrm_id", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_id", TypeSize: 24, ArgDir: 1}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
@@ -30272,8 +30284,8 @@ var structDescs_arm = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bmp", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
}}},
{Key: StructKey{Name: "xfrm_selector"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_selector", TypeSize: 56}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport_mask", TypeSize: 2, IsOptional: true}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
@@ -30287,8 +30299,8 @@ var structDescs_arm = []*KeyedStruct{
&ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "user", TypeSize: 4}},
}}},
{Key: StructKey{Name: "xfrm_selector", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_selector", TypeSize: 56, ArgDir: 1}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport_mask", TypeSize: 2, ArgDir: 1, IsOptional: true}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sport", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
@@ -30308,7 +30320,7 @@ var structDescs_arm = []*KeyedStruct{
}}},
{Key: StructKey{Name: "xfrm_user_acquire"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_acquire", TypeSize: 280}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&StructType{Key: StructKey{Name: "xfrm_selector"}, FldName: "sel"},
&StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "policy"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aalgos", TypeSize: 4}}},
@@ -30322,15 +30334,17 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true},
}}},
{Key: StructKey{Name: "xfrm_user_kmaddress"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_kmaddress", TypeSize: 40}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "local"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "remote"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "local"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "remote"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}}},
- {Key: StructKey{Name: "xfrm_user_migrate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_migrate", TypeSize: 44}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "old_daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "new_saddr"},
+ {Key: StructKey{Name: "xfrm_user_migrate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_migrate", TypeSize: 76}, Fields: []Type{
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "old_daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "old_saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "new_daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "new_saddr"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
@@ -30365,7 +30379,7 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_policy_shares", FldName: "share", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30379,7 +30393,7 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_id", Dir: 1}, FldName: "id"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, ArgDir: 1, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_policy_shares", FldName: "share", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30430,7 +30444,7 @@ var structDescs_arm = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
}}},
{Key: StructKey{Name: "xfrm_usersa_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_usersa_id", TypeSize: 24}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
@@ -30439,7 +30453,7 @@ var structDescs_arm = []*KeyedStruct{
{Key: StructKey{Name: "xfrm_usersa_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_usersa_info", TypeSize: 224}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_selector"}, FldName: "sel"},
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&StructType{Key: StructKey{Name: "xfrm_lifetime_cfg"}, FldName: "lft"},
&StructType{Key: StructKey{Name: "xfrm_lifetime_cur"}, FldName: "curlft"},
&StructType{Key: StructKey{Name: "xfrm_stats"}, FldName: "stats"},
@@ -30456,13 +30470,13 @@ var structDescs_arm = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max", TypeSize: 4}}},
}}},
- {Key: StructKey{Name: "xfrmu_spdhthresh4"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh4", TypeSize: 2}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1, RangeEnd: 32},
+ {Key: StructKey{Name: "xfrmu_spdhthresh[128]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh[128]", TypeSize: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1},
}}},
- {Key: StructKey{Name: "xfrmu_spdhthresh6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh6", TypeSize: 2}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1, RangeEnd: 128},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1, RangeEnd: 128},
+ {Key: StructKey{Name: "xfrmu_spdhthresh[32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh[32]", TypeSize: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1},
}}},
{Key: StructKey{Name: "xfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfs_options", IsVarlen: true}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "wsync", TypeSize: 5}, Kind: 2, Values: []string{"wsync"}, NoZ: true},
@@ -33359,6 +33373,16 @@ var syscalls_arm = []*Syscall{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}},
}},
+ {NR: 197, Name: "fstat64", CallName: "fstat64", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 104, ArgDir: 1}, Kind: 1, RangeBegin: 104, RangeEnd: 104}},
+ }},
+ {NR: 327, Name: "fstatat64", CallName: "fstatat64", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dfd", TypeSize: 4}}, Val: 18446744073709551516},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 104, ArgDir: 1}, Kind: 1, RangeBegin: 104, RangeEnd: 104}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "statx_flags", FldName: "flag", TypeSize: 4}}, Vals: []uint64{256, 1024, 2048, 4096, 24576, 0, 8192, 16384}},
+ }},
{NR: 100, Name: "fstatfs", CallName: "fstatfs", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
@@ -41295,6 +41319,10 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}},
}},
+ {NR: 196, Name: "lstat64", CallName: "lstat64", Args: []Type{
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 104, ArgDir: 1}, Kind: 1, RangeBegin: 104, RangeEnd: 104}},
+ }},
{NR: 220, Name: "madvise", CallName: "madvise", Args: []Type{
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 4}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}},
@@ -46711,6 +46739,10 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}},
}},
+ {NR: 195, Name: "stat64", CallName: "stat64", Args: []Type{
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 104, ArgDir: 1}, Kind: 1, RangeBegin: 104, RangeEnd: 104}},
+ }},
{NR: 99, Name: "statfs", CallName: "statfs", Args: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
@@ -48517,11 +48549,16 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "vhci_command"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}},
}},
- {NR: 4, Name: "write$vnet", CallName: "write", Args: []Type{
+ {NR: 4, Name: "write$vhost_msg", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "vhost_net", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "vhost_msg"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Path: []string{"buf"}},
}},
+ {NR: 4, Name: "write$vhost_msg_v2", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "vhost_net", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "vhost_msg_v2"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Path: []string{"buf"}},
+ }},
{NR: 146, Name: "writev", CallName: "writev", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}},
@@ -53851,6 +53888,7 @@ var consts_arm = []ConstValue{
{Name: "SR6_FLAG1_OAM", Value: 32},
{Name: "SR6_FLAG1_PROTECTED", Value: 64},
{Name: "STARTTIMER", Value: 2},
+ {Name: "STAT64_SIZE", Value: 104},
{Name: "STATX_ALL", Value: 4095},
{Name: "STATX_ATIME", Value: 32},
{Name: "STATX_BASIC_STATS", Value: 2047},
@@ -56118,8 +56156,11 @@ var consts_arm = []ConstValue{
{Name: "VHOST_IOTLB_INVALIDATE", Value: 3},
{Name: "VHOST_IOTLB_MISS", Value: 1},
{Name: "VHOST_IOTLB_MSG", Value: 1},
+ {Name: "VHOST_IOTLB_MSG_V2", Value: 2},
{Name: "VHOST_IOTLB_UPDATE", Value: 2},
{Name: "VHOST_LOG_ALL", Value: 67108864},
+ {Name: "VHOST_MSG_SIZE", Value: 72},
+ {Name: "VHOST_MSG_V2_SIZE", Value: 72},
{Name: "VHOST_NET_SET_BACKEND", Value: 1074310960},
{Name: "VHOST_NET_VIRTIO_NET_HDR", Value: 134217728},
{Name: "VHOST_RESET_OWNER", Value: 44802},
@@ -56699,6 +56740,8 @@ var consts_arm = []ConstValue{
{Name: "__NR_fsopen", Value: 430},
{Name: "__NR_fspick", Value: 433},
{Name: "__NR_fstat", Value: 108},
+ {Name: "__NR_fstat64", Value: 197},
+ {Name: "__NR_fstatat64", Value: 327},
{Name: "__NR_fstatfs", Value: 100},
{Name: "__NR_fsync", Value: 118},
{Name: "__NR_ftruncate", Value: 93},
@@ -56760,6 +56803,7 @@ var consts_arm = []ConstValue{
{Name: "__NR_lseek", Value: 19},
{Name: "__NR_lsetxattr", Value: 227},
{Name: "__NR_lstat", Value: 107},
+ {Name: "__NR_lstat64", Value: 196},
{Name: "__NR_madvise", Value: 220},
{Name: "__NR_mbind", Value: 319},
{Name: "__NR_membarrier", Value: 389},
@@ -56900,6 +56944,7 @@ var consts_arm = []ConstValue{
{Name: "__NR_socketpair", Value: 288},
{Name: "__NR_splice", Value: 340},
{Name: "__NR_stat", Value: 106},
+ {Name: "__NR_stat64", Value: 195},
{Name: "__NR_statfs", Value: 99},
{Name: "__NR_statx", Value: 397},
{Name: "__NR_symlink", Value: 83},
@@ -56947,4 +56992,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "e52fb803cb0d1e1d04676fc6b5e1948f282ab0a4"
+const revision_arm = "faec5e38eacbfab68fa98d6541183ced33840fe6"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index 8565a200b..590d9e6c7 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -4020,14 +4020,15 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cos", TypeSize: 1}, BitfieldOff: 5, BitfieldLen: 3, BitfieldUnit: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "session_id", TypeSize: 1}}},
}}},
- {Key: StructKey{Name: "erspan_md1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1", TypeSize: 12}, Fields: []Type{
+ {Key: StructKey{Name: "erspan_md1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1", TypeSize: 4}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "index", TypeSize: 4}, ArgFormat: 1}},
+ }}},
+ {Key: StructKey{Name: "erspan_md1_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1_msg", TypeSize: 12}, Fields: []Type{
&StructType{Key: StructKey{Name: "erspan_base_hdr[1]"}, FldName: "base"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 1},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "index", TypeSize: 4}, ArgFormat: 1}},
+ &StructType{Key: StructKey{Name: "erspan_md1"}, FldName: "payload"},
}}},
- {Key: StructKey{Name: "erspan_md2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2", TypeSize: 16}, Fields: []Type{
- &StructType{Key: StructKey{Name: "erspan_base_hdr[2]"}, FldName: "base"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 2},
+ {Key: StructKey{Name: "erspan_md2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2", TypeSize: 8}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "timestamp", TypeSize: 4}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sgt", TypeSize: 2}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hwid_upper"}, BitfieldLen: 2, BitfieldUnit: 1}},
@@ -4038,6 +4039,11 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dir"}, BitfieldOff: 3, BitfieldLen: 1, BitfieldUnit: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hwid", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 1, BitfieldUnit: 1}},
}}},
+ {Key: StructKey{Name: "erspan_md2_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2_msg", TypeSize: 16}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "erspan_base_hdr[2]"}, FldName: "base"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 2},
+ &StructType{Key: StructKey{Name: "erspan_md2"}, FldName: "payload"},
+ }}},
{Key: StructKey{Name: "eth2_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "eth2_packet_generic"}, FldName: "generic"},
&StructType{Key: StructKey{Name: "eth2_packet_t[ETH_P_ARP, arp_packet]"}, FldName: "arp"},
@@ -7116,8 +7122,8 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "gre_packet_pptp"}, FldName: "pptp"},
&StructType{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IP, array[int8]]"}, FldName: "cisco_ipv4"},
&StructType{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IPV6, array[int8]]"}, FldName: "cisco_ipv6"},
- &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]"}, FldName: "erspan1"},
- &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]"}, FldName: "erspan2"},
+ &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]"}, FldName: "erspan1"},
+ &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]"}, FldName: "erspan2"},
&StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_TEB, array[int8]]"}, FldName: "teb"},
}}},
{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IP, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_cisco[ETH_P_IP, array[int8]]", IsVarlen: true}, Fields: []Type{
@@ -7142,17 +7148,17 @@ var structDescs_arm64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "add", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", TypeSize: 2}, ArgFormat: 1}}, Kind: 1, RangeEnd: 3},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}},
}}},
- {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]", TypeSize: 20}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, ArgFormat: 1}, Val: 35006},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "seq", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeEnd: 4},
- &StructType{Key: StructKey{Name: "erspan_md1"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "erspan_md1_msg"}, FldName: "payload"},
}}},
- {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]", TypeSize: 24}, Fields: []Type{
+ {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]", TypeSize: 24}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, ArgFormat: 1}, Val: 8939},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "seq", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeEnd: 4},
- &StructType{Key: StructKey{Name: "erspan_md2"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "erspan_md2_msg"}, FldName: "payload"},
}}},
{Key: StructKey{Name: "gre_packet_erspan[ETH_P_TEB, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_TEB, array[int8]]", IsVarlen: true}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
@@ -20180,10 +20186,10 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
&StructType{Key: StructKey{Name: "xfrm_algo_skcipher"}, FldName: "payload"},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]", TypeSize: 20}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[XFRMA_ENCAP, int16], xfrm_encap_tmpl]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_ENCAP, int16], xfrm_encap_tmpl]", TypeSize: 28}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
@@ -20277,22 +20283,22 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8},
&StructType{Key: StructKey{Name: "xfrm_user_sec_ctx"}, FldName: "payload"},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]", TypeSize: 8}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
- &StructType{Key: StructKey{Name: "xfrmu_spdhthresh4"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "xfrmu_spdhthresh[32]"}, FldName: "payload"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]", TypeSize: 8}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4},
- &StructType{Key: StructKey{Name: "xfrmu_spdhthresh6"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "xfrmu_spdhthresh[128]"}, FldName: "payload"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]", TypeSize: 20}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
@@ -23005,9 +23011,8 @@ var structDescs_arm64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "args", TypeSize: 48, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
}}},
{Key: StructKey{Name: "seccomp_metadata"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_metadata", TypeSize: 16}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "filter_off", TypeSize: 8}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "filter_off", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}},
}}},
{Key: StructKey{Name: "seccomp_notif", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_notif", TypeSize: 80, ArgDir: 1}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "seccomp_id", FldName: "id", TypeSize: 8, ArgDir: 1}},
@@ -24889,35 +24894,35 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_BASE, int16], tc_sizespec]"}, FldName: "TCA_STAB_BASE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_DATA, int16], array[int16]]"}, FldName: "TCA_STAB_DATA"},
}}},
- {Key: StructKey{Name: "stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stat", TypeSize: 68, ArgDir: 1}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dev", TypeSize: 2, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ino", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nlink", TypeSize: 2, ArgDir: 1}}},
- &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}},
- &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rdev", TypeSize: 2, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "size", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blksize", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "atime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ansec", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mtime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mnsec", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ctime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cnsec", TypeSize: 4, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 4, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad2", TypeSize: 4, ArgDir: 1}}},
+ {Key: StructKey{Name: "stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stat", TypeSize: 128, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_dev", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ino", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_mode", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_nlink", TypeSize: 4, ArgDir: 1}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "st_uid", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "st_gid", TypeSize: 4, ArgDir: 1}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_rdev", TypeSize: 8, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad1", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_size", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_blksize", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad2", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_blocks", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_atime", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_atime_nsec", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_mtime", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_mtime_nsec", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ctime", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ctime_nsec", TypeSize: 8, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__unused4", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__unused5", TypeSize: 4, ArgDir: 1}}},
}}},
{Key: StructKey{Name: "statx", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "statx", TypeSize: 256, ArgDir: 1}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mask", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blksize", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "attributes", TypeSize: 8, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nlink", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uid", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "gid", TypeSize: 4, ArgDir: 1}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "__spare0", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ino", TypeSize: 8, ArgDir: 1}}},
@@ -29804,11 +29809,17 @@ var structDescs_arm64 = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "userspace_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags_padding", TypeSize: 8}}},
}}},
- {Key: StructKey{Name: "vhost_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg", TypeSize: 104}, Fields: []Type{
+ {Key: StructKey{Name: "vhost_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg", TypeSize: 72}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&StructType{Key: StructKey{Name: "vhost_iotlb_msg"}, FldName: "iotlb"},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "padding", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 32}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "vhost_msg_v2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg_v2", TypeSize: 72}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
+ &StructType{Key: StructKey{Name: "vhost_iotlb_msg"}, FldName: "iotlb"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 32}}, IsPad: true},
}}},
{Key: StructKey{Name: "vhost_vring_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_vring_addr", TypeSize: 40}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vhost_vring_index", FldName: "index", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30506,24 +30517,24 @@ var structDescs_arm64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xdp_umem_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
- {Key: StructKey{Name: "xfrm_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address", TypeSize: 16}, Fields: []Type{
+ {Key: StructKey{Name: "xfrm_address_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_filter", TypeSize: 36}, Fields: []Type{
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "splen", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dplen", TypeSize: 1}}},
+ }}},
+ {Key: StructKey{Name: "xfrm_address_t"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_t", TypeSize: 16}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "in"},
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "in6"},
}}},
- {Key: StructKey{Name: "xfrm_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "xfrm_address_t", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_t", TypeSize: 16, ArgDir: 1}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "in"},
&UnionType{Key: StructKey{Name: "ipv6_addr", Dir: 1}, FldName: "in6"},
}}},
- {Key: StructKey{Name: "xfrm_address_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_filter", TypeSize: 36}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "splen", TypeSize: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dplen", TypeSize: 1}}},
- }}},
{Key: StructKey{Name: "xfrm_aevent_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_aevent_id", TypeSize: 48}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_usersa_id"}, FldName: "sa_id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
}}},
@@ -30563,8 +30574,8 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_AUTH, int16], xfrm_algo_hash]"}, FldName: "algo_auth"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_CRYPT, int16], xfrm_algo_skcipher]"}, FldName: "algo_crypt"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_COMP, int16], xfrm_algo_compress]"}, FldName: "algo_comp"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]"}, FldName: "srcaddr"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]"}, FldName: "coaddr"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]"}, FldName: "srcaddr"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]"}, FldName: "coaddr"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]"}, FldName: "extra_flags"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]"}, FldName: "tfcpad"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_REPLAY_THRESH, int16], int32]"}, FldName: "replay_thresh"},
@@ -30583,15 +30594,15 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]"}, FldName: "mark"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_PROTO, int16], flags[xfrm_proto, int8]]"}, FldName: "proto"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]"}, FldName: "address_filter"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]"}, FldName: "ipv4_hthresh"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]"}, FldName: "ipv6_hthresh"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]"}, FldName: "ipv4_hthresh"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]"}, FldName: "ipv6_hthresh"},
}}},
{Key: StructKey{Name: "xfrm_encap_tmpl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_encap_tmpl", TypeSize: 24}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_encap_type", FldName: "encap_type", TypeSize: 2}}, Vals: []uint64{18446744073709551613, 18446744073709551614, 18446744073709551615, 0, 1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "encap_sport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "encap_dport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "encap_oa"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "encap_oa"},
}}},
{Key: StructKey{Name: "xfrm_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_filter", TypeSize: 232}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "info"},
@@ -30602,13 +30613,13 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_user_tmpl", Dir: 1}, FldName: "tmpl"},
}}},
{Key: StructKey{Name: "xfrm_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_id", TypeSize: 24}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}}},
{Key: StructKey{Name: "xfrm_id", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_id", TypeSize: 24, ArgDir: 1}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
@@ -30664,8 +30675,8 @@ var structDescs_arm64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bmp", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
}}},
{Key: StructKey{Name: "xfrm_selector"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_selector", TypeSize: 56}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport_mask", TypeSize: 2, IsOptional: true}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
@@ -30679,8 +30690,8 @@ var structDescs_arm64 = []*KeyedStruct{
&ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "user", TypeSize: 4}},
}}},
{Key: StructKey{Name: "xfrm_selector", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_selector", TypeSize: 56, ArgDir: 1}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport_mask", TypeSize: 2, ArgDir: 1, IsOptional: true}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sport", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
@@ -30700,7 +30711,7 @@ var structDescs_arm64 = []*KeyedStruct{
}}},
{Key: StructKey{Name: "xfrm_user_acquire"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_acquire", TypeSize: 280}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&StructType{Key: StructKey{Name: "xfrm_selector"}, FldName: "sel"},
&StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "policy"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aalgos", TypeSize: 4}}},
@@ -30714,15 +30725,17 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true},
}}},
{Key: StructKey{Name: "xfrm_user_kmaddress"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_kmaddress", TypeSize: 40}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "local"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "remote"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "local"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "remote"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}}},
- {Key: StructKey{Name: "xfrm_user_migrate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_migrate", TypeSize: 44}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "old_daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "new_saddr"},
+ {Key: StructKey{Name: "xfrm_user_migrate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_migrate", TypeSize: 76}, Fields: []Type{
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "old_daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "old_saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "new_daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "new_saddr"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
@@ -30757,7 +30770,7 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_policy_shares", FldName: "share", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30771,7 +30784,7 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_id", Dir: 1}, FldName: "id"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, ArgDir: 1, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_policy_shares", FldName: "share", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30822,7 +30835,7 @@ var structDescs_arm64 = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
}}},
{Key: StructKey{Name: "xfrm_usersa_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_usersa_id", TypeSize: 24}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
@@ -30831,7 +30844,7 @@ var structDescs_arm64 = []*KeyedStruct{
{Key: StructKey{Name: "xfrm_usersa_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_usersa_info", TypeSize: 224}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_selector"}, FldName: "sel"},
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&StructType{Key: StructKey{Name: "xfrm_lifetime_cfg"}, FldName: "lft"},
&StructType{Key: StructKey{Name: "xfrm_lifetime_cur"}, FldName: "curlft"},
&StructType{Key: StructKey{Name: "xfrm_stats"}, FldName: "stats"},
@@ -30848,13 +30861,13 @@ var structDescs_arm64 = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max", TypeSize: 4}}},
}}},
- {Key: StructKey{Name: "xfrmu_spdhthresh4"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh4", TypeSize: 2}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1, RangeEnd: 32},
+ {Key: StructKey{Name: "xfrmu_spdhthresh[128]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh[128]", TypeSize: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1},
}}},
- {Key: StructKey{Name: "xfrmu_spdhthresh6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh6", TypeSize: 2}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1, RangeEnd: 128},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1, RangeEnd: 128},
+ {Key: StructKey{Name: "xfrmu_spdhthresh[32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh[32]", TypeSize: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1},
}}},
{Key: StructKey{Name: "xfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfs_options", IsVarlen: true}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "wsync", TypeSize: 5}, Kind: 2, Values: []string{"wsync"}, NoZ: true},
@@ -42136,6 +42149,12 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "req", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "rem", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "timespec", Dir: 1}}},
}},
+ {NR: 79, Name: "newfstatat", CallName: "newfstatat", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dfd", TypeSize: 8}}, Val: 18446744073709551516},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "statx_flags", FldName: "flag", TypeSize: 8}}, Vals: []uint64{256, 1024, 2048, 4096, 24576, 0, 8192, 16384}},
+ }},
{NR: 265, Name: "open_by_handle_at", CallName: "open_by_handle_at", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "mountdirfd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "handle", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "file_handle"}}},
@@ -48871,11 +48890,16 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "vhci_command"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}},
}},
- {NR: 64, Name: "write$vnet", CallName: "write", Args: []Type{
+ {NR: 64, Name: "write$vhost_msg", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "vhost_net", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vhost_msg"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"buf"}},
}},
+ {NR: 64, Name: "write$vhost_msg_v2", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "vhost_net", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vhost_msg_v2"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"buf"}},
+ }},
{NR: 66, Name: "writev", CallName: "writev", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}},
@@ -54205,6 +54229,7 @@ var consts_arm64 = []ConstValue{
{Name: "SR6_FLAG1_OAM", Value: 32},
{Name: "SR6_FLAG1_PROTECTED", Value: 64},
{Name: "STARTTIMER", Value: 2},
+ {Name: "STAT64_SIZE", Value: 104},
{Name: "STATX_ALL", Value: 4095},
{Name: "STATX_ATIME", Value: 32},
{Name: "STATX_BASIC_STATS", Value: 2047},
@@ -56486,8 +56511,11 @@ var consts_arm64 = []ConstValue{
{Name: "VHOST_IOTLB_INVALIDATE", Value: 3},
{Name: "VHOST_IOTLB_MISS", Value: 1},
{Name: "VHOST_IOTLB_MSG", Value: 1},
+ {Name: "VHOST_IOTLB_MSG_V2", Value: 2},
{Name: "VHOST_IOTLB_UPDATE", Value: 2},
{Name: "VHOST_LOG_ALL", Value: 67108864},
+ {Name: "VHOST_MSG_SIZE", Value: 72},
+ {Name: "VHOST_MSG_V2_SIZE", Value: 72},
{Name: "VHOST_NET_SET_BACKEND", Value: 1074310960},
{Name: "VHOST_NET_VIRTIO_NET_HDR", Value: 134217728},
{Name: "VHOST_RESET_OWNER", Value: 44802},
@@ -57149,6 +57177,7 @@ var consts_arm64 = []ConstValue{
{Name: "__NR_munmap", Value: 215},
{Name: "__NR_name_to_handle_at", Value: 264},
{Name: "__NR_nanosleep", Value: 101},
+ {Name: "__NR_newfstatat", Value: 79},
{Name: "__NR_open_by_handle_at", Value: 265},
{Name: "__NR_open_tree", Value: 428},
{Name: "__NR_openat", Value: 56},
@@ -57285,4 +57314,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "e6e7fa7c13761c7421d8c0a5ae9f92042725a0a4"
+const revision_arm64 = "75fc019821c9437a8d33a5ab43d33c3a292e8faa"
diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go
index 4bd699f30..33136902d 100644
--- a/sys/linux/gen/mips64le.go
+++ b/sys/linux/gen/mips64le.go
@@ -4016,14 +4016,15 @@ var structDescs_mips64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cos", TypeSize: 1}, BitfieldOff: 5, BitfieldLen: 3, BitfieldUnit: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "session_id", TypeSize: 1}}},
}}},
- {Key: StructKey{Name: "erspan_md1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1", TypeSize: 12}, Fields: []Type{
+ {Key: StructKey{Name: "erspan_md1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1", TypeSize: 4}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "index", TypeSize: 4}, ArgFormat: 1}},
+ }}},
+ {Key: StructKey{Name: "erspan_md1_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1_msg", TypeSize: 12}, Fields: []Type{
&StructType{Key: StructKey{Name: "erspan_base_hdr[1]"}, FldName: "base"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 1},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "index", TypeSize: 4}, ArgFormat: 1}},
+ &StructType{Key: StructKey{Name: "erspan_md1"}, FldName: "payload"},
}}},
- {Key: StructKey{Name: "erspan_md2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2", TypeSize: 16}, Fields: []Type{
- &StructType{Key: StructKey{Name: "erspan_base_hdr[2]"}, FldName: "base"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 2},
+ {Key: StructKey{Name: "erspan_md2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2", TypeSize: 8}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "timestamp", TypeSize: 4}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sgt", TypeSize: 2}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hwid_upper"}, BitfieldLen: 2, BitfieldUnit: 1}},
@@ -4034,6 +4035,11 @@ var structDescs_mips64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dir"}, BitfieldOff: 3, BitfieldLen: 1, BitfieldUnit: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hwid", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 1, BitfieldUnit: 1}},
}}},
+ {Key: StructKey{Name: "erspan_md2_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2_msg", TypeSize: 16}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "erspan_base_hdr[2]"}, FldName: "base"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 2},
+ &StructType{Key: StructKey{Name: "erspan_md2"}, FldName: "payload"},
+ }}},
{Key: StructKey{Name: "eth2_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "eth2_packet_generic"}, FldName: "generic"},
&StructType{Key: StructKey{Name: "eth2_packet_t[ETH_P_ARP, arp_packet]"}, FldName: "arp"},
@@ -7112,8 +7118,8 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "gre_packet_pptp"}, FldName: "pptp"},
&StructType{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IP, array[int8]]"}, FldName: "cisco_ipv4"},
&StructType{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IPV6, array[int8]]"}, FldName: "cisco_ipv6"},
- &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]"}, FldName: "erspan1"},
- &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]"}, FldName: "erspan2"},
+ &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]"}, FldName: "erspan1"},
+ &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]"}, FldName: "erspan2"},
&StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_TEB, array[int8]]"}, FldName: "teb"},
}}},
{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IP, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_cisco[ETH_P_IP, array[int8]]", IsVarlen: true}, Fields: []Type{
@@ -7138,17 +7144,17 @@ var structDescs_mips64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "add", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", TypeSize: 2}, ArgFormat: 1}}, Kind: 1, RangeEnd: 3},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}},
}}},
- {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]", TypeSize: 20}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, ArgFormat: 1}, Val: 35006},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "seq", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeEnd: 4},
- &StructType{Key: StructKey{Name: "erspan_md1"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "erspan_md1_msg"}, FldName: "payload"},
}}},
- {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]", TypeSize: 24}, Fields: []Type{
+ {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]", TypeSize: 24}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, ArgFormat: 1}, Val: 8939},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "seq", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeEnd: 4},
- &StructType{Key: StructKey{Name: "erspan_md2"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "erspan_md2_msg"}, FldName: "payload"},
}}},
{Key: StructKey{Name: "gre_packet_erspan[ETH_P_TEB, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_TEB, array[int8]]", IsVarlen: true}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
@@ -20123,10 +20129,10 @@ var structDescs_mips64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
&StructType{Key: StructKey{Name: "xfrm_algo_skcipher"}, FldName: "payload"},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]", TypeSize: 20}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[XFRMA_ENCAP, int16], xfrm_encap_tmpl]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_ENCAP, int16], xfrm_encap_tmpl]", TypeSize: 28}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
@@ -20220,22 +20226,22 @@ var structDescs_mips64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8},
&StructType{Key: StructKey{Name: "xfrm_user_sec_ctx"}, FldName: "payload"},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]", TypeSize: 8}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
- &StructType{Key: StructKey{Name: "xfrmu_spdhthresh4"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "xfrmu_spdhthresh[32]"}, FldName: "payload"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]", TypeSize: 8}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4},
- &StructType{Key: StructKey{Name: "xfrmu_spdhthresh6"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "xfrmu_spdhthresh[128]"}, FldName: "payload"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]", TypeSize: 20}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
@@ -22948,9 +22954,8 @@ var structDescs_mips64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "args", TypeSize: 48, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
}}},
{Key: StructKey{Name: "seccomp_metadata"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_metadata", TypeSize: 16}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "filter_off", TypeSize: 8}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "filter_off", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}},
}}},
{Key: StructKey{Name: "seccomp_notif", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_notif", TypeSize: 80, ArgDir: 1}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "seccomp_id", FldName: "id", TypeSize: 8, ArgDir: 1}},
@@ -24832,35 +24837,35 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_BASE, int16], tc_sizespec]"}, FldName: "TCA_STAB_BASE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_DATA, int16], array[int16]]"}, FldName: "TCA_STAB_DATA"},
}}},
- {Key: StructKey{Name: "stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stat", TypeSize: 68, ArgDir: 1}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dev", TypeSize: 2, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ino", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nlink", TypeSize: 2, ArgDir: 1}}},
- &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}},
- &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rdev", TypeSize: 2, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "size", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blksize", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "atime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ansec", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mtime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mnsec", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ctime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cnsec", TypeSize: 4, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 4, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad2", TypeSize: 4, ArgDir: 1}}},
+ {Key: StructKey{Name: "stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stat", TypeSize: 128, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_dev", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ino", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_mode", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_nlink", TypeSize: 4, ArgDir: 1}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "st_uid", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "st_gid", TypeSize: 4, ArgDir: 1}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_rdev", TypeSize: 8, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad1", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_size", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_blksize", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad2", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_blocks", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_atime", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_atime_nsec", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_mtime", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_mtime_nsec", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ctime", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ctime_nsec", TypeSize: 8, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__unused4", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__unused5", TypeSize: 4, ArgDir: 1}}},
}}},
{Key: StructKey{Name: "statx", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "statx", TypeSize: 256, ArgDir: 1}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mask", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blksize", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "attributes", TypeSize: 8, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nlink", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uid", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "gid", TypeSize: 4, ArgDir: 1}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "__spare0", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ino", TypeSize: 8, ArgDir: 1}}},
@@ -28898,11 +28903,17 @@ var structDescs_mips64le = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "userspace_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags_padding", TypeSize: 8}}},
}}},
- {Key: StructKey{Name: "vhost_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg", TypeSize: 104}, Fields: []Type{
+ {Key: StructKey{Name: "vhost_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg", TypeSize: 72}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&StructType{Key: StructKey{Name: "vhost_iotlb_msg"}, FldName: "iotlb"},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "padding", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 32}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "vhost_msg_v2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg_v2", TypeSize: 72}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
+ &StructType{Key: StructKey{Name: "vhost_iotlb_msg"}, FldName: "iotlb"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 32}}, IsPad: true},
}}},
{Key: StructKey{Name: "vhost_vring_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_vring_addr", TypeSize: 40}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vhost_vring_index", FldName: "index", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
@@ -29600,24 +29611,24 @@ var structDescs_mips64le = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xdp_umem_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
- {Key: StructKey{Name: "xfrm_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address", TypeSize: 16}, Fields: []Type{
+ {Key: StructKey{Name: "xfrm_address_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_filter", TypeSize: 36}, Fields: []Type{
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "splen", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dplen", TypeSize: 1}}},
+ }}},
+ {Key: StructKey{Name: "xfrm_address_t"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_t", TypeSize: 16}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "in"},
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "in6"},
}}},
- {Key: StructKey{Name: "xfrm_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "xfrm_address_t", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_t", TypeSize: 16, ArgDir: 1}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "in"},
&UnionType{Key: StructKey{Name: "ipv6_addr", Dir: 1}, FldName: "in6"},
}}},
- {Key: StructKey{Name: "xfrm_address_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_filter", TypeSize: 36}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "splen", TypeSize: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dplen", TypeSize: 1}}},
- }}},
{Key: StructKey{Name: "xfrm_aevent_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_aevent_id", TypeSize: 48}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_usersa_id"}, FldName: "sa_id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
}}},
@@ -29657,8 +29668,8 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_AUTH, int16], xfrm_algo_hash]"}, FldName: "algo_auth"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_CRYPT, int16], xfrm_algo_skcipher]"}, FldName: "algo_crypt"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_COMP, int16], xfrm_algo_compress]"}, FldName: "algo_comp"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]"}, FldName: "srcaddr"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]"}, FldName: "coaddr"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]"}, FldName: "srcaddr"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]"}, FldName: "coaddr"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]"}, FldName: "extra_flags"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]"}, FldName: "tfcpad"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_REPLAY_THRESH, int16], int32]"}, FldName: "replay_thresh"},
@@ -29677,15 +29688,15 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]"}, FldName: "mark"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_PROTO, int16], flags[xfrm_proto, int8]]"}, FldName: "proto"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]"}, FldName: "address_filter"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]"}, FldName: "ipv4_hthresh"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]"}, FldName: "ipv6_hthresh"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]"}, FldName: "ipv4_hthresh"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]"}, FldName: "ipv6_hthresh"},
}}},
{Key: StructKey{Name: "xfrm_encap_tmpl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_encap_tmpl", TypeSize: 24}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_encap_type", FldName: "encap_type", TypeSize: 2}}, Vals: []uint64{18446744073709551613, 18446744073709551614, 18446744073709551615, 0, 1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "encap_sport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "encap_dport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "encap_oa"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "encap_oa"},
}}},
{Key: StructKey{Name: "xfrm_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_filter", TypeSize: 232}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "info"},
@@ -29696,13 +29707,13 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_user_tmpl", Dir: 1}, FldName: "tmpl"},
}}},
{Key: StructKey{Name: "xfrm_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_id", TypeSize: 24}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}}},
{Key: StructKey{Name: "xfrm_id", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_id", TypeSize: 24, ArgDir: 1}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
@@ -29758,8 +29769,8 @@ var structDescs_mips64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bmp", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
}}},
{Key: StructKey{Name: "xfrm_selector"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_selector", TypeSize: 56}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport_mask", TypeSize: 2, IsOptional: true}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
@@ -29773,8 +29784,8 @@ var structDescs_mips64le = []*KeyedStruct{
&ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "user", TypeSize: 4}},
}}},
{Key: StructKey{Name: "xfrm_selector", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_selector", TypeSize: 56, ArgDir: 1}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport_mask", TypeSize: 2, ArgDir: 1, IsOptional: true}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sport", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
@@ -29794,7 +29805,7 @@ var structDescs_mips64le = []*KeyedStruct{
}}},
{Key: StructKey{Name: "xfrm_user_acquire"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_acquire", TypeSize: 280}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&StructType{Key: StructKey{Name: "xfrm_selector"}, FldName: "sel"},
&StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "policy"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aalgos", TypeSize: 4}}},
@@ -29808,15 +29819,17 @@ var structDescs_mips64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true},
}}},
{Key: StructKey{Name: "xfrm_user_kmaddress"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_kmaddress", TypeSize: 40}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "local"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "remote"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "local"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "remote"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}}},
- {Key: StructKey{Name: "xfrm_user_migrate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_migrate", TypeSize: 44}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "old_daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "new_saddr"},
+ {Key: StructKey{Name: "xfrm_user_migrate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_migrate", TypeSize: 76}, Fields: []Type{
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "old_daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "old_saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "new_daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "new_saddr"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
@@ -29851,7 +29864,7 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_policy_shares", FldName: "share", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3}},
@@ -29865,7 +29878,7 @@ var structDescs_mips64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_id", Dir: 1}, FldName: "id"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, ArgDir: 1, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_policy_shares", FldName: "share", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3}},
@@ -29916,7 +29929,7 @@ var structDescs_mips64le = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
}}},
{Key: StructKey{Name: "xfrm_usersa_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_usersa_id", TypeSize: 24}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
@@ -29925,7 +29938,7 @@ var structDescs_mips64le = []*KeyedStruct{
{Key: StructKey{Name: "xfrm_usersa_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_usersa_info", TypeSize: 224}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_selector"}, FldName: "sel"},
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&StructType{Key: StructKey{Name: "xfrm_lifetime_cfg"}, FldName: "lft"},
&StructType{Key: StructKey{Name: "xfrm_lifetime_cur"}, FldName: "curlft"},
&StructType{Key: StructKey{Name: "xfrm_stats"}, FldName: "stats"},
@@ -29942,13 +29955,13 @@ var structDescs_mips64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max", TypeSize: 4}}},
}}},
- {Key: StructKey{Name: "xfrmu_spdhthresh4"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh4", TypeSize: 2}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1, RangeEnd: 32},
+ {Key: StructKey{Name: "xfrmu_spdhthresh[128]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh[128]", TypeSize: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1},
}}},
- {Key: StructKey{Name: "xfrmu_spdhthresh6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh6", TypeSize: 2}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1, RangeEnd: 128},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1, RangeEnd: 128},
+ {Key: StructKey{Name: "xfrmu_spdhthresh[32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh[32]", TypeSize: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1},
}}},
{Key: StructKey{Name: "xfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfs_options", IsVarlen: true}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "wsync", TypeSize: 5}, Kind: 2, Values: []string{"wsync"}, NoZ: true},
@@ -40738,6 +40751,12 @@ var syscalls_mips64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "req", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "rem", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "timespec", Dir: 1}}},
}},
+ {NR: 5252, Name: "newfstatat", CallName: "newfstatat", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dfd", TypeSize: 8}}, Val: 18446744073709551516},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "statx_flags", FldName: "flag", TypeSize: 8}}, Vals: []uint64{256, 1024, 2048, 4096, 24576, 0, 8192, 16384}},
+ }},
{NR: 5002, Name: "open", CallName: "open", Args: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 8, 4096, 524288, 256, 32768, 65536, 1024, 8192, 262144, 2048, 131072, 128, 2097152, 16400, 512, 4194304}, BitMask: true},
@@ -47547,11 +47566,16 @@ var syscalls_mips64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "vhci_command"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}},
}},
- {NR: 5001, Name: "write$vnet", CallName: "write", Args: []Type{
+ {NR: 5001, Name: "write$vhost_msg", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "vhost_net", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vhost_msg"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"buf"}},
}},
+ {NR: 5001, Name: "write$vhost_msg_v2", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "vhost_net", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vhost_msg_v2"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"buf"}},
+ }},
{NR: 5019, Name: "writev", CallName: "writev", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}},
@@ -54198,8 +54222,11 @@ var consts_mips64le = []ConstValue{
{Name: "VHOST_IOTLB_INVALIDATE", Value: 3},
{Name: "VHOST_IOTLB_MISS", Value: 1},
{Name: "VHOST_IOTLB_MSG", Value: 1},
+ {Name: "VHOST_IOTLB_MSG_V2", Value: 2},
{Name: "VHOST_IOTLB_UPDATE", Value: 2},
{Name: "VHOST_LOG_ALL", Value: 67108864},
+ {Name: "VHOST_MSG_SIZE", Value: 72},
+ {Name: "VHOST_MSG_V2_SIZE", Value: 72},
{Name: "VHOST_NET_SET_BACKEND", Value: 2148052784},
{Name: "VHOST_NET_VIRTIO_NET_HDR", Value: 134217728},
{Name: "VHOST_RESET_OWNER", Value: 536915714},
@@ -54777,6 +54804,7 @@ var consts_mips64le = []ConstValue{
{Name: "__NR_munmap", Value: 5011},
{Name: "__NR_name_to_handle_at", Value: 5298},
{Name: "__NR_nanosleep", Value: 5034},
+ {Name: "__NR_newfstatat", Value: 5252},
{Name: "__NR_open", Value: 5002},
{Name: "__NR_open_by_handle_at", Value: 5299},
{Name: "__NR_open_tree", Value: 5428},
@@ -54929,4 +54957,4 @@ var consts_mips64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_mips64le = "c0af9f26ea2e131e719395d8232a881e0866d159"
+const revision_mips64le = "16462b335fa9bff4e562a61d34d7650bed70ed05"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index 8f483c94d..39c90281c 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -4019,14 +4019,15 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cos", TypeSize: 1}, BitfieldOff: 5, BitfieldLen: 3, BitfieldUnit: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "session_id", TypeSize: 1}}},
}}},
- {Key: StructKey{Name: "erspan_md1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1", TypeSize: 12}, Fields: []Type{
+ {Key: StructKey{Name: "erspan_md1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1", TypeSize: 4}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "index", TypeSize: 4}, ArgFormat: 1}},
+ }}},
+ {Key: StructKey{Name: "erspan_md1_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md1_msg", TypeSize: 12}, Fields: []Type{
&StructType{Key: StructKey{Name: "erspan_base_hdr[1]"}, FldName: "base"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 1},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "index", TypeSize: 4}, ArgFormat: 1}},
+ &StructType{Key: StructKey{Name: "erspan_md1"}, FldName: "payload"},
}}},
- {Key: StructKey{Name: "erspan_md2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2", TypeSize: 16}, Fields: []Type{
- &StructType{Key: StructKey{Name: "erspan_base_hdr[2]"}, FldName: "base"},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 2},
+ {Key: StructKey{Name: "erspan_md2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2", TypeSize: 8}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "timestamp", TypeSize: 4}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sgt", TypeSize: 2}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hwid_upper"}, BitfieldLen: 2, BitfieldUnit: 1}},
@@ -4037,6 +4038,11 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dir"}, BitfieldOff: 3, BitfieldLen: 1, BitfieldUnit: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hwid", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 1, BitfieldUnit: 1}},
}}},
+ {Key: StructKey{Name: "erspan_md2_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "erspan_md2_msg", TypeSize: 16}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "erspan_base_hdr[2]"}, FldName: "base"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 4}}, Val: 2},
+ &StructType{Key: StructKey{Name: "erspan_md2"}, FldName: "payload"},
+ }}},
{Key: StructKey{Name: "eth2_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsVarlen: true}, Fields: []Type{
&StructType{Key: StructKey{Name: "eth2_packet_generic"}, FldName: "generic"},
&StructType{Key: StructKey{Name: "eth2_packet_t[ETH_P_ARP, arp_packet]"}, FldName: "arp"},
@@ -7115,8 +7121,8 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "gre_packet_pptp"}, FldName: "pptp"},
&StructType{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IP, array[int8]]"}, FldName: "cisco_ipv4"},
&StructType{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IPV6, array[int8]]"}, FldName: "cisco_ipv6"},
- &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]"}, FldName: "erspan1"},
- &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]"}, FldName: "erspan2"},
+ &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]"}, FldName: "erspan1"},
+ &StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]"}, FldName: "erspan2"},
&StructType{Key: StructKey{Name: "gre_packet_erspan[ETH_P_TEB, array[int8]]"}, FldName: "teb"},
}}},
{Key: StructKey{Name: "gre_packet_cisco[ETH_P_IP, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_cisco[ETH_P_IP, array[int8]]", IsVarlen: true}, Fields: []Type{
@@ -7141,17 +7147,17 @@ var structDescs_ppc64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "add", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", TypeSize: 2}, ArgFormat: 1}}, Kind: 1, RangeEnd: 3},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}},
}}},
- {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]", TypeSize: 20}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, ArgFormat: 1}, Val: 35006},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "seq", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeEnd: 4},
- &StructType{Key: StructKey{Name: "erspan_md1"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "erspan_md1_msg"}, FldName: "payload"},
}}},
- {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]", TypeSize: 24}, Fields: []Type{
+ {Key: StructKey{Name: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]", TypeSize: 24}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "protocol", TypeSize: 2}, ArgFormat: 1}, Val: 8939},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "seq", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeEnd: 4},
- &StructType{Key: StructKey{Name: "erspan_md2"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "erspan_md2_msg"}, FldName: "payload"},
}}},
{Key: StructKey{Name: "gre_packet_erspan[ETH_P_TEB, array[int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "gre_packet_erspan[ETH_P_TEB, array[int8]]", IsVarlen: true}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "H", TypeSize: 2}}, Val: 8},
@@ -20126,10 +20132,10 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
&StructType{Key: StructKey{Name: "xfrm_algo_skcipher"}, FldName: "payload"},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]", TypeSize: 20}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[XFRMA_ENCAP, int16], xfrm_encap_tmpl]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_ENCAP, int16], xfrm_encap_tmpl]", TypeSize: 28}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
@@ -20223,22 +20229,22 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8},
&StructType{Key: StructKey{Name: "xfrm_user_sec_ctx"}, FldName: "payload"},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]", TypeSize: 8}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
- &StructType{Key: StructKey{Name: "xfrmu_spdhthresh4"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "xfrmu_spdhthresh[32]"}, FldName: "payload"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]", TypeSize: 8}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4},
- &StructType{Key: StructKey{Name: "xfrmu_spdhthresh6"}, FldName: "payload"},
+ &StructType{Key: StructKey{Name: "xfrmu_spdhthresh[128]"}, FldName: "payload"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}, AlignAttr: 4}},
- {Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]", TypeSize: 20}, Fields: []Type{
+ {Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]", TypeSize: 20}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "payload"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}},
@@ -22951,9 +22957,8 @@ var structDescs_ppc64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "args", TypeSize: 48, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
}}},
{Key: StructKey{Name: "seccomp_metadata"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_metadata", TypeSize: 16}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "filter_off", TypeSize: 8}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "filter_off", TypeSize: 8}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}},
}}},
{Key: StructKey{Name: "seccomp_notif", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "seccomp_notif", TypeSize: 80, ArgDir: 1}, Fields: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "seccomp_id", FldName: "id", TypeSize: 8, ArgDir: 1}},
@@ -24835,35 +24840,35 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_BASE, int16], tc_sizespec]"}, FldName: "TCA_STAB_BASE"},
&StructType{Key: StructKey{Name: "nlattr_t[const[TCA_STAB_DATA, int16], array[int16]]"}, FldName: "TCA_STAB_DATA"},
}}},
- {Key: StructKey{Name: "stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stat", TypeSize: 68, ArgDir: 1}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dev", TypeSize: 2, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ino", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "nlink", TypeSize: 2, ArgDir: 1}}},
- &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}},
- &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "rdev", TypeSize: 2, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "size", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blksize", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blocks", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "atime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ansec", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mtime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mnsec", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ctime", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cnsec", TypeSize: 4, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad1", TypeSize: 4, ArgDir: 1}}},
- &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pad2", TypeSize: 4, ArgDir: 1}}},
+ {Key: StructKey{Name: "stat", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "stat", TypeSize: 128, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_dev", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ino", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_mode", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_nlink", TypeSize: 4, ArgDir: 1}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "st_uid", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "st_gid", TypeSize: 4, ArgDir: 1}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_rdev", TypeSize: 8, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad1", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_size", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "st_blksize", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad2", TypeSize: 4, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_blocks", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_atime", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_atime_nsec", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_mtime", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_mtime_nsec", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ctime", TypeSize: 8, ArgDir: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "st_ctime_nsec", TypeSize: 8, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__unused4", TypeSize: 4, ArgDir: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__unused5", TypeSize: 4, ArgDir: 1}}},
}}},
{Key: StructKey{Name: "statx", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "statx", TypeSize: 256, ArgDir: 1}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "mask", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "blksize", TypeSize: 4, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "attributes", TypeSize: 8, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nlink", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uid", TypeSize: 4, ArgDir: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "gid", TypeSize: 4, ArgDir: 1}}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mode", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "__spare0", TypeSize: 2, ArgDir: 1}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ino", TypeSize: 8, ArgDir: 1}}},
@@ -29693,11 +29698,17 @@ var structDescs_ppc64le = []*KeyedStruct{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "userspace_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags_padding", TypeSize: 8}}},
}}},
- {Key: StructKey{Name: "vhost_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg", TypeSize: 104}, Fields: []Type{
+ {Key: StructKey{Name: "vhost_msg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg", TypeSize: 72}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
&StructType{Key: StructKey{Name: "vhost_iotlb_msg"}, FldName: "iotlb"},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "padding", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 8}}}, Kind: 1, RangeBegin: 8, RangeEnd: 8},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 32}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "vhost_msg_v2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_msg_v2", TypeSize: 72}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
+ &StructType{Key: StructKey{Name: "vhost_iotlb_msg"}, FldName: "iotlb"},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 32}}, IsPad: true},
}}},
{Key: StructKey{Name: "vhost_vring_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "vhost_vring_addr", TypeSize: 40}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "vhost_vring_index", FldName: "index", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30395,24 +30406,24 @@ var structDescs_ppc64le = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xdp_umem_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
}}},
- {Key: StructKey{Name: "xfrm_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address", TypeSize: 16}, Fields: []Type{
+ {Key: StructKey{Name: "xfrm_address_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_filter", TypeSize: 36}, Fields: []Type{
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "splen", TypeSize: 1}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dplen", TypeSize: 1}}},
+ }}},
+ {Key: StructKey{Name: "xfrm_address_t"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_t", TypeSize: 16}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "in"},
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "in6"},
}}},
- {Key: StructKey{Name: "xfrm_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ {Key: StructKey{Name: "xfrm_address_t", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_t", TypeSize: 16, ArgDir: 1}, Fields: []Type{
&UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "in"},
&UnionType{Key: StructKey{Name: "ipv6_addr", Dir: 1}, FldName: "in6"},
}}},
- {Key: StructKey{Name: "xfrm_address_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address_filter", TypeSize: 36}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
- &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "splen", TypeSize: 1}}},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dplen", TypeSize: 1}}},
- }}},
{Key: StructKey{Name: "xfrm_aevent_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_aevent_id", TypeSize: 48}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_usersa_id"}, FldName: "sa_id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
}}},
@@ -30452,8 +30463,8 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_AUTH, int16], xfrm_algo_hash]"}, FldName: "algo_auth"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_CRYPT, int16], xfrm_algo_skcipher]"}, FldName: "algo_crypt"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ALG_COMP, int16], xfrm_algo_compress]"}, FldName: "algo_comp"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address]"}, FldName: "srcaddr"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address]"}, FldName: "coaddr"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SRCADDR, int16], xfrm_address_t]"}, FldName: "srcaddr"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_COADDR, int16], xfrm_address_t]"}, FldName: "coaddr"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SA_EXTRA_FLAGS, int16], int32]"}, FldName: "extra_flags"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_TFCPAD, int16], int32]"}, FldName: "tfcpad"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_REPLAY_THRESH, int16], int32]"}, FldName: "replay_thresh"},
@@ -30472,15 +30483,15 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_MARK, int16], xfrm_mark]"}, FldName: "mark"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_PROTO, int16], flags[xfrm_proto, int8]]"}, FldName: "proto"},
&StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_ADDRESS_FILTER, int16], xfrm_address_filter]"}, FldName: "address_filter"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh4]"}, FldName: "ipv4_hthresh"},
- &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh6]"}, FldName: "ipv6_hthresh"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV4_HTHRESH, int16], xfrmu_spdhthresh[32]]"}, FldName: "ipv4_hthresh"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[XFRMA_SPD_IPV6_HTHRESH, int16], xfrmu_spdhthresh[128]]"}, FldName: "ipv6_hthresh"},
}}},
{Key: StructKey{Name: "xfrm_encap_tmpl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_encap_tmpl", TypeSize: 24}, Fields: []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_encap_type", FldName: "encap_type", TypeSize: 2}}, Vals: []uint64{18446744073709551613, 18446744073709551614, 18446744073709551615, 0, 1, 2, 3}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "encap_sport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "encap_dport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "encap_oa"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "encap_oa"},
}}},
{Key: StructKey{Name: "xfrm_filter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_filter", TypeSize: 232}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "info"},
@@ -30491,13 +30502,13 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_user_tmpl", Dir: 1}, FldName: "tmpl"},
}}},
{Key: StructKey{Name: "xfrm_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_id", TypeSize: 24}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
}}},
{Key: StructKey{Name: "xfrm_id", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_id", TypeSize: 24, ArgDir: 1}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
@@ -30553,8 +30564,8 @@ var structDescs_ppc64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bmp", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
}}},
{Key: StructKey{Name: "xfrm_selector"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_selector", TypeSize: 56}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport_mask", TypeSize: 2, IsOptional: true}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sport", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
@@ -30568,8 +30579,8 @@ var structDescs_ppc64le = []*KeyedStruct{
&ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "user", TypeSize: 4}},
}}},
{Key: StructKey{Name: "xfrm_selector", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_selector", TypeSize: 56, ArgDir: 1}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "dport_mask", TypeSize: 2, ArgDir: 1, IsOptional: true}, ArgFormat: 1}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sport", TypeSize: 2, ArgDir: 1}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004},
@@ -30589,7 +30600,7 @@ var structDescs_ppc64le = []*KeyedStruct{
}}},
{Key: StructKey{Name: "xfrm_user_acquire"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_acquire", TypeSize: 280}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&StructType{Key: StructKey{Name: "xfrm_selector"}, FldName: "sel"},
&StructType{Key: StructKey{Name: "xfrm_userpolicy_info"}, FldName: "policy"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "aalgos", TypeSize: 4}}},
@@ -30603,15 +30614,17 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true},
}}},
{Key: StructKey{Name: "xfrm_user_kmaddress"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_kmaddress", TypeSize: 40}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "local"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "remote"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "local"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "remote"},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
}}},
- {Key: StructKey{Name: "xfrm_user_migrate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_migrate", TypeSize: 44}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "old_daddr"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "new_saddr"},
+ {Key: StructKey{Name: "xfrm_user_migrate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_user_migrate", TypeSize: 76}, Fields: []Type{
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "old_daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "old_saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "new_daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "new_saddr"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}},
@@ -30646,7 +30659,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_policy_shares", FldName: "share", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30660,7 +30673,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "xfrm_id", Dir: 1}, FldName: "id"},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2, ArgDir: 1}}, Vals: []uint64{2, 10}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
- &UnionType{Key: StructKey{Name: "xfrm_address", Dir: 1}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t", Dir: 1}, FldName: "saddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reqid", TypeSize: 4, ArgDir: 1, IsOptional: true}}, Kind: 1, RangeBegin: 13567, RangeEnd: 13575},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_mode", FldName: "mode", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_policy_shares", FldName: "share", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3}},
@@ -30711,7 +30724,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
}}},
{Key: StructKey{Name: "xfrm_usersa_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_usersa_id", TypeSize: 24}, Fields: []Type{
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "daddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "daddr"},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "spi", TypeSize: 4}, ArgFormat: 1}, Kind: 1, RangeBegin: 1234, RangeEnd: 1238},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_family", FldName: "family", TypeSize: 2}}, Vals: []uint64{2, 10}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "xfrm_proto", FldName: "proto", TypeSize: 1}}, Vals: []uint64{51, 50, 108, 60, 43, 255}},
@@ -30720,7 +30733,7 @@ var structDescs_ppc64le = []*KeyedStruct{
{Key: StructKey{Name: "xfrm_usersa_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_usersa_info", TypeSize: 224}, Fields: []Type{
&StructType{Key: StructKey{Name: "xfrm_selector"}, FldName: "sel"},
&StructType{Key: StructKey{Name: "xfrm_id"}, FldName: "id"},
- &UnionType{Key: StructKey{Name: "xfrm_address"}, FldName: "saddr"},
+ &UnionType{Key: StructKey{Name: "xfrm_address_t"}, FldName: "saddr"},
&StructType{Key: StructKey{Name: "xfrm_lifetime_cfg"}, FldName: "lft"},
&StructType{Key: StructKey{Name: "xfrm_lifetime_cur"}, FldName: "curlft"},
&StructType{Key: StructKey{Name: "xfrm_stats"}, FldName: "stats"},
@@ -30737,13 +30750,13 @@ var structDescs_ppc64le = []*KeyedStruct{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min", TypeSize: 4}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max", TypeSize: 4}}},
}}},
- {Key: StructKey{Name: "xfrmu_spdhthresh4"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh4", TypeSize: 2}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1, RangeEnd: 32},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1, RangeEnd: 32},
+ {Key: StructKey{Name: "xfrmu_spdhthresh[128]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh[128]", TypeSize: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1},
}}},
- {Key: StructKey{Name: "xfrmu_spdhthresh6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh6", TypeSize: 2}, Fields: []Type{
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1, RangeEnd: 128},
- &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1, RangeEnd: 128},
+ {Key: StructKey{Name: "xfrmu_spdhthresh[32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrmu_spdhthresh[32]", TypeSize: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "lbits", TypeSize: 1}}, Kind: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rbits", TypeSize: 1}}, Kind: 1},
}}},
{Key: StructKey{Name: "xfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfs_options", IsVarlen: true}, Fields: []Type{
&BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "wsync", TypeSize: 5}, Kind: 2, Values: []string{"wsync"}, NoZ: true},
@@ -42051,6 +42064,12 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "req", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec"}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "rem", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "timespec", Dir: 1}}},
}},
+ {NR: 291, Name: "newfstatat", CallName: "newfstatat", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dfd", TypeSize: 8}}, Val: 18446744073709551516},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "statx_flags", FldName: "flag", TypeSize: 8}}, Vals: []uint64{256, 1024, 2048, 4096, 24576, 0, 8192, 16384}},
+ }},
{NR: 5, Name: "open", CallName: "open", Args: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 131072, 16384, 128, 65536, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true},
@@ -48859,11 +48878,16 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "vhci_command"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}},
}},
- {NR: 4, Name: "write$vnet", CallName: "write", Args: []Type{
+ {NR: 4, Name: "write$vhost_msg", CallName: "write", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "vhost_net", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vhost_msg"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"buf"}},
}},
+ {NR: 4, Name: "write$vhost_msg_v2", CallName: "write", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "vhost_net", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "vhost_msg_v2"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"buf"}},
+ }},
{NR: 146, Name: "writev", CallName: "writev", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}},
@@ -54192,6 +54216,7 @@ var consts_ppc64le = []ConstValue{
{Name: "SR6_FLAG1_OAM", Value: 32},
{Name: "SR6_FLAG1_PROTECTED", Value: 64},
{Name: "STARTTIMER", Value: 2},
+ {Name: "STAT64_SIZE", Value: 104},
{Name: "STATX_ALL", Value: 4095},
{Name: "STATX_ATIME", Value: 32},
{Name: "STATX_BASIC_STATS", Value: 2047},
@@ -56410,8 +56435,11 @@ var consts_ppc64le = []ConstValue{
{Name: "VHOST_IOTLB_INVALIDATE", Value: 3},
{Name: "VHOST_IOTLB_MISS", Value: 1},
{Name: "VHOST_IOTLB_MSG", Value: 1},
+ {Name: "VHOST_IOTLB_MSG_V2", Value: 2},
{Name: "VHOST_IOTLB_UPDATE", Value: 2},
{Name: "VHOST_LOG_ALL", Value: 67108864},
+ {Name: "VHOST_MSG_SIZE", Value: 72},
+ {Name: "VHOST_MSG_V2_SIZE", Value: 72},
{Name: "VHOST_NET_SET_BACKEND", Value: 2148052784},
{Name: "VHOST_NET_VIRTIO_NET_HDR", Value: 134217728},
{Name: "VHOST_RESET_OWNER", Value: 536915714},
@@ -57092,6 +57120,7 @@ var consts_ppc64le = []ConstValue{
{Name: "__NR_munmap", Value: 91},
{Name: "__NR_name_to_handle_at", Value: 345},
{Name: "__NR_nanosleep", Value: 162},
+ {Name: "__NR_newfstatat", Value: 291},
{Name: "__NR_open", Value: 5},
{Name: "__NR_open_by_handle_at", Value: 346},
{Name: "__NR_open_tree", Value: 428},
@@ -57244,4 +57273,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "df90f8700c0419dcc4f5ea420cd626abeb0e69b6"
+const revision_ppc64le = "17b465ac557047b44f5ba97c4e06a480d4b89026"
diff --git a/sys/linux/socket_netlink_xfrm.txt b/sys/linux/socket_netlink_xfrm.txt
index e11f4ee62..aac71aa30 100644
--- a/sys/linux/socket_netlink_xfrm.txt
+++ b/sys/linux/socket_netlink_xfrm.txt
@@ -49,7 +49,7 @@ netlink_msg_xfrm [
xfrm_usersa_info {
sel xfrm_selector
id xfrm_id
- saddr xfrm_address
+ saddr xfrm_address_t
lft xfrm_lifetime_cfg
curlft xfrm_lifetime_cur
stats xfrm_stats
@@ -62,7 +62,7 @@ xfrm_usersa_info {
}
xfrm_usersa_id {
- daddr xfrm_address
+ daddr xfrm_address_t
spi xfrm_spi
family flags[xfrm_family, int16]
proto flags[xfrm_proto, int8]
@@ -82,7 +82,7 @@ xfrm_userspi_info {
xfrm_user_acquire {
id xfrm_id
- saddr xfrm_address
+ saddr xfrm_address_t
sel xfrm_selector
policy xfrm_userpolicy_info
aalgos int32
@@ -112,7 +112,7 @@ xfrm_user_report {
xfrm_aevent_id {
sa_id xfrm_usersa_id
- saddr xfrm_address
+ saddr xfrm_address_t
flags int32
reqid xfrm_req_id
}
@@ -126,8 +126,8 @@ xfrm_attrs [
algo_auth nlattr[XFRMA_ALG_AUTH, xfrm_algo_hash]
algo_crypt nlattr[XFRMA_ALG_CRYPT, xfrm_algo_skcipher]
algo_comp nlattr[XFRMA_ALG_COMP, xfrm_algo_compress]
- srcaddr nlattr[XFRMA_SRCADDR, xfrm_address]
- coaddr nlattr[XFRMA_COADDR, xfrm_address]
+ srcaddr nlattr[XFRMA_SRCADDR, xfrm_address_t]
+ coaddr nlattr[XFRMA_COADDR, xfrm_address_t]
extra_flags nlattr[XFRMA_SA_EXTRA_FLAGS, int32]
tfcpad nlattr[XFRMA_TFCPAD, int32]
replay_thresh nlattr[XFRMA_REPLAY_THRESH, int32]
@@ -146,15 +146,15 @@ xfrm_attrs [
mark nlattr[XFRMA_MARK, xfrm_mark]
proto nlattr[XFRMA_PROTO, flags[xfrm_proto, int8]]
address_filter nlattr[XFRMA_ADDRESS_FILTER, xfrm_address_filter]
- ipv4_hthresh nlattr[XFRMA_SPD_IPV4_HTHRESH, xfrmu_spdhthresh4]
- ipv6_hthresh nlattr[XFRMA_SPD_IPV6_HTHRESH, xfrmu_spdhthresh6]
+ ipv4_hthresh nlattr[XFRMA_SPD_IPV4_HTHRESH, xfrmu_spdhthresh[32]]
+ ipv6_hthresh nlattr[XFRMA_SPD_IPV6_HTHRESH, xfrmu_spdhthresh[128]]
] [varlen]
xfrm_encap_tmpl {
encap_type flags[xfrm_encap_type, int16]
encap_sport sock_port
encap_dport sock_port
- encap_oa xfrm_address
+ encap_oa xfrm_address_t
}
xfrm_user_offload {
@@ -199,8 +199,10 @@ xfrm_userpolicy_type {
}
xfrm_user_migrate {
- old_daddr xfrm_address
- new_saddr xfrm_address
+ old_daddr xfrm_address_t
+ old_saddr xfrm_address_t
+ new_daddr xfrm_address_t
+ new_saddr xfrm_address_t
proto flags[xfrm_proto, int8]
mode flags[xfrm_mode, int8]
reserved const[0, int16]
@@ -210,8 +212,8 @@ xfrm_user_migrate {
}
xfrm_user_kmaddress {
- local xfrm_address
- remote xfrm_address
+ local xfrm_address_t
+ remote xfrm_address_t
reserved const[0, int32]
family flags[xfrm_family, int16]
}
@@ -222,26 +224,21 @@ xfrm_mark {
}
xfrm_address_filter {
- saddr xfrm_address
- daddr xfrm_address
+ saddr xfrm_address_t
+ daddr xfrm_address_t
family flags[xfrm_family, int16]
splen int8
dplen int8
}
-xfrmu_spdhthresh4 {
- lbits int8[0:32]
- rbits int8[0:32]
-}
-
-xfrmu_spdhthresh6 {
- lbits int8[0:128]
- rbits int8[0:128]
+type xfrmu_spdhthresh[BOUND] {
+ lbits int8[0:BOUND]
+ rbits int8[0:BOUND]
}
xfrm_selector {
- daddr xfrm_address
- saddr xfrm_address
+ daddr xfrm_address_t
+ saddr xfrm_address_t
dport sock_port
dport_mask int16be[opt]
sport sock_port
@@ -313,12 +310,12 @@ xfrm_algo_aead {
xfrm_algo_truncbits = 0, 64, 96, 128, 160, 192, 256, 384, 512
xfrm_id {
- daddr xfrm_address
+ daddr xfrm_address_t
spi xfrm_spi
proto flags[xfrm_proto, int8]
}
-xfrm_address [
+xfrm_address_t [
in ipv4_addr
in6 ipv6_addr
]
@@ -343,7 +340,7 @@ xfrm_userpolicy_info {
xfrm_user_tmpl {
id xfrm_id
family flags[xfrm_family, int16]
- saddr xfrm_address
+ saddr xfrm_address_t
reqid xfrm_req_id
mode flags[xfrm_mode, int8]
share flags[xfrm_policy_shares, int8]
diff --git a/sys/linux/socket_netlink_xfrm.txt.warn b/sys/linux/socket_netlink_xfrm.txt.warn
index 19fa5eeef..b1eae1c3c 100644
--- a/sys/linux/socket_netlink_xfrm.txt.warn
+++ b/sys/linux/socket_netlink_xfrm.txt.warn
@@ -1,16 +1 @@
-struct xfrm_user_migrate: bad number of fields: syz=8 kernel=10
-struct xfrm_user_migrate: bad size: syz=44 kernel=76
-field xfrm_user_migrate.proto/new_daddr: bad size: syz=1 kernel=16
-field xfrm_user_migrate.mode/new_saddr: bad offset: syz=33 kernel=48
-field xfrm_user_migrate.mode/new_saddr: bad size: syz=1 kernel=16
-field xfrm_user_migrate.reserved/proto: bad offset: syz=34 kernel=64
-field xfrm_user_migrate.reserved/proto: bad size: syz=2 kernel=1
-field xfrm_user_migrate.reqid/mode: bad offset: syz=36 kernel=65
-field xfrm_user_migrate.reqid/mode: bad size: syz=4 kernel=1
-field xfrm_user_migrate.old_family/reserved: bad offset: syz=40 kernel=66
-field xfrm_user_migrate.new_family/reqid: bad offset: syz=42 kernel=68
-field xfrm_user_migrate.new_family/reqid: bad size: syz=2 kernel=4
-struct xfrmu_spdhthresh4: no corresponding struct in kernel
-struct xfrmu_spdhthresh6: no corresponding struct in kernel
-struct xfrm_address: no corresponding struct in kernel
struct xfrm_filter: no corresponding struct in kernel
diff --git a/sys/linux/socket_vnet.txt b/sys/linux/socket_vnet.txt
index e27e5b20d..9e7e02fae 100644
--- a/sys/linux/socket_vnet.txt
+++ b/sys/linux/socket_vnet.txt
@@ -40,7 +40,8 @@ ioctl$VHOST_VSOCK_SET_GUEST_CID(fd vhost_vsock, cmd const[VHOST_VSOCK_SET_GUEST_
ioctl$VHOST_VSOCK_SET_RUNNING(fd vhost_vsock, cmd const[VHOST_VSOCK_SET_RUNNING], arg ptr[in, bool32])
openat$vnet(fd const[AT_FDCWD], file ptr[in, string["/dev/vhost-net"]], flags const[O_RDWR], mode const[0]) vhost_net
-write$vnet(fd vhost_net, buf ptr[in, vhost_msg], size len[buf])
+write$vhost_msg(fd vhost_net, buf ptr[in, vhost_msg], size len[buf])
+write$vhost_msg_v2(fd vhost_net, buf ptr[in, vhost_msg_v2], size len[buf])
ioctl$VHOST_NET_SET_BACKEND(fd vhost_net, cmd const[VHOST_NET_SET_BACKEND], arg ptr[in, vhost_vring_file])
ioctl$VHOST_GET_FEATURES(fd fd_vhost, cmd const[VHOST_GET_FEATURES], arg ptr[out, int64])
@@ -117,8 +118,17 @@ vhost_vring_file {
vhost_msg {
type const[VHOST_IOTLB_MSG, int32]
iotlb vhost_iotlb_msg
- padding array[const[0, int64], 8]
-}
+} [size[VHOST_MSG_SIZE]]
+
+define VHOST_MSG_SIZE sizeof(struct vhost_msg)
+
+vhost_msg_v2 {
+ type const[VHOST_IOTLB_MSG_V2, int32]
+ reserved const[0, int32]
+ iotlb vhost_iotlb_msg
+} [size[VHOST_MSG_SIZE]]
+
+define VHOST_MSG_V2_SIZE sizeof(struct vhost_msg_v2)
vhost_iotlb_msg {
# TODO: is it host or guest address?
diff --git a/sys/linux/socket_vnet.txt.warn b/sys/linux/socket_vnet.txt.warn
index 4ed09c7e2..ec6a53a7d 100644
--- a/sys/linux/socket_vnet.txt.warn
+++ b/sys/linux/socket_vnet.txt.warn
@@ -1,5 +1,4 @@
struct vmaddr_cid: no corresponding struct in kernel
struct vmaddr_cid64: no corresponding struct in kernel
-struct vhost_msg: bad number of fields: syz=3 kernel=2
-struct vhost_msg: bad size: syz=104 kernel=72
field vhost_msg.iotlb/: bad size: syz=32 kernel=64
+field vhost_msg_v2.iotlb/: bad size: syz=32 kernel=64
diff --git a/sys/linux/socket_vnet_386.const b/sys/linux/socket_vnet_386.const
index 8ef6d24d9..9a1f5ddba 100644
--- a/sys/linux/socket_vnet_386.const
+++ b/sys/linux/socket_vnet_386.const
@@ -18,8 +18,11 @@ VHOST_IOTLB_ACCESS_FAIL = 4
VHOST_IOTLB_INVALIDATE = 3
VHOST_IOTLB_MISS = 1
VHOST_IOTLB_MSG = 1
+VHOST_IOTLB_MSG_V2 = 2
VHOST_IOTLB_UPDATE = 2
VHOST_LOG_ALL = 67108864
+VHOST_MSG_SIZE = 68
+VHOST_MSG_V2_SIZE = 72
VHOST_NET_SET_BACKEND = 1074310960
VHOST_NET_VIRTIO_NET_HDR = 134217728
VHOST_RESET_OWNER = 44802
diff --git a/sys/linux/socket_vnet_amd64.const b/sys/linux/socket_vnet_amd64.const
index 1658c9d13..74e364d73 100644
--- a/sys/linux/socket_vnet_amd64.const
+++ b/sys/linux/socket_vnet_amd64.const
@@ -18,8 +18,11 @@ VHOST_IOTLB_ACCESS_FAIL = 4
VHOST_IOTLB_INVALIDATE = 3
VHOST_IOTLB_MISS = 1
VHOST_IOTLB_MSG = 1
+VHOST_IOTLB_MSG_V2 = 2
VHOST_IOTLB_UPDATE = 2
VHOST_LOG_ALL = 67108864
+VHOST_MSG_SIZE = 72
+VHOST_MSG_V2_SIZE = 72
VHOST_NET_SET_BACKEND = 1074310960
VHOST_NET_VIRTIO_NET_HDR = 134217728
VHOST_RESET_OWNER = 44802
diff --git a/sys/linux/socket_vnet_arm.const b/sys/linux/socket_vnet_arm.const
index 522d0f7b2..b1091ca9e 100644
--- a/sys/linux/socket_vnet_arm.const
+++ b/sys/linux/socket_vnet_arm.const
@@ -18,8 +18,11 @@ VHOST_IOTLB_ACCESS_FAIL = 4
VHOST_IOTLB_INVALIDATE = 3
VHOST_IOTLB_MISS = 1
VHOST_IOTLB_MSG = 1
+VHOST_IOTLB_MSG_V2 = 2
VHOST_IOTLB_UPDATE = 2
VHOST_LOG_ALL = 67108864
+VHOST_MSG_SIZE = 72
+VHOST_MSG_V2_SIZE = 72
VHOST_NET_SET_BACKEND = 1074310960
VHOST_NET_VIRTIO_NET_HDR = 134217728
VHOST_RESET_OWNER = 44802
diff --git a/sys/linux/socket_vnet_arm64.const b/sys/linux/socket_vnet_arm64.const
index 9bb100136..42f0d860a 100644
--- a/sys/linux/socket_vnet_arm64.const
+++ b/sys/linux/socket_vnet_arm64.const
@@ -18,8 +18,11 @@ VHOST_IOTLB_ACCESS_FAIL = 4
VHOST_IOTLB_INVALIDATE = 3
VHOST_IOTLB_MISS = 1
VHOST_IOTLB_MSG = 1
+VHOST_IOTLB_MSG_V2 = 2
VHOST_IOTLB_UPDATE = 2
VHOST_LOG_ALL = 67108864
+VHOST_MSG_SIZE = 72
+VHOST_MSG_V2_SIZE = 72
VHOST_NET_SET_BACKEND = 1074310960
VHOST_NET_VIRTIO_NET_HDR = 134217728
VHOST_RESET_OWNER = 44802
diff --git a/sys/linux/socket_vnet_mips64le.const b/sys/linux/socket_vnet_mips64le.const
index 51a09dbb9..f1f39dc81 100644
--- a/sys/linux/socket_vnet_mips64le.const
+++ b/sys/linux/socket_vnet_mips64le.const
@@ -18,8 +18,11 @@ VHOST_IOTLB_ACCESS_FAIL = 4
VHOST_IOTLB_INVALIDATE = 3
VHOST_IOTLB_MISS = 1
VHOST_IOTLB_MSG = 1
+VHOST_IOTLB_MSG_V2 = 2
VHOST_IOTLB_UPDATE = 2
VHOST_LOG_ALL = 67108864
+VHOST_MSG_SIZE = 72
+VHOST_MSG_V2_SIZE = 72
VHOST_NET_SET_BACKEND = 2148052784
VHOST_NET_VIRTIO_NET_HDR = 134217728
VHOST_RESET_OWNER = 536915714
diff --git a/sys/linux/socket_vnet_ppc64le.const b/sys/linux/socket_vnet_ppc64le.const
index 7c954b9ad..7d63f33f9 100644
--- a/sys/linux/socket_vnet_ppc64le.const
+++ b/sys/linux/socket_vnet_ppc64le.const
@@ -18,8 +18,11 @@ VHOST_IOTLB_ACCESS_FAIL = 4
VHOST_IOTLB_INVALIDATE = 3
VHOST_IOTLB_MISS = 1
VHOST_IOTLB_MSG = 1
+VHOST_IOTLB_MSG_V2 = 2
VHOST_IOTLB_UPDATE = 2
VHOST_LOG_ALL = 67108864
+VHOST_MSG_SIZE = 72
+VHOST_MSG_V2_SIZE = 72
VHOST_NET_SET_BACKEND = 2148052784
VHOST_NET_VIRTIO_NET_HDR = 134217728
VHOST_RESET_OWNER = 536915714
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt
index 4269cc508..d1639a3c0 100644
--- a/sys/linux/sys.txt
+++ b/sys/linux/sys.txt
@@ -106,9 +106,14 @@ sendfile(fdout fd, fdin fd, off ptr[inout, fileoff[intptr], opt], count intptr)
sendfile64(fdout fd, fdin fd, off ptr[inout, fileoff[int64], opt], count intptr)
stat(file ptr[in, filename], statbuf ptr[out, stat])
-statx(fd fd_dir, file ptr[in, filename], flags flags[statx_flags], mask flags[statx_mask], statxbuf ptr[out, statx])
lstat(file ptr[in, filename], statbuf ptr[out, stat])
fstat(fd fd, statbuf ptr[out, stat])
+newfstatat(dfd const[AT_FDCWD], file ptr[in, filename], statbuf ptr[out, stat], flag flags[statx_flags])
+stat64(file ptr[in, filename], statbuf ptr[out, stat64])
+lstat64(file ptr[in, filename], statbuf ptr[out, stat64])
+fstat64(fd fd, statbuf ptr[out, stat64])
+fstatat64(dfd const[AT_FDCWD], file ptr[in, filename], statbuf ptr[out, stat64], flag flags[statx_flags])
+statx(fd fd_dir, file ptr[in, filename], flags flags[statx_flags], mask flags[statx_mask], statxbuf ptr[out, statx])
poll(fds ptr[in, array[pollfd]], nfds len[fds], timeout int32)
ppoll(fds ptr[in, array[pollfd]], nfds len[fds], tsp ptr[in, timespec], sigmask ptr[in, sigset], size len[sigmask])
@@ -221,8 +226,8 @@ ptrace$PTRACE_SECCOMP_GET_FILTER(req const[PTRACE_SECCOMP_GET_FILTER], pid pid,
ptrace$PTRACE_SECCOMP_GET_METADATA(req const[PTRACE_SECCOMP_GET_METADATA], pid pid, addr len[data], data ptr[in, seccomp_metadata])
seccomp_metadata {
- filter_off intptr
- flags const[0, int32]
+ filter_off int64
+ flags const[0, int64]
}
ptrace_peeksiginfo_args {
@@ -539,24 +544,26 @@ type iovec_in iovec[in, array[int8]]
type iovec_out iovec[out, array[int8]]
stat {
- dev int16
- ino int32
- mode int16
- nlink int16
- uid uid
- gid gid
- rdev int16
- size int32
- blksize int32
- blocks int32
- atime int32
- ansec int32
- mtime int32
- mnsec int32
- ctime int32
- cnsec int32
- pad1 const[0, int32]
- pad2 const[0, int32]
+ st_dev intptr
+ st_ino intptr
+ st_mode int32
+ st_nlink int32
+ st_uid uid
+ st_gid gid
+ st_rdev intptr
+ __pad1 const[0, intptr]
+ st_size intptr
+ st_blksize int32
+ __pad2 const[0, int32]
+ st_blocks intptr
+ st_atime intptr
+ st_atime_nsec intptr
+ st_mtime intptr
+ st_mtime_nsec intptr
+ st_ctime intptr
+ st_ctime_nsec intptr
+ __unused4 const[0, int32]
+ __unused5 const[0, int32]
}
statx {
@@ -564,8 +571,8 @@ statx {
blksize int32
attributes int64
nlink int32
- uid int32
- gid int32
+ uid uid
+ gid gid
mode int16
__spare0 int16
ino int64
@@ -583,6 +590,10 @@ statx {
__spare2 array[int64, 14]
}
+define STAT64_SIZE sizeof(struct stat64)
+
+type stat64 array[int8, STAT64_SIZE]
+
pollfd {
fd fd
events flags[pollfd_events, int16]
diff --git a/sys/linux/sys.txt.warn b/sys/linux/sys.txt.warn
index 2b2973458..0ca017f78 100644
--- a/sys/linux/sys.txt.warn
+++ b/sys/linux/sys.txt.warn
@@ -1,43 +1,33 @@
unsupported syscall: sendfile64 due to missing const __NR_sendfile64
-field seccomp_metadata.flags: bad size: syz=4 kernel=8
+unsupported syscall: stat64 due to missing const __NR_stat64
+unsupported syscall: lstat64 due to missing const __NR_lstat64
+unsupported syscall: fstat64 due to missing const __NR_fstat64
+unsupported syscall: fstatat64 due to missing const __NR_fstatat64
struct pipefd: no corresponding struct in kernel
-struct stat: bad size: syz=68 kernel=144
-field stat.dev/st_dev: bad size: syz=2 kernel=8
-field stat.ino/st_ino: bad offset: syz=4 kernel=8
-field stat.ino/st_ino: bad size: syz=4 kernel=8
-field stat.mode/st_nlink: bad offset: syz=8 kernel=16
-field stat.mode/st_nlink: bad size: syz=2 kernel=8
-field stat.nlink/st_mode: bad offset: syz=10 kernel=24
-field stat.nlink/st_mode: bad size: syz=2 kernel=4
-field stat.uid/st_uid: bad offset: syz=12 kernel=28
-field stat.gid/st_gid: bad offset: syz=16 kernel=32
-field stat.rdev/__pad0: bad offset: syz=20 kernel=36
-field stat.rdev/__pad0: bad size: syz=2 kernel=4
-field stat.size/st_rdev: bad offset: syz=24 kernel=40
-field stat.size/st_rdev: bad size: syz=4 kernel=8
-field stat.blksize/st_size: bad offset: syz=28 kernel=48
-field stat.blksize/st_size: bad size: syz=4 kernel=8
-field stat.blocks/st_blksize: bad offset: syz=32 kernel=56
-field stat.blocks/st_blksize: bad size: syz=4 kernel=8
-field stat.atime/st_blocks: bad offset: syz=36 kernel=64
-field stat.atime/st_blocks: bad size: syz=4 kernel=8
-field stat.ansec/st_atime: bad offset: syz=40 kernel=72
-field stat.ansec/st_atime: bad size: syz=4 kernel=8
-field stat.mtime/st_atime_nsec: bad offset: syz=44 kernel=80
-field stat.mtime/st_atime_nsec: bad size: syz=4 kernel=8
-field stat.mnsec/st_mtime: bad offset: syz=48 kernel=88
-field stat.mnsec/st_mtime: bad size: syz=4 kernel=8
-field stat.ctime/st_mtime_nsec: bad offset: syz=52 kernel=96
-field stat.ctime/st_mtime_nsec: bad size: syz=4 kernel=8
-field stat.cnsec/st_ctime: bad offset: syz=56 kernel=104
-field stat.cnsec/st_ctime: bad size: syz=4 kernel=8
-field stat.pad1/st_ctime_nsec: bad offset: syz=60 kernel=112
-field stat.pad1/st_ctime_nsec: bad size: syz=4 kernel=8
-field stat.pad2/__unused: bad offset: syz=64 kernel=120
-field stat.pad2/__unused: bad size: syz=4 kernel=24
+struct stat: bad number of fields: syz=20 kernel=18
+struct stat: bad size: syz=128 kernel=144
+field stat.st_mode/st_nlink: bad size: syz=4 kernel=8
+field stat.st_nlink/st_mode: bad offset: syz=20 kernel=24
+field stat.st_uid: bad offset: syz=24 kernel=28
+field stat.st_gid: bad offset: syz=28 kernel=32
+field stat.st_rdev/__pad0: bad offset: syz=32 kernel=36
+field stat.st_rdev/__pad0: bad size: syz=8 kernel=4
+field stat.st_blksize: bad size: syz=4 kernel=8
+field stat.__pad2/st_blocks: bad offset: syz=60 kernel=64
+field stat.__pad2/st_blocks: bad size: syz=4 kernel=8
+field stat.st_blocks/st_atime: bad offset: syz=64 kernel=72
+field stat.st_atime/st_atime_nsec: bad offset: syz=72 kernel=80
+field stat.st_atime_nsec/st_mtime: bad offset: syz=80 kernel=88
+field stat.st_mtime/st_mtime_nsec: bad offset: syz=88 kernel=96
+field stat.st_mtime_nsec/st_ctime: bad offset: syz=96 kernel=104
+field stat.st_ctime/st_ctime_nsec: bad offset: syz=104 kernel=112
+field stat.st_ctime_nsec/__unused: bad offset: syz=112 kernel=120
+field stat.st_ctime_nsec/__unused: bad size: syz=8 kernel=24
+unsupported type: stat64 due to missing const STAT64_SIZE
struct sigset: no corresponding struct in kernel
struct sigset_size: no corresponding struct in kernel
struct itimerspec: no corresponding struct in kernel
+struct itimerval: no corresponding struct in kernel
field sigevent.u/_sigev_un: bad size: syz=16 kernel=48
struct sigevent_u: no corresponding struct in kernel
struct sigevent_thread: no corresponding struct in kernel
diff --git a/sys/linux/sys_386.const b/sys/linux/sys_386.const
index 27d27b70d..f15ff18fc 100644
--- a/sys/linux/sys_386.const
+++ b/sys/linux/sys_386.const
@@ -472,6 +472,7 @@ SPLICE_F_GIFT = 8
SPLICE_F_MORE = 4
SPLICE_F_MOVE = 1
SPLICE_F_NONBLOCK = 2
+STAT64_SIZE = 96
STATX_ALL = 4095
STATX_ATIME = 32
STATX_BASIC_STATS = 2047
@@ -592,6 +593,8 @@ __NR_fdatasync = 148
__NR_finit_module = 350
__NR_flock = 143
__NR_fstat = 108
+__NR_fstat64 = 197
+__NR_fstatat64 = 300
__NR_fstatfs = 100
__NR_fsync = 118
__NR_ftruncate = 93
@@ -633,6 +636,7 @@ __NR_linkat = 303
__NR_lookup_dcookie = 253
__NR_lseek = 19
__NR_lstat = 107
+__NR_lstat64 = 196
__NR_madvise = 219
__NR_mbind = 274
__NR_membarrier = 375
@@ -664,6 +668,7 @@ __NR_munlockall = 153
__NR_munmap = 91
__NR_name_to_handle_at = 341
__NR_nanosleep = 162
+# __NR_newfstatat is not set
__NR_open = 5
__NR_open_by_handle_at = 342
__NR_openat = 295
@@ -744,6 +749,7 @@ __NR_signalfd = 321
__NR_signalfd4 = 327
__NR_splice = 313
__NR_stat = 106
+__NR_stat64 = 195
__NR_statfs = 99
__NR_statx = 383
__NR_symlink = 83
diff --git a/sys/linux/sys_amd64.const b/sys/linux/sys_amd64.const
index 8b163b264..46518bafd 100644
--- a/sys/linux/sys_amd64.const
+++ b/sys/linux/sys_amd64.const
@@ -472,6 +472,7 @@ SPLICE_F_GIFT = 8
SPLICE_F_MORE = 4
SPLICE_F_MOVE = 1
SPLICE_F_NONBLOCK = 2
+# STAT64_SIZE is not set
STATX_ALL = 4095
STATX_ATIME = 32
STATX_BASIC_STATS = 2047
@@ -592,6 +593,8 @@ __NR_fdatasync = 75
__NR_finit_module = 313
__NR_flock = 73
__NR_fstat = 5
+# __NR_fstat64 is not set
+# __NR_fstatat64 is not set
__NR_fstatfs = 138
__NR_fsync = 74
__NR_ftruncate = 77
@@ -633,6 +636,7 @@ __NR_linkat = 265
__NR_lookup_dcookie = 212
__NR_lseek = 8
__NR_lstat = 6
+# __NR_lstat64 is not set
__NR_madvise = 28
__NR_mbind = 237
__NR_membarrier = 324
@@ -664,6 +668,7 @@ __NR_munlockall = 152
__NR_munmap = 11
__NR_name_to_handle_at = 303
__NR_nanosleep = 35
+__NR_newfstatat = 262
__NR_open = 2
__NR_open_by_handle_at = 304
__NR_openat = 257
@@ -744,6 +749,7 @@ __NR_signalfd = 282
__NR_signalfd4 = 289
__NR_splice = 275
__NR_stat = 4
+# __NR_stat64 is not set
__NR_statfs = 137
__NR_statx = 332
__NR_symlink = 88
diff --git a/sys/linux/sys_arm.const b/sys/linux/sys_arm.const
index 190ac061c..125c24f2c 100644
--- a/sys/linux/sys_arm.const
+++ b/sys/linux/sys_arm.const
@@ -472,6 +472,7 @@ SPLICE_F_GIFT = 8
SPLICE_F_MORE = 4
SPLICE_F_MOVE = 1
SPLICE_F_NONBLOCK = 2
+STAT64_SIZE = 104
STATX_ALL = 4095
STATX_ATIME = 32
STATX_BASIC_STATS = 2047
@@ -592,6 +593,8 @@ __NR_fdatasync = 148
__NR_finit_module = 379
__NR_flock = 143
__NR_fstat = 108
+__NR_fstat64 = 197
+__NR_fstatat64 = 327
__NR_fstatfs = 100
__NR_fsync = 118
__NR_ftruncate = 93
@@ -633,6 +636,7 @@ __NR_linkat = 330
__NR_lookup_dcookie = 249
__NR_lseek = 19
__NR_lstat = 107
+__NR_lstat64 = 196
__NR_madvise = 220
__NR_mbind = 319
__NR_membarrier = 389
@@ -664,6 +668,7 @@ __NR_munlockall = 153
__NR_munmap = 91
__NR_name_to_handle_at = 370
__NR_nanosleep = 162
+# __NR_newfstatat is not set
__NR_open = 5
__NR_open_by_handle_at = 371
__NR_openat = 322
@@ -744,6 +749,7 @@ __NR_signalfd = 349
__NR_signalfd4 = 355
__NR_splice = 340
__NR_stat = 106
+__NR_stat64 = 195
__NR_statfs = 99
__NR_statx = 397
__NR_symlink = 83
diff --git a/sys/linux/sys_arm64.const b/sys/linux/sys_arm64.const
index b58a0dcd8..64f0dcfb2 100644
--- a/sys/linux/sys_arm64.const
+++ b/sys/linux/sys_arm64.const
@@ -472,6 +472,7 @@ SPLICE_F_GIFT = 8
SPLICE_F_MORE = 4
SPLICE_F_MOVE = 1
SPLICE_F_NONBLOCK = 2
+STAT64_SIZE = 104
STATX_ALL = 4095
STATX_ATIME = 32
STATX_BASIC_STATS = 2047
@@ -592,6 +593,8 @@ __NR_fdatasync = 83
__NR_finit_module = 273
__NR_flock = 32
__NR_fstat = 80
+# __NR_fstat64 is not set
+# __NR_fstatat64 is not set
__NR_fstatfs = 44
__NR_fsync = 82
__NR_ftruncate = 46
@@ -633,6 +636,7 @@ __NR_linkat = 37
__NR_lookup_dcookie = 18
__NR_lseek = 62
# __NR_lstat is not set
+# __NR_lstat64 is not set
__NR_madvise = 233
__NR_mbind = 235
__NR_membarrier = 283
@@ -664,6 +668,7 @@ __NR_munlockall = 231
__NR_munmap = 215
__NR_name_to_handle_at = 264
__NR_nanosleep = 101
+__NR_newfstatat = 79
# __NR_open is not set
__NR_open_by_handle_at = 265
__NR_openat = 56
@@ -744,6 +749,7 @@ __NR_sigaltstack = 132
__NR_signalfd4 = 74
__NR_splice = 76
# __NR_stat is not set
+# __NR_stat64 is not set
__NR_statfs = 43
__NR_statx = 291
# __NR_symlink is not set
diff --git a/sys/linux/sys_mips64le.const b/sys/linux/sys_mips64le.const
index 9bbecbc00..984de9dea 100644
--- a/sys/linux/sys_mips64le.const
+++ b/sys/linux/sys_mips64le.const
@@ -472,6 +472,7 @@ SPLICE_F_GIFT = 8
SPLICE_F_MORE = 4
SPLICE_F_MOVE = 1
SPLICE_F_NONBLOCK = 2
+# STAT64_SIZE is not set
STATX_ALL = 4095
STATX_ATIME = 32
STATX_BASIC_STATS = 2047
@@ -592,6 +593,8 @@ __NR_fdatasync = 5073
__NR_finit_module = 5307
__NR_flock = 5071
__NR_fstat = 5005
+# __NR_fstat64 is not set
+# __NR_fstatat64 is not set
__NR_fstatfs = 5135
__NR_fsync = 5072
__NR_ftruncate = 5075
@@ -633,6 +636,7 @@ __NR_linkat = 5255
__NR_lookup_dcookie = 5206
__NR_lseek = 5008
__NR_lstat = 5006
+# __NR_lstat64 is not set
__NR_madvise = 5027
__NR_mbind = 5227
__NR_membarrier = 5318
@@ -664,6 +668,7 @@ __NR_munlockall = 5149
__NR_munmap = 5011
__NR_name_to_handle_at = 5298
__NR_nanosleep = 5034
+__NR_newfstatat = 5252
__NR_open = 5002
__NR_open_by_handle_at = 5299
__NR_openat = 5247
@@ -744,6 +749,7 @@ __NR_signalfd = 5276
__NR_signalfd4 = 5283
__NR_splice = 5263
__NR_stat = 5004
+# __NR_stat64 is not set
__NR_statfs = 5134
__NR_statx = 5326
__NR_symlink = 5086
diff --git a/sys/linux/sys_ppc64le.const b/sys/linux/sys_ppc64le.const
index 69e336cd3..084a53a66 100644
--- a/sys/linux/sys_ppc64le.const
+++ b/sys/linux/sys_ppc64le.const
@@ -472,6 +472,7 @@ SPLICE_F_GIFT = 8
SPLICE_F_MORE = 4
SPLICE_F_MOVE = 1
SPLICE_F_NONBLOCK = 2
+STAT64_SIZE = 104
STATX_ALL = 4095
STATX_ATIME = 32
STATX_BASIC_STATS = 2047
@@ -592,6 +593,8 @@ __NR_fdatasync = 148
__NR_finit_module = 353
__NR_flock = 143
__NR_fstat = 108
+# __NR_fstat64 is not set
+# __NR_fstatat64 is not set
__NR_fstatfs = 100
__NR_fsync = 118
__NR_ftruncate = 93
@@ -633,6 +636,7 @@ __NR_linkat = 294
__NR_lookup_dcookie = 235
__NR_lseek = 19
__NR_lstat = 107
+# __NR_lstat64 is not set
__NR_madvise = 205
__NR_mbind = 259
__NR_membarrier = 365
@@ -664,6 +668,7 @@ __NR_munlockall = 153
__NR_munmap = 91
__NR_name_to_handle_at = 345
__NR_nanosleep = 162
+__NR_newfstatat = 291
__NR_open = 5
__NR_open_by_handle_at = 346
__NR_openat = 286
@@ -744,6 +749,7 @@ __NR_signalfd = 305
__NR_signalfd4 = 313
__NR_splice = 283
__NR_stat = 106
+# __NR_stat64 is not set
__NR_statfs = 99
__NR_statx = 383
__NR_symlink = 83
diff --git a/sys/linux/vnet.txt b/sys/linux/vnet.txt
index b0038ff92..43bb9766b 100644
--- a/sys/linux/vnet.txt
+++ b/sys/linux/vnet.txt
@@ -913,8 +913,8 @@ gre_packet {
# ipv4 -> gre -> ipv4 -> ...
cisco_ipv4 gre_packet_cisco[ETH_P_IP, array[int8]]
cisco_ipv6 gre_packet_cisco[ETH_P_IPV6, array[int8]]
- erspan1 gre_packet_erspan[ETH_P_ERSPAN, erspan_md1]
- erspan2 gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2]
+ erspan1 gre_packet_erspan[ETH_P_ERSPAN, erspan_md1_msg]
+ erspan2 gre_packet_erspan[ETH_P_ERSPAN2, erspan_md2_msg]
teb gre_packet_erspan[ETH_P_TEB, array[int8]]
} [packed]
@@ -976,14 +976,16 @@ type erspan_base_hdr[VER] {
} [packed]
erspan_md1 {
- base erspan_base_hdr[1]
- version const[1, int32]
index int32be
} [packed]
+erspan_md1_msg {
+ base erspan_base_hdr[1]
+ version const[1, int32]
+ payload erspan_md1
+}
+
erspan_md2 {
- base erspan_base_hdr[2]
- version const[2, int32]
timestamp int32be
sgt int16be
hwid_upper int8:2
@@ -995,6 +997,12 @@ erspan_md2 {
hwid int8:1
} [packed]
+erspan_md2_msg {
+ base erspan_base_hdr[2]
+ version const[2, int32]
+ payload erspan_md2
+}
+
################################################################################
###################################### ICMP ####################################
################################################################################
diff --git a/sys/linux/vnet.txt.warn b/sys/linux/vnet.txt.warn
index e5f364970..7142879b3 100644
--- a/sys/linux/vnet.txt.warn
+++ b/sys/linux/vnet.txt.warn
@@ -36,25 +36,9 @@ struct tcp_timestamp_option: no corresponding struct in kernel
struct tcp_md5sig_option: no corresponding struct in kernel
struct tcp_exp_smc_option: no corresponding struct in kernel
struct erspan_md1: no corresponding struct in kernel
-struct erspan_md2: bad number of fields: syz=11 kernel=9
-struct erspan_md2: bad size: syz=16 kernel=8
-field erspan_md2.version/sgt: bad size: syz=4 kernel=2
-field erspan_md2.timestamp/hwid_upper: bad bit size/offset: syz=0/0 kernel=2/0
-field erspan_md2.timestamp/hwid_upper: bad offset: syz=8 kernel=6
-field erspan_md2.timestamp/hwid_upper: bad size: syz=4 kernel=1
-field erspan_md2.sgt/ft: bad bit size/offset: syz=0/0 kernel=5/2
-field erspan_md2.sgt/ft: bad offset: syz=12 kernel=6
-field erspan_md2.sgt/ft: bad size: syz=2 kernel=1
-field erspan_md2.hwid_upper/p: bad bit size/offset: syz=2/0 kernel=1/7
-field erspan_md2.hwid_upper/p: bad offset: syz=14 kernel=6
-field erspan_md2.ft/o: bad bit size/offset: syz=5/2 kernel=1/0
-field erspan_md2.ft/o: bad offset: syz=14 kernel=7
-field erspan_md2.p/gra: bad bit size/offset: syz=1/7 kernel=2/1
-field erspan_md2.p/gra: bad offset: syz=14 kernel=7
-field erspan_md2.o/dir: bad bit size/offset: syz=1/0 kernel=1/3
-field erspan_md2.o/dir: bad offset: syz=15 kernel=7
-field erspan_md2.gra/hwid: bad bit size/offset: syz=2/1 kernel=4/4
-field erspan_md2.gra/hwid: bad offset: syz=15 kernel=7
+struct erspan_md1_msg: no corresponding struct in kernel
+field erspan_md2.hwid: bad bit size/offset: syz=1/4 kernel=4/4
+struct erspan_md2_msg: no corresponding struct in kernel
struct icmp_timestamp_packet: no corresponding struct in kernel
struct icmp_timestamp_reply_packet: no corresponding struct in kernel
struct icmp_info_request_packet: no corresponding struct in kernel