aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/gen
diff options
context:
space:
mode:
Diffstat (limited to 'sys/linux/gen')
-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
6 files changed, 720 insertions, 516 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"