diff options
| author | Bins94 <kaipeng94@gmail.com> | 2019-05-20 05:50:03 -0400 |
|---|---|---|
| committer | Andrey Konovalov <andreyknvl@gmail.com> | 2019-06-03 18:43:52 +0200 |
| commit | 816587a771077c84b6c06ca93cc94fd656859b58 (patch) | |
| tree | 25866837a9ecfadf4a92651928e997de10a4c26b /sys/linux | |
| parent | 63bf051fc1ccc110060be8490f4f5492b0a78766 (diff) | |
sys/linux: update descriptions of sendmsg/sendmmsg
Add sendmsg$inet, sendmmsg$inet for ip_cmsg_send.
Add sendmsg$inet6, sendmmsg$inet6 for ip6_datagram_send_ctl
Diffstat (limited to 'sys/linux')
27 files changed, 1523 insertions, 73 deletions
diff --git a/sys/linux/dev_binder_386.const b/sys/linux/dev_binder_386.const index 82dbb6e06..d04efbada 100644 --- a/sys/linux/dev_binder_386.const +++ b/sys/linux/dev_binder_386.const @@ -32,8 +32,10 @@ BINDER_TYPE_WEAK_HANDLE = 2003315333 BINDER_WRITE_READ = 3224396289 FLAT_BINDER_FLAG_ACCEPTS_FDS = 256 FLAT_BINDER_FLAG_TXN_SECURITY_CTX = 4096 +# MAP_SHARED is not set O_NONBLOCK = 2048 O_RDWR = 2 +# PROT_READ is not set TF_ACCEPT_FDS = 16 TF_ONE_WAY = 1 __NR_ioctl = 54 diff --git a/sys/linux/dev_binder_amd64.const b/sys/linux/dev_binder_amd64.const index b1fec58fc..f808d9f2b 100644 --- a/sys/linux/dev_binder_amd64.const +++ b/sys/linux/dev_binder_amd64.const @@ -32,8 +32,10 @@ BINDER_TYPE_WEAK_HANDLE = 2003315333 BINDER_WRITE_READ = 3224396289 FLAT_BINDER_FLAG_ACCEPTS_FDS = 256 FLAT_BINDER_FLAG_TXN_SECURITY_CTX = 4096 +# MAP_SHARED is not set O_NONBLOCK = 2048 O_RDWR = 2 +# PROT_READ is not set TF_ACCEPT_FDS = 16 TF_ONE_WAY = 1 __NR_ioctl = 16 diff --git a/sys/linux/dev_binder_arm.const b/sys/linux/dev_binder_arm.const index 82dbb6e06..d04efbada 100644 --- a/sys/linux/dev_binder_arm.const +++ b/sys/linux/dev_binder_arm.const @@ -32,8 +32,10 @@ BINDER_TYPE_WEAK_HANDLE = 2003315333 BINDER_WRITE_READ = 3224396289 FLAT_BINDER_FLAG_ACCEPTS_FDS = 256 FLAT_BINDER_FLAG_TXN_SECURITY_CTX = 4096 +# MAP_SHARED is not set O_NONBLOCK = 2048 O_RDWR = 2 +# PROT_READ is not set TF_ACCEPT_FDS = 16 TF_ONE_WAY = 1 __NR_ioctl = 54 diff --git a/sys/linux/dev_binder_arm64.const b/sys/linux/dev_binder_arm64.const index 76361805e..8104e142e 100644 --- a/sys/linux/dev_binder_arm64.const +++ b/sys/linux/dev_binder_arm64.const @@ -32,8 +32,10 @@ BINDER_TYPE_WEAK_HANDLE = 2003315333 BINDER_WRITE_READ = 3224396289 FLAT_BINDER_FLAG_ACCEPTS_FDS = 256 FLAT_BINDER_FLAG_TXN_SECURITY_CTX = 4096 +# MAP_SHARED is not set O_NONBLOCK = 2048 O_RDWR = 2 +# PROT_READ is not set TF_ACCEPT_FDS = 16 TF_ONE_WAY = 1 __NR_ioctl = 29 diff --git a/sys/linux/dev_binder_ppc64le.const b/sys/linux/dev_binder_ppc64le.const index 25b86fd34..aae30d94c 100644 --- a/sys/linux/dev_binder_ppc64le.const +++ b/sys/linux/dev_binder_ppc64le.const @@ -32,8 +32,10 @@ BINDER_TYPE_WEAK_HANDLE = 2003315333 BINDER_WRITE_READ = 3224396289 FLAT_BINDER_FLAG_ACCEPTS_FDS = 256 FLAT_BINDER_FLAG_TXN_SECURITY_CTX = 4096 +# MAP_SHARED is not set O_NONBLOCK = 2048 O_RDWR = 2 +# PROT_READ is not set TF_ACCEPT_FDS = 16 TF_ONE_WAY = 1 __NR_ioctl = 54 diff --git a/sys/linux/filesystem_386.const b/sys/linux/filesystem_386.const index 889dac08a..180b34d0a 100644 --- a/sys/linux/filesystem_386.const +++ b/sys/linux/filesystem_386.const @@ -55,11 +55,11 @@ MS_UNBINDABLE = 131072 OPEN_TREE_CLOEXEC = 524288 OPEN_TREE_CLONE = 1 UMOUNT_NOFOLLOW = 8 -__NR_fsconfig = 390 -__NR_fsmount = 391 -__NR_fsopen = 389 -__NR_fspick = 392 +__NR_fsconfig = 431 +__NR_fsmount = 432 +__NR_fsopen = 430 +__NR_fspick = 433 __NR_mount = 21 -__NR_move_mount = 388 -__NR_open_tree = 387 +__NR_move_mount = 429 +__NR_open_tree = 428 __NR_umount2 = 52 diff --git a/sys/linux/filesystem_amd64.const b/sys/linux/filesystem_amd64.const index 5136b327a..323cf85eb 100644 --- a/sys/linux/filesystem_amd64.const +++ b/sys/linux/filesystem_amd64.const @@ -55,11 +55,11 @@ MS_UNBINDABLE = 131072 OPEN_TREE_CLOEXEC = 524288 OPEN_TREE_CLONE = 1 UMOUNT_NOFOLLOW = 8 -__NR_fsconfig = 338 -__NR_fsmount = 339 -__NR_fsopen = 337 -__NR_fspick = 340 +__NR_fsconfig = 431 +__NR_fsmount = 432 +__NR_fsopen = 430 +__NR_fspick = 433 __NR_mount = 165 -__NR_move_mount = 336 -__NR_open_tree = 335 +__NR_move_mount = 429 +__NR_open_tree = 428 __NR_umount2 = 166 diff --git a/sys/linux/filesystem_arm.const b/sys/linux/filesystem_arm.const index ed696a08b..180b34d0a 100644 --- a/sys/linux/filesystem_arm.const +++ b/sys/linux/filesystem_arm.const @@ -55,11 +55,11 @@ MS_UNBINDABLE = 131072 OPEN_TREE_CLOEXEC = 524288 OPEN_TREE_CLONE = 1 UMOUNT_NOFOLLOW = 8 -# __NR_fsconfig is not set -# __NR_fsmount is not set -# __NR_fsopen is not set -# __NR_fspick is not set +__NR_fsconfig = 431 +__NR_fsmount = 432 +__NR_fsopen = 430 +__NR_fspick = 433 __NR_mount = 21 -# __NR_move_mount is not set -# __NR_open_tree is not set +__NR_move_mount = 429 +__NR_open_tree = 428 __NR_umount2 = 52 diff --git a/sys/linux/filesystem_arm64.const b/sys/linux/filesystem_arm64.const index dba809cab..813d947fd 100644 --- a/sys/linux/filesystem_arm64.const +++ b/sys/linux/filesystem_arm64.const @@ -55,11 +55,11 @@ MS_UNBINDABLE = 131072 OPEN_TREE_CLOEXEC = 524288 OPEN_TREE_CLONE = 1 UMOUNT_NOFOLLOW = 8 -# __NR_fsconfig is not set -# __NR_fsmount is not set -# __NR_fsopen is not set -# __NR_fspick is not set +__NR_fsconfig = 431 +__NR_fsmount = 432 +__NR_fsopen = 430 +__NR_fspick = 433 __NR_mount = 40 -# __NR_move_mount is not set -# __NR_open_tree is not set +__NR_move_mount = 429 +__NR_open_tree = 428 __NR_umount2 = 39 diff --git a/sys/linux/filesystem_ppc64le.const b/sys/linux/filesystem_ppc64le.const index ed696a08b..180b34d0a 100644 --- a/sys/linux/filesystem_ppc64le.const +++ b/sys/linux/filesystem_ppc64le.const @@ -55,11 +55,11 @@ MS_UNBINDABLE = 131072 OPEN_TREE_CLOEXEC = 524288 OPEN_TREE_CLONE = 1 UMOUNT_NOFOLLOW = 8 -# __NR_fsconfig is not set -# __NR_fsmount is not set -# __NR_fsopen is not set -# __NR_fspick is not set +__NR_fsconfig = 431 +__NR_fsmount = 432 +__NR_fsopen = 430 +__NR_fspick = 433 __NR_mount = 21 -# __NR_move_mount is not set -# __NR_open_tree is not set +__NR_move_mount = 429 +__NR_open_tree = 428 __NR_umount2 = 52 diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 2d033946f..468a83c81 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -1946,6 +1946,28 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "alg_op_op", FldName: "op", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_inet", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]"}, FldName: "ip_retopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]"}, FldName: "ip_pktinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TTL, int32]"}, FldName: "ip_ttl"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int32]"}, FldName: "ip_tos_int"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int8]"}, FldName: "ip_tos_u8"}, + }}}, + {Key: StructKey{Name: "cmsghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_inet6", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, FldName: "pktinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, FldName: "flowinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "hopopts_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "hopopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "dstopts_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "dstopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "rthdrdstopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "rthdr_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "rthdr"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, FldName: "hoplimit_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, FldName: "hoplimit"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]"}, FldName: "tclass"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]"}, FldName: "dontfrag"}, + }}}, {Key: StructKey{Name: "cmsghdr_rds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_rds", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "cmsghdr_rds_t[RDS_CMSG_RDMA_ARGS, rds_rdma_args]"}, FldName: "rdma_args"}, &StructType{Key: StructKey{Name: "cmsghdr_rds_t[RDS_CMSG_RDMA_DEST, rds_rdma_cookie_t]"}, FldName: "rdma_dest"}, @@ -2068,6 +2090,52 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SO_TIMESTAMPING_OLD, int32]"}, FldName: "timestamping"}, &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_TXTIME, int64]"}, FldName: "txtime"}, }}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TOS, int32]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TOS, int8]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TTL, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TTL, int32]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]", TypeSize: 24}, Fields: []Type{ &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, FldName: "unaligned"}, }, AlignAttr: 4}}, @@ -2087,6 +2155,96 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_RIGHTS, array[fd]]"}, FldName: "rights"}, &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, FldName: "cred"}, }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 8}, + &StructType{Key: StructKey{Name: "in_pktinfo"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 7}, + &StructType{Key: StructKey{Name: "ipv4_options"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]", TypeSize: 13}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "data", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 4}, + &StructType{Key: StructKey{Name: "ipv6_dstopts_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 62}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "data", TypeSize: 4}, ArgFormat: 1}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 52}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 54}, + &StructType{Key: StructKey{Name: "ipv6_hopots_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]", TypeSize: 32}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 50}, + &StructType{Key: StructKey{Name: "in6_pktinfo"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 57}, + &StructType{Key: StructKey{Name: "ipv6_rt_hdr"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 55}, + &StructType{Key: StructKey{Name: "ipv6_dstopts_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 67}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, {Key: StructKey{Name: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]", TypeSize: 24}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 1}, @@ -11042,6 +11200,14 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "mmsghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_inet", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "msghdr_inet"}, FldName: "msg_hdr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "mmsghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_inet6", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "msghdr_inet6"}, FldName: "msg_hdr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, + }}}, {Key: StructKey{Name: "mmsghdr_sock"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_sock", TypeSize: 32}, Fields: []Type{ &StructType{Key: StructKey{Name: "msghdr_sock"}, FldName: "msg_hdr"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, @@ -11262,6 +11428,24 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}}, + {Key: StructKey{Name: "msghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_inet", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Path: []string{"msg_name"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_iov", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_iovlen", TypeSize: 4}}, Path: []string{"msg_iov"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 4, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cmsghdr_inet"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 4}}, BitSize: 8, Path: []string{"msg_control"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "msghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_inet6", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Path: []string{"msg_name"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_iov", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_iovlen", TypeSize: 4}}, Path: []string{"msg_iov"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 4, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cmsghdr_inet6"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 4}}, BitSize: 8, Path: []string{"msg_control"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4}}}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_crypto]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_crypto]", TypeSize: 28}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -29688,56 +29872,56 @@ var syscalls_386 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "xattr_name"}}}, }}, - {NR: 390, Name: "fsconfig$FSCONFIG_CMD_CREATE", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_CMD_CREATE", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 6}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 4}}}, }}, - {NR: 390, Name: "fsconfig$FSCONFIG_CMD_RECONFIGURE", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_CMD_RECONFIGURE", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 7}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 4}}}, }}, - {NR: 390, Name: "fsconfig$FSCONFIG_SET_BINARY", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_SET_BINARY", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "aux", TypeSize: 4}}, BitSize: 8, Path: []string{"value"}}, }}, - {NR: 390, Name: "fsconfig$FSCONFIG_SET_FD", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_SET_FD", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 5}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 4}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "aux", TypeSize: 4}}, }}, - {NR: 390, Name: "fsconfig$FSCONFIG_SET_FLAG", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_SET_FLAG", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "fsconfig_flag_params", Values: []string{"dirsync\x00", "lazytime\x00", "mand\x00", "posixacl\x00", "ro\x00", "sync\x00", "async\x00", "nolazytime\x00", "nomand\x00", "rw\x00", "silent\x00"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 4}}}, }}, - {NR: 390, Name: "fsconfig$FSCONFIG_SET_PATH", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_SET_PATH", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}}, }}, - {NR: 390, Name: "fsconfig$FSCONFIG_SET_PATH_EMPTY", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_SET_PATH_EMPTY", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 4}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}}, }}, - {NR: 390, Name: "fsconfig$FSCONFIG_SET_STRING", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_SET_STRING", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, @@ -29835,16 +30019,16 @@ var syscalls_386 = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Path: []string{"val"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "setxattr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true}, }}, - {NR: 391, Name: "fsmount", CallName: "fsmount", Args: []Type{ + {NR: 432, Name: "fsmount", CallName: "fsmount", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fs_fd", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1}, BitMask: true}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_attr_flags", FldName: "attr_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 112, 128}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_open_tree", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 389, Name: "fsopen", CallName: "fsopen", Args: []Type{ + {NR: 430, Name: "fsopen", CallName: "fsopen", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "filesystem", Values: []string{"sysfs\x00", "rootfs\x00", "ramfs\x00", "tmpfs\x00", "devtmpfs\x00", "debugfs\x00", "securityfs\x00", "sockfs\x00", "pipefs\x00", "anon_inodefs\x00", "devpts\x00", "ext3\x00", "ext2\x00", "ext4\x00", "hugetlbfs\x00", "vfat\x00", "ecryptfs\x00", "fuseblk\x00", "fuse\x00", "rpc_pipefs\x00", "nfs\x00", "nfs4\x00", "nfsd\x00", "binfmt_misc\x00", "autofs\x00", "xfs\x00", "jfs\x00", "msdos\x00", "ntfs\x00", "minix\x00", "hfs\x00", "hfsplus\x00", "qnx4\x00", "ufs\x00", "btrfs\x00", "configfs\x00", "ncpfs\x00", "qnx6\x00", "exofs\x00", "befs\x00", "vxfs\x00", "gfs2\x00", "gfs2meta\x00", "fusectl\x00", "bfs\x00", "nsfs\x00", "efs\x00", "cifs\x00", "efivarfs\x00", "affs\x00", "tracefs\x00", "bdev\x00", "ocfs2\x00", "ocfs2_dlmfs\x00", "hpfs\x00", "proc\x00", "afs\x00", "reiserfs\x00", "jffs2\x00", "romfs\x00", "aio\x00", "sysv\x00", "v7\x00", "udf\x00", "ceph\x00", "pstore\x00", "adfs\x00", "9p\x00", "hostfs\x00", "squashfs\x00", "cramfs\x00", "iso9660\x00", "coda\x00", "nilfs2\x00", "logfs\x00", "overlay\x00", "f2fs\x00", "omfs\x00", "ubifs\x00", "openpromfs\x00", "bpf\x00", "cgroup\x00", "cgroup2\x00", "cpuset\x00", "mqueue\x00", "aufs\x00", "selinuxfs\x00", "dax\x00", "erofs\x00"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsopen_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 392, Name: "fspick", CallName: "fspick", Args: []Type{ + {NR: 433, Name: "fspick", CallName: "fspick", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fspick_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1}, BitMask: true}, @@ -37069,7 +37253,7 @@ var syscalls_386 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, }}, - {NR: 388, Name: "move_mount", CallName: "move_mount", Args: []Type{ + {NR: 429, Name: "move_mount", CallName: "move_mount", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "from_dfd", TypeSize: 4, IsOptional: true}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "from_pathname", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "to_dfd", TypeSize: 4, IsOptional: true}}, @@ -37218,7 +37402,7 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "handle", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "file_handle"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 16384, 65536, 128, 32768, 262144, 256, 131072, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true}, }}, - {NR: 387, Name: "open_tree", CallName: "open_tree", Args: []Type{ + {NR: 428, Name: "open_tree", CallName: "open_tree", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_tree_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 2048, 32768, 256, 1, 524288}, BitMask: true}, @@ -38719,6 +38903,18 @@ var syscalls_386 = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 4}}, Path: []string{"mmsg"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 345, Name: "sendmmsg$inet", CallName: "sendmmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "mmsghdr_inet"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 4}}, Path: []string{"mmsg"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 345, Name: "sendmmsg$inet6", CallName: "sendmmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "mmsghdr_inet6"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 4}}, Path: []string{"mmsg"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 345, Name: "sendmmsg$inet_sctp", CallName: "sendmmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "msghdr_sctp"}}}}, @@ -39138,6 +39334,16 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "send_msghdr"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 370, Name: "sendmsg$inet", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_inet"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 370, Name: "sendmsg$inet6", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_inet6"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 370, Name: "sendmsg$inet_sctp", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_sctp"}}}, @@ -50839,11 +51045,11 @@ var consts_386 = []ConstValue{ {Name: "__NR_flistxattr", Value: 234}, {Name: "__NR_flock", Value: 143}, {Name: "__NR_fremovexattr", Value: 237}, - {Name: "__NR_fsconfig", Value: 390}, + {Name: "__NR_fsconfig", Value: 431}, {Name: "__NR_fsetxattr", Value: 228}, - {Name: "__NR_fsmount", Value: 391}, - {Name: "__NR_fsopen", Value: 389}, - {Name: "__NR_fspick", Value: 392}, + {Name: "__NR_fsmount", Value: 432}, + {Name: "__NR_fsopen", Value: 430}, + {Name: "__NR_fspick", Value: 433}, {Name: "__NR_fstat", Value: 108}, {Name: "__NR_fstatfs", Value: 100}, {Name: "__NR_fsync", Value: 118}, @@ -50927,7 +51133,7 @@ var consts_386 = []ConstValue{ {Name: "__NR_mmap2", Value: 192}, {Name: "__NR_modify_ldt", Value: 123}, {Name: "__NR_mount", Value: 21}, - {Name: "__NR_move_mount", Value: 388}, + {Name: "__NR_move_mount", Value: 429}, {Name: "__NR_move_pages", Value: 317}, {Name: "__NR_mprotect", Value: 125}, {Name: "__NR_mq_getsetattr", Value: 282}, @@ -50949,7 +51155,7 @@ var consts_386 = []ConstValue{ {Name: "__NR_nanosleep", Value: 162}, {Name: "__NR_open", Value: 5}, {Name: "__NR_open_by_handle_at", Value: 342}, - {Name: "__NR_open_tree", Value: 387}, + {Name: "__NR_open_tree", Value: 428}, {Name: "__NR_openat", Value: 295}, {Name: "__NR_pause", Value: 29}, {Name: "__NR_perf_event_open", Value: 336}, @@ -51099,4 +51305,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "f22c45c650bebdef94ba18978dece63e493ea7a3" +const revision_386 = "b573ebe9c055d49064608c5d8e2fbad21d43f0c9" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 783a3c0a4..cdc1e4eb0 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -1953,6 +1953,28 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "alg_op_op", FldName: "op", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_inet", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]"}, FldName: "ip_retopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]"}, FldName: "ip_pktinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TTL, int32]"}, FldName: "ip_ttl"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int32]"}, FldName: "ip_tos_int"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int8]"}, FldName: "ip_tos_u8"}, + }}}, + {Key: StructKey{Name: "cmsghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_inet6", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, FldName: "pktinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, FldName: "flowinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "hopopts_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "hopopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "dstopts_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "dstopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "rthdrdstopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "rthdr_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "rthdr"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, FldName: "hoplimit_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, FldName: "hoplimit"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]"}, FldName: "tclass"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]"}, FldName: "dontfrag"}, + }}}, {Key: StructKey{Name: "cmsghdr_rds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_rds", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "cmsghdr_rds_t[RDS_CMSG_RDMA_ARGS, rds_rdma_args]"}, FldName: "rdma_args"}, &StructType{Key: StructKey{Name: "cmsghdr_rds_t[RDS_CMSG_RDMA_DEST, rds_rdma_cookie_t]"}, FldName: "rdma_dest"}, @@ -2070,6 +2092,61 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SO_TIMESTAMPING_OLD, int32]"}, FldName: "timestamping"}, &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_TXTIME, int64]"}, FldName: "txtime"}, }}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TOS, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TOS, int8]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TTL, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TTL, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]", TypeSize: 40}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, {Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]", TypeSize: 32}, Fields: []Type{ &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, FldName: "unaligned"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, @@ -2092,6 +2169,96 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_RIGHTS, array[fd]]"}, FldName: "rights"}, &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, FldName: "cred"}, }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]", TypeSize: 28}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 8}, + &StructType{Key: StructKey{Name: "in_pktinfo"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 7}, + &StructType{Key: StructKey{Name: "ipv4_options"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]", TypeSize: 17}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "data", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 4}, + &StructType{Key: StructKey{Name: "ipv6_dstopts_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 62}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "data", TypeSize: 4}, ArgFormat: 1}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 52}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 54}, + &StructType{Key: StructKey{Name: "ipv6_hopots_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]", TypeSize: 36}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 50}, + &StructType{Key: StructKey{Name: "in6_pktinfo"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 57}, + &StructType{Key: StructKey{Name: "ipv6_rt_hdr"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 55}, + &StructType{Key: StructKey{Name: "ipv6_dstopts_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 67}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, {Key: StructKey{Name: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]", TypeSize: 28}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 1}, @@ -11142,6 +11309,16 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "mmsghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_inet", TypeSize: 64}, Fields: []Type{ + &StructType{Key: StructKey{Name: "msghdr_inet"}, FldName: "msg_hdr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "mmsghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_inet6", TypeSize: 64}, Fields: []Type{ + &StructType{Key: StructKey{Name: "msghdr_inet6"}, FldName: "msg_hdr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "mmsghdr_sock"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_sock", TypeSize: 64}, Fields: []Type{ &StructType{Key: StructKey{Name: "msghdr_sock"}, FldName: "msg_hdr"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, @@ -11369,6 +11546,28 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "msghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_inet", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Path: []string{"msg_name"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_iov", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_iovlen", TypeSize: 8}}, Path: []string{"msg_iov"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 8, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cmsghdr_inet"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 8}}, BitSize: 8, Path: []string{"msg_control"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_inet6", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Path: []string{"msg_name"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_iov", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_iovlen", TypeSize: 8}}, Path: []string{"msg_iov"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 8, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cmsghdr_inet6"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 8}}, BitSize: 8, Path: []string{"msg_control"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_crypto]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_crypto]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -30170,56 +30369,56 @@ var syscalls_amd64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "xattr_name"}}}, }}, - {NR: 338, Name: "fsconfig$FSCONFIG_CMD_CREATE", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_CMD_CREATE", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 6}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}}, }}, - {NR: 338, Name: "fsconfig$FSCONFIG_CMD_RECONFIGURE", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_CMD_RECONFIGURE", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 7}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}}, }}, - {NR: 338, Name: "fsconfig$FSCONFIG_SET_BINARY", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_SET_BINARY", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "aux", TypeSize: 8}}, BitSize: 8, Path: []string{"value"}}, }}, - {NR: 338, Name: "fsconfig$FSCONFIG_SET_FD", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_SET_FD", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 5}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "aux", TypeSize: 4}}, }}, - {NR: 338, Name: "fsconfig$FSCONFIG_SET_FLAG", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_SET_FLAG", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "fsconfig_flag_params", Values: []string{"dirsync\x00", "lazytime\x00", "mand\x00", "posixacl\x00", "ro\x00", "sync\x00", "async\x00", "nolazytime\x00", "nomand\x00", "rw\x00", "silent\x00"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}}, }}, - {NR: 338, Name: "fsconfig$FSCONFIG_SET_PATH", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_SET_PATH", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}}, }}, - {NR: 338, Name: "fsconfig$FSCONFIG_SET_PATH_EMPTY", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_SET_PATH_EMPTY", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 4}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}}, }}, - {NR: 338, Name: "fsconfig$FSCONFIG_SET_STRING", CallName: "fsconfig", Args: []Type{ + {NR: 431, Name: "fsconfig$FSCONFIG_SET_STRING", CallName: "fsconfig", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, @@ -30317,16 +30516,16 @@ var syscalls_amd64 = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"val"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "setxattr_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2}, BitMask: true}, }}, - {NR: 339, Name: "fsmount", CallName: "fsmount", Args: []Type{ + {NR: 432, Name: "fsmount", CallName: "fsmount", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fs_fd", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_attr_flags", FldName: "attr_flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 112, 128}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_open_tree", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 337, Name: "fsopen", CallName: "fsopen", Args: []Type{ + {NR: 430, Name: "fsopen", CallName: "fsopen", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "filesystem", Values: []string{"sysfs\x00", "rootfs\x00", "ramfs\x00", "tmpfs\x00", "devtmpfs\x00", "debugfs\x00", "securityfs\x00", "sockfs\x00", "pipefs\x00", "anon_inodefs\x00", "devpts\x00", "ext3\x00", "ext2\x00", "ext4\x00", "hugetlbfs\x00", "vfat\x00", "ecryptfs\x00", "fuseblk\x00", "fuse\x00", "rpc_pipefs\x00", "nfs\x00", "nfs4\x00", "nfsd\x00", "binfmt_misc\x00", "autofs\x00", "xfs\x00", "jfs\x00", "msdos\x00", "ntfs\x00", "minix\x00", "hfs\x00", "hfsplus\x00", "qnx4\x00", "ufs\x00", "btrfs\x00", "configfs\x00", "ncpfs\x00", "qnx6\x00", "exofs\x00", "befs\x00", "vxfs\x00", "gfs2\x00", "gfs2meta\x00", "fusectl\x00", "bfs\x00", "nsfs\x00", "efs\x00", "cifs\x00", "efivarfs\x00", "affs\x00", "tracefs\x00", "bdev\x00", "ocfs2\x00", "ocfs2_dlmfs\x00", "hpfs\x00", "proc\x00", "afs\x00", "reiserfs\x00", "jffs2\x00", "romfs\x00", "aio\x00", "sysv\x00", "v7\x00", "udf\x00", "ceph\x00", "pstore\x00", "adfs\x00", "9p\x00", "hostfs\x00", "squashfs\x00", "cramfs\x00", "iso9660\x00", "coda\x00", "nilfs2\x00", "logfs\x00", "overlay\x00", "f2fs\x00", "omfs\x00", "ubifs\x00", "openpromfs\x00", "bpf\x00", "cgroup\x00", "cgroup2\x00", "cpuset\x00", "mqueue\x00", "aufs\x00", "selinuxfs\x00", "dax\x00", "erofs\x00"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsopen_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 340, Name: "fspick", CallName: "fspick", Args: []Type{ + {NR: 433, Name: "fspick", CallName: "fspick", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fspick_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, @@ -37571,7 +37770,7 @@ var syscalls_amd64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, }}, - {NR: 336, Name: "move_mount", CallName: "move_mount", Args: []Type{ + {NR: 429, Name: "move_mount", CallName: "move_mount", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "from_dfd", TypeSize: 4, IsOptional: true}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "from_pathname", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "to_dfd", TypeSize: 4, IsOptional: true}}, @@ -37720,7 +37919,7 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "handle", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "file_handle"}}}, &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}, }}, - {NR: 335, Name: "open_tree", CallName: "open_tree", Args: []Type{ + {NR: 428, Name: "open_tree", CallName: "open_tree", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_tree_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 2048, 32768, 256, 1, 524288}, BitMask: true}, @@ -39226,6 +39425,18 @@ var syscalls_amd64 = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"mmsg"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 307, Name: "sendmmsg$inet", CallName: "sendmmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "mmsghdr_inet"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"mmsg"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 307, Name: "sendmmsg$inet6", CallName: "sendmmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "mmsghdr_inet6"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"mmsg"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 307, Name: "sendmmsg$inet_sctp", CallName: "sendmmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "msghdr_sctp"}}}}, @@ -39645,6 +39856,16 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "send_msghdr"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 46, Name: "sendmsg$inet", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_inet"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 46, Name: "sendmsg$inet6", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_inet6"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 46, Name: "sendmsg$inet_sctp", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_sctp"}}}, @@ -51361,11 +51582,11 @@ var consts_amd64 = []ConstValue{ {Name: "__NR_flistxattr", Value: 196}, {Name: "__NR_flock", Value: 73}, {Name: "__NR_fremovexattr", Value: 199}, - {Name: "__NR_fsconfig", Value: 338}, + {Name: "__NR_fsconfig", Value: 431}, {Name: "__NR_fsetxattr", Value: 190}, - {Name: "__NR_fsmount", Value: 339}, - {Name: "__NR_fsopen", Value: 337}, - {Name: "__NR_fspick", Value: 340}, + {Name: "__NR_fsmount", Value: 432}, + {Name: "__NR_fsopen", Value: 430}, + {Name: "__NR_fspick", Value: 433}, {Name: "__NR_fstat", Value: 5}, {Name: "__NR_fstatfs", Value: 138}, {Name: "__NR_fsync", Value: 74}, @@ -51448,7 +51669,7 @@ var consts_amd64 = []ConstValue{ {Name: "__NR_mmap", Value: 9}, {Name: "__NR_modify_ldt", Value: 154}, {Name: "__NR_mount", Value: 165}, - {Name: "__NR_move_mount", Value: 336}, + {Name: "__NR_move_mount", Value: 429}, {Name: "__NR_move_pages", Value: 279}, {Name: "__NR_mprotect", Value: 10}, {Name: "__NR_mq_getsetattr", Value: 245}, @@ -51470,7 +51691,7 @@ var consts_amd64 = []ConstValue{ {Name: "__NR_nanosleep", Value: 35}, {Name: "__NR_open", Value: 2}, {Name: "__NR_open_by_handle_at", Value: 304}, - {Name: "__NR_open_tree", Value: 335}, + {Name: "__NR_open_tree", Value: 428}, {Name: "__NR_openat", Value: 257}, {Name: "__NR_pause", Value: 34}, {Name: "__NR_perf_event_open", Value: 298}, @@ -51621,4 +51842,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "0427f7bf3e8b373ed205ede923d3e80372fa44fa" +const revision_amd64 = "52a32c5ec09cc1187f3b58872ef188eee5cf45a6" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 5514ec8f4..7f9688c0d 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -49,6 +49,7 @@ var resources_arm = []*ResourceDesc{ {Name: "fd_event", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_event"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_fanotify", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fanotify"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_floppy", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_floppy"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_fscontext", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fscontext"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_fuse", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fuse"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_i2c", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_i2c"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_inotify", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_inotify"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -67,6 +68,7 @@ var resources_arm = []*ResourceDesc{ {Name: "fd_mq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_mq"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_namespace", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_namespace"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_nbd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_block_trace", "fd_block", "fd_nbd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_open_tree", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_open_tree"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_pidfd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_pidfd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -1944,6 +1946,28 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "alg_op_op", FldName: "op", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_inet", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]"}, FldName: "ip_retopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]"}, FldName: "ip_pktinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TTL, int32]"}, FldName: "ip_ttl"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int32]"}, FldName: "ip_tos_int"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int8]"}, FldName: "ip_tos_u8"}, + }}}, + {Key: StructKey{Name: "cmsghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_inet6", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, FldName: "pktinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, FldName: "flowinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "hopopts_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "hopopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "dstopts_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "dstopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "rthdrdstopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "rthdr_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "rthdr"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, FldName: "hoplimit_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, FldName: "hoplimit"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]"}, FldName: "tclass"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]"}, FldName: "dontfrag"}, + }}}, {Key: StructKey{Name: "cmsghdr_rds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_rds", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "cmsghdr_rds_t[RDS_CMSG_RDMA_ARGS, rds_rdma_args]"}, FldName: "rdma_args"}, &StructType{Key: StructKey{Name: "cmsghdr_rds_t[RDS_CMSG_RDMA_DEST, rds_rdma_cookie_t]"}, FldName: "rdma_dest"}, @@ -2066,6 +2090,52 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SO_TIMESTAMPING_OLD, int32]"}, FldName: "timestamping"}, &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_TXTIME, int64]"}, FldName: "txtime"}, }}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TOS, int32]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TOS, int8]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TTL, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TTL, int32]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]"}, FldName: "unaligned"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]", TypeSize: 24}, Fields: []Type{ &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, FldName: "unaligned"}, }, AlignAttr: 4}}, @@ -2085,6 +2155,96 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_RIGHTS, array[fd]]"}, FldName: "rights"}, &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, FldName: "cred"}, }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]", TypeSize: 24}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 8}, + &StructType{Key: StructKey{Name: "in_pktinfo"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 7}, + &StructType{Key: StructKey{Name: "ipv4_options"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]", TypeSize: 13}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "data", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 4}, + &StructType{Key: StructKey{Name: "ipv6_dstopts_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 62}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "data", TypeSize: 4}, ArgFormat: 1}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 52}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 54}, + &StructType{Key: StructKey{Name: "ipv6_hopots_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]", TypeSize: 32}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 50}, + &StructType{Key: StructKey{Name: "in6_pktinfo"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 57}, + &StructType{Key: StructKey{Name: "ipv6_rt_hdr"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 55}, + &StructType{Key: StructKey{Name: "ipv6_dstopts_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]", TypeSize: 16}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 67}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, {Key: StructKey{Name: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]", TypeSize: 24}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 1}, @@ -10857,6 +11017,14 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "mmsghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_inet", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "msghdr_inet"}, FldName: "msg_hdr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "mmsghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_inet6", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "msghdr_inet6"}, FldName: "msg_hdr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, + }}}, {Key: StructKey{Name: "mmsghdr_sock"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_sock", TypeSize: 32}, Fields: []Type{ &StructType{Key: StructKey{Name: "msghdr_sock"}, FldName: "msg_hdr"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, @@ -11077,6 +11245,24 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}}, + {Key: StructKey{Name: "msghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_inet", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Path: []string{"msg_name"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_iov", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_iovlen", TypeSize: 4}}, Path: []string{"msg_iov"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 4, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cmsghdr_inet"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 4}}, BitSize: 8, Path: []string{"msg_control"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "msghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_inet6", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Path: []string{"msg_name"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_iov", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_iovlen", TypeSize: 4}}, Path: []string{"msg_iov"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 4, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cmsghdr_inet6"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 4}}, BitSize: 8, Path: []string{"msg_control"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4}}}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_crypto]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_crypto]", TypeSize: 28}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -29502,6 +29688,62 @@ var syscalls_arm = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "xattr_name"}}}, }}, + {NR: 431, Name: "fsconfig$FSCONFIG_CMD_CREATE", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 4}}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_CMD_RECONFIGURE", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 4}}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_BINARY", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "aux", TypeSize: 4}}, BitSize: 8, Path: []string{"value"}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_FD", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 5}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 4}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "aux", TypeSize: 4}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_FLAG", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "fsconfig_flag_params", Values: []string{"dirsync\x00", "lazytime\x00", "mand\x00", "posixacl\x00", "ro\x00", "sync\x00", "async\x00", "nolazytime\x00", "nomand\x00", "rw\x00", "silent\x00"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 4}}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_PATH", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_PATH_EMPTY", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_STRING", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 4}}}, + }}, {NR: 228, Name: "fsetxattr", CallName: "fsetxattr", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "xattr_name"}}}, @@ -29593,6 +29835,20 @@ var syscalls_arm = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Path: []string{"val"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "setxattr_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2}, BitMask: true}, }}, + {NR: 432, Name: "fsmount", CallName: "fsmount", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fs_fd", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_attr_flags", FldName: "attr_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 112, 128}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_open_tree", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 430, Name: "fsopen", CallName: "fsopen", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "filesystem", Values: []string{"sysfs\x00", "rootfs\x00", "ramfs\x00", "tmpfs\x00", "devtmpfs\x00", "debugfs\x00", "securityfs\x00", "sockfs\x00", "pipefs\x00", "anon_inodefs\x00", "devpts\x00", "ext3\x00", "ext2\x00", "ext4\x00", "hugetlbfs\x00", "vfat\x00", "ecryptfs\x00", "fuseblk\x00", "fuse\x00", "rpc_pipefs\x00", "nfs\x00", "nfs4\x00", "nfsd\x00", "binfmt_misc\x00", "autofs\x00", "xfs\x00", "jfs\x00", "msdos\x00", "ntfs\x00", "minix\x00", "hfs\x00", "hfsplus\x00", "qnx4\x00", "ufs\x00", "btrfs\x00", "configfs\x00", "ncpfs\x00", "qnx6\x00", "exofs\x00", "befs\x00", "vxfs\x00", "gfs2\x00", "gfs2meta\x00", "fusectl\x00", "bfs\x00", "nsfs\x00", "efs\x00", "cifs\x00", "efivarfs\x00", "affs\x00", "tracefs\x00", "bdev\x00", "ocfs2\x00", "ocfs2_dlmfs\x00", "hpfs\x00", "proc\x00", "afs\x00", "reiserfs\x00", "jffs2\x00", "romfs\x00", "aio\x00", "sysv\x00", "v7\x00", "udf\x00", "ceph\x00", "pstore\x00", "adfs\x00", "9p\x00", "hostfs\x00", "squashfs\x00", "cramfs\x00", "iso9660\x00", "coda\x00", "nilfs2\x00", "logfs\x00", "overlay\x00", "f2fs\x00", "omfs\x00", "ubifs\x00", "openpromfs\x00", "bpf\x00", "cgroup\x00", "cgroup2\x00", "cpuset\x00", "mqueue\x00", "aufs\x00", "selinuxfs\x00", "dax\x00", "erofs\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsopen_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 433, Name: "fspick", CallName: "fspick", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fspick_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 108, Name: "fstat", CallName: "fstat", Args: []Type{ &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}}}, @@ -36658,6 +36914,13 @@ var syscalls_arm = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, }}, + {NR: 429, Name: "move_mount", CallName: "move_mount", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "from_dfd", TypeSize: 4, IsOptional: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "from_pathname", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "to_dfd", TypeSize: 4, IsOptional: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "to_pathname", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "move_mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 16, 32, 64}, BitMask: true}, + }}, {NR: 344, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 4}}, Path: []string{"pages"}}, @@ -36800,6 +37063,11 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "handle", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "file_handle"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 65536, 16384, 128, 131072, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true}, }}, + {NR: 428, Name: "open_tree", CallName: "open_tree", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_tree_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 2048, 32768, 256, 1, 524288}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_open_tree", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 322, Name: "openat", CallName: "openat", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "fd", TypeSize: 4, IsOptional: true}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, @@ -38300,6 +38568,18 @@ var syscalls_arm = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 4}}, Path: []string{"mmsg"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 374, Name: "sendmmsg$inet", CallName: "sendmmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "mmsghdr_inet"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 4}}, Path: []string{"mmsg"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 374, Name: "sendmmsg$inet6", CallName: "sendmmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "mmsghdr_inet6"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 4}}, Path: []string{"mmsg"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 374, Name: "sendmmsg$inet_sctp", CallName: "sendmmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "msghdr_sctp"}}}}, @@ -38719,6 +38999,16 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "send_msghdr"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 296, Name: "sendmsg$inet", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_inet"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 296, Name: "sendmsg$inet6", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_inet6"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 296, Name: "sendmsg$inet_sctp", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_sctp"}}}, @@ -50340,7 +50630,11 @@ var consts_arm = []ConstValue{ {Name: "__NR_flistxattr", Value: 234}, {Name: "__NR_flock", Value: 143}, {Name: "__NR_fremovexattr", Value: 237}, + {Name: "__NR_fsconfig", Value: 431}, {Name: "__NR_fsetxattr", Value: 228}, + {Name: "__NR_fsmount", Value: 432}, + {Name: "__NR_fsopen", Value: 430}, + {Name: "__NR_fspick", Value: 433}, {Name: "__NR_fstat", Value: 108}, {Name: "__NR_fstatfs", Value: 100}, {Name: "__NR_fsync", Value: 118}, @@ -50419,6 +50713,7 @@ var consts_arm = []ConstValue{ {Name: "__NR_mmap", Value: 192}, {Name: "__NR_mmap2", Value: 192}, {Name: "__NR_mount", Value: 21}, + {Name: "__NR_move_mount", Value: 429}, {Name: "__NR_move_pages", Value: 344}, {Name: "__NR_mprotect", Value: 125}, {Name: "__NR_mq_getsetattr", Value: 279}, @@ -50440,6 +50735,7 @@ var consts_arm = []ConstValue{ {Name: "__NR_nanosleep", Value: 162}, {Name: "__NR_open", Value: 5}, {Name: "__NR_open_by_handle_at", Value: 371}, + {Name: "__NR_open_tree", Value: 428}, {Name: "__NR_openat", Value: 322}, {Name: "__NR_pause", Value: 29}, {Name: "__NR_perf_event_open", Value: 364}, @@ -50586,4 +50882,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "bf20f9a660d824072225dfab51d51b92723ab789" +const revision_arm = "09d8fa4f019d76d632d9260756660aaa9737e5d5" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 232e3b077..8f651ac15 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -49,6 +49,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "fd_event", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_event"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_fanotify", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fanotify"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_floppy", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_floppy"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_fscontext", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fscontext"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_fuse", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fuse"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_i2c", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_i2c"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_inotify", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_inotify"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -67,6 +68,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "fd_mq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_mq"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_namespace", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_namespace"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_nbd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_block_trace", "fd_block", "fd_nbd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_open_tree", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_open_tree"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_pidfd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_pidfd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -1951,6 +1953,28 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "alg_op_op", FldName: "op", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_inet", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]"}, FldName: "ip_retopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]"}, FldName: "ip_pktinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TTL, int32]"}, FldName: "ip_ttl"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int32]"}, FldName: "ip_tos_int"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int8]"}, FldName: "ip_tos_u8"}, + }}}, + {Key: StructKey{Name: "cmsghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_inet6", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, FldName: "pktinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, FldName: "flowinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "hopopts_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "hopopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "dstopts_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "dstopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "rthdrdstopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "rthdr_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "rthdr"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, FldName: "hoplimit_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, FldName: "hoplimit"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]"}, FldName: "tclass"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]"}, FldName: "dontfrag"}, + }}}, {Key: StructKey{Name: "cmsghdr_rds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_rds", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "cmsghdr_rds_t[RDS_CMSG_RDMA_ARGS, rds_rdma_args]"}, FldName: "rdma_args"}, &StructType{Key: StructKey{Name: "cmsghdr_rds_t[RDS_CMSG_RDMA_DEST, rds_rdma_cookie_t]"}, FldName: "rdma_dest"}, @@ -2068,6 +2092,61 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SO_TIMESTAMPING_OLD, int32]"}, FldName: "timestamping"}, &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_TXTIME, int64]"}, FldName: "txtime"}, }}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TOS, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TOS, int8]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TTL, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TTL, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]", TypeSize: 40}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, {Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]", TypeSize: 32}, Fields: []Type{ &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, FldName: "unaligned"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, @@ -2090,6 +2169,96 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_RIGHTS, array[fd]]"}, FldName: "rights"}, &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, FldName: "cred"}, }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]", TypeSize: 28}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 8}, + &StructType{Key: StructKey{Name: "in_pktinfo"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 7}, + &StructType{Key: StructKey{Name: "ipv4_options"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]", TypeSize: 17}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "data", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 4}, + &StructType{Key: StructKey{Name: "ipv6_dstopts_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 62}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "data", TypeSize: 4}, ArgFormat: 1}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 52}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 54}, + &StructType{Key: StructKey{Name: "ipv6_hopots_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]", TypeSize: 36}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 50}, + &StructType{Key: StructKey{Name: "in6_pktinfo"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 57}, + &StructType{Key: StructKey{Name: "ipv6_rt_hdr"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 55}, + &StructType{Key: StructKey{Name: "ipv6_dstopts_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 67}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, {Key: StructKey{Name: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]", TypeSize: 28}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 1}, @@ -10957,6 +11126,16 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "mmsghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_inet", TypeSize: 64}, Fields: []Type{ + &StructType{Key: StructKey{Name: "msghdr_inet"}, FldName: "msg_hdr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "mmsghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_inet6", TypeSize: 64}, Fields: []Type{ + &StructType{Key: StructKey{Name: "msghdr_inet6"}, FldName: "msg_hdr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "mmsghdr_sock"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_sock", TypeSize: 64}, Fields: []Type{ &StructType{Key: StructKey{Name: "msghdr_sock"}, FldName: "msg_hdr"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, @@ -11184,6 +11363,28 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "msghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_inet", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Path: []string{"msg_name"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_iov", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_iovlen", TypeSize: 8}}, Path: []string{"msg_iov"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 8, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cmsghdr_inet"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 8}}, BitSize: 8, Path: []string{"msg_control"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_inet6", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Path: []string{"msg_name"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_iov", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_iovlen", TypeSize: 8}}, Path: []string{"msg_iov"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 8, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cmsghdr_inet6"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 8}}, BitSize: 8, Path: []string{"msg_control"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_crypto]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_crypto]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -29897,6 +30098,62 @@ var syscalls_arm64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "xattr_name"}}}, }}, + {NR: 431, Name: "fsconfig$FSCONFIG_CMD_CREATE", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_CMD_RECONFIGURE", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_BINARY", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "aux", TypeSize: 8}}, BitSize: 8, Path: []string{"value"}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_FD", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 5}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "aux", TypeSize: 4}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_FLAG", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "fsconfig_flag_params", Values: []string{"dirsync\x00", "lazytime\x00", "mand\x00", "posixacl\x00", "ro\x00", "sync\x00", "async\x00", "nolazytime\x00", "nomand\x00", "rw\x00", "silent\x00"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_PATH", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_PATH_EMPTY", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_STRING", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}}, + }}, {NR: 7, Name: "fsetxattr", CallName: "fsetxattr", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "xattr_name"}}}, @@ -29988,6 +30245,20 @@ var syscalls_arm64 = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"val"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "setxattr_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2}, BitMask: true}, }}, + {NR: 432, Name: "fsmount", CallName: "fsmount", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fs_fd", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_attr_flags", FldName: "attr_flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 112, 128}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_open_tree", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 430, Name: "fsopen", CallName: "fsopen", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "filesystem", Values: []string{"sysfs\x00", "rootfs\x00", "ramfs\x00", "tmpfs\x00", "devtmpfs\x00", "debugfs\x00", "securityfs\x00", "sockfs\x00", "pipefs\x00", "anon_inodefs\x00", "devpts\x00", "ext3\x00", "ext2\x00", "ext4\x00", "hugetlbfs\x00", "vfat\x00", "ecryptfs\x00", "fuseblk\x00", "fuse\x00", "rpc_pipefs\x00", "nfs\x00", "nfs4\x00", "nfsd\x00", "binfmt_misc\x00", "autofs\x00", "xfs\x00", "jfs\x00", "msdos\x00", "ntfs\x00", "minix\x00", "hfs\x00", "hfsplus\x00", "qnx4\x00", "ufs\x00", "btrfs\x00", "configfs\x00", "ncpfs\x00", "qnx6\x00", "exofs\x00", "befs\x00", "vxfs\x00", "gfs2\x00", "gfs2meta\x00", "fusectl\x00", "bfs\x00", "nsfs\x00", "efs\x00", "cifs\x00", "efivarfs\x00", "affs\x00", "tracefs\x00", "bdev\x00", "ocfs2\x00", "ocfs2_dlmfs\x00", "hpfs\x00", "proc\x00", "afs\x00", "reiserfs\x00", "jffs2\x00", "romfs\x00", "aio\x00", "sysv\x00", "v7\x00", "udf\x00", "ceph\x00", "pstore\x00", "adfs\x00", "9p\x00", "hostfs\x00", "squashfs\x00", "cramfs\x00", "iso9660\x00", "coda\x00", "nilfs2\x00", "logfs\x00", "overlay\x00", "f2fs\x00", "omfs\x00", "ubifs\x00", "openpromfs\x00", "bpf\x00", "cgroup\x00", "cgroup2\x00", "cpuset\x00", "mqueue\x00", "aufs\x00", "selinuxfs\x00", "dax\x00", "erofs\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsopen_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 433, Name: "fspick", CallName: "fspick", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fspick_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 80, Name: "fstat", CallName: "fstat", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}}, @@ -37041,6 +37312,13 @@ var syscalls_arm64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, }}, + {NR: 429, Name: "move_mount", CallName: "move_mount", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "from_dfd", TypeSize: 4, IsOptional: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "from_pathname", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "to_dfd", TypeSize: 4, IsOptional: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "to_pathname", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "move_mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 16, 32, 64}, BitMask: true}, + }}, {NR: 239, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Path: []string{"pages"}}, @@ -37173,6 +37451,11 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "handle", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "file_handle"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 65536, 16384, 128, 131072, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true}, }}, + {NR: 428, Name: "open_tree", CallName: "open_tree", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_tree_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 2048, 32768, 256, 1, 524288}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_open_tree", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 56, Name: "openat", CallName: "openat", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "fd", TypeSize: 4, IsOptional: true}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, @@ -38646,6 +38929,18 @@ var syscalls_arm64 = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"mmsg"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 269, Name: "sendmmsg$inet", CallName: "sendmmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "mmsghdr_inet"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"mmsg"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 269, Name: "sendmmsg$inet6", CallName: "sendmmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "mmsghdr_inet6"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"mmsg"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 269, Name: "sendmmsg$inet_sctp", CallName: "sendmmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "msghdr_sctp"}}}}, @@ -39065,6 +39360,16 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "send_msghdr"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 211, Name: "sendmsg$inet", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_inet"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 211, Name: "sendmsg$inet6", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_inet6"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 211, Name: "sendmsg$inet_sctp", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_sctp"}}}, @@ -50659,7 +50964,11 @@ var consts_arm64 = []ConstValue{ {Name: "__NR_flistxattr", Value: 13}, {Name: "__NR_flock", Value: 32}, {Name: "__NR_fremovexattr", Value: 16}, + {Name: "__NR_fsconfig", Value: 431}, {Name: "__NR_fsetxattr", Value: 7}, + {Name: "__NR_fsmount", Value: 432}, + {Name: "__NR_fsopen", Value: 430}, + {Name: "__NR_fspick", Value: 433}, {Name: "__NR_fstat", Value: 80}, {Name: "__NR_fstatfs", Value: 44}, {Name: "__NR_fsync", Value: 82}, @@ -50729,6 +51038,7 @@ var consts_arm64 = []ConstValue{ {Name: "__NR_mlockall", Value: 230}, {Name: "__NR_mmap", Value: 222}, {Name: "__NR_mount", Value: 40}, + {Name: "__NR_move_mount", Value: 429}, {Name: "__NR_move_pages", Value: 239}, {Name: "__NR_mprotect", Value: 226}, {Name: "__NR_mq_getsetattr", Value: 185}, @@ -50749,6 +51059,7 @@ var consts_arm64 = []ConstValue{ {Name: "__NR_name_to_handle_at", Value: 264}, {Name: "__NR_nanosleep", Value: 101}, {Name: "__NR_open_by_handle_at", Value: 265}, + {Name: "__NR_open_tree", Value: 428}, {Name: "__NR_openat", Value: 56}, {Name: "__NR_perf_event_open", Value: 241}, {Name: "__NR_personality", Value: 92}, @@ -50881,4 +51192,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "e517ab5d40c8d121a0587c805f53ccb3185bef9e" +const revision_arm64 = "63819d796ff2bc8443767443eced02e91ac4a55b" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 4b518c9c5..346156b1e 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -49,6 +49,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "fd_event", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_event"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_fanotify", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fanotify"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_floppy", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_floppy"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_fscontext", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fscontext"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_fuse", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_fuse"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_i2c", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_i2c"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_inotify", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_inotify"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -67,6 +68,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "fd_mq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_mq"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_namespace", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_namespace"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_nbd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_block_trace", "fd_block", "fd_nbd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_open_tree", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_open_tree"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_pidfd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_pidfd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -1950,6 +1952,28 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "alg_op_op", FldName: "op", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_inet", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]"}, FldName: "ip_retopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]"}, FldName: "ip_pktinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TTL, int32]"}, FldName: "ip_ttl"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int32]"}, FldName: "ip_tos_int"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int8]"}, FldName: "ip_tos_u8"}, + }}}, + {Key: StructKey{Name: "cmsghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_inet6", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, FldName: "pktinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, FldName: "flowinfo"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "hopopts_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "hopopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "dstopts_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "dstopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "rthdrdstopts"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "rthdr_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "rthdr"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, FldName: "hoplimit_2292"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, FldName: "hoplimit"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]"}, FldName: "tclass"}, + &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]"}, FldName: "dontfrag"}, + }}}, {Key: StructKey{Name: "cmsghdr_rds"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_rds", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "cmsghdr_rds_t[RDS_CMSG_RDMA_ARGS, rds_rdma_args]"}, FldName: "rdma_args"}, &StructType{Key: StructKey{Name: "cmsghdr_rds_t[RDS_CMSG_RDMA_DEST, rds_rdma_cookie_t]"}, FldName: "rdma_dest"}, @@ -2067,6 +2091,61 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SO_TIMESTAMPING_OLD, int32]"}, FldName: "timestamping"}, &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_TXTIME, int64]"}, FldName: "txtime"}, }}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo]", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TOS, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TOS, int8]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IP, IP_TTL, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IP, IP_TTL, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]", TypeSize: 40}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, FldName: "unaligned"}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32]", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]"}, FldName: "unaligned"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }, AlignAttr: 8}}, {Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]", TypeSize: 32}, Fields: []Type{ &StructType{Key: StructKey{Name: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, FldName: "unaligned"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, @@ -2089,6 +2168,96 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_RIGHTS, array[fd]]"}, FldName: "rights"}, &StructType{Key: StructKey{Name: "cmsghdr_t[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, FldName: "cred"}, }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_PKTINFO, in_pktinfo]", TypeSize: 28}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 8}, + &StructType{Key: StructKey{Name: "in_pktinfo"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_RETOPTS, ipv4_options]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 7}, + &StructType{Key: StructKey{Name: "ipv4_options"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TOS, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TOS, int8]", TypeSize: 17}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "data", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IP, IP_TTL, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 4}, + &StructType{Key: StructKey{Name: "ipv6_dstopts_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_2292HOPLIMIT, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_DONTFRAG, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 62}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_FLOWINFO, int32be]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "data", TypeSize: 4}, ArgFormat: 1}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPLIMIT, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 52}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 54}, + &StructType{Key: StructKey{Name: "ipv6_hopots_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo]", TypeSize: 36}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 50}, + &StructType{Key: StructKey{Name: "in6_pktinfo"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 57}, + &StructType{Key: StructKey{Name: "ipv6_rt_hdr"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 55}, + &StructType{Key: StructKey{Name: "ipv6_dstopts_ext_header"}, FldName: "data"}, + }}}, + {Key: StructKey{Name: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_IPV6, IPV6_TCLASS, int32]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 41}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_type", TypeSize: 4}}, Val: 67}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "data", TypeSize: 4}}}, + }}}, {Key: StructKey{Name: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr_unaligned[SOL_SOCKET, SCM_CREDENTIALS, cmsg_un_cred]", TypeSize: 28}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmsg_level", TypeSize: 4}}, Val: 1}, @@ -10909,6 +11078,16 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "mmsghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_inet", TypeSize: 64}, Fields: []Type{ + &StructType{Key: StructKey{Name: "msghdr_inet"}, FldName: "msg_hdr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "mmsghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_inet6", TypeSize: 64}, Fields: []Type{ + &StructType{Key: StructKey{Name: "msghdr_inet6"}, FldName: "msg_hdr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "mmsghdr_sock"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mmsghdr_sock", TypeSize: 64}, Fields: []Type{ &StructType{Key: StructKey{Name: "msghdr_sock"}, FldName: "msg_hdr"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_len", TypeSize: 4}}}, @@ -11136,6 +11315,28 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "msghdr_inet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_inet", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Path: []string{"msg_name"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_iov", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_iovlen", TypeSize: 8}}, Path: []string{"msg_iov"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 8, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cmsghdr_inet"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 8}}, BitSize: 8, Path: []string{"msg_control"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_inet6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_inet6", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_in6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Path: []string{"msg_name"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_iov", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_iovlen", TypeSize: 8}}, Path: []string{"msg_iov"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 8, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "cmsghdr_inet6"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 8}}, BitSize: 8, Path: []string{"msg_control"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_crypto]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_crypto]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -29824,6 +30025,62 @@ var syscalls_ppc64le = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "xattr_name"}}}, }}, + {NR: 431, Name: "fsconfig$FSCONFIG_CMD_CREATE", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_CMD_RECONFIGURE", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "key", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_BINARY", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "aux", TypeSize: 8}}, BitSize: 8, Path: []string{"value"}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_FD", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 5}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "aux", TypeSize: 4}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_FLAG", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "fsconfig_flag_params", Values: []string{"dirsync\x00", "lazytime\x00", "mand\x00", "posixacl\x00", "ro\x00", "sync\x00", "async\x00", "nolazytime\x00", "nomand\x00", "rw\x00", "silent\x00"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "value", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_PATH", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_PATH_EMPTY", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "aux", TypeSize: 4, IsOptional: true}}, + }}, + {NR: 431, Name: "fsconfig$FSCONFIG_SET_STRING", CallName: "fsconfig", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "key", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "value", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "aux", TypeSize: 8}}}, + }}, {NR: 211, Name: "fsetxattr", CallName: "fsetxattr", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "xattr_name"}}}, @@ -29915,6 +30172,20 @@ var syscalls_ppc64le = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"val"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "setxattr_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2}, BitMask: true}, }}, + {NR: 432, Name: "fsmount", CallName: "fsmount", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "fs_fd", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsmount_attr_flags", FldName: "attr_flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 112, 128}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_open_tree", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 430, Name: "fsopen", CallName: "fsopen", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2, SubKind: "filesystem", Values: []string{"sysfs\x00", "rootfs\x00", "ramfs\x00", "tmpfs\x00", "devtmpfs\x00", "debugfs\x00", "securityfs\x00", "sockfs\x00", "pipefs\x00", "anon_inodefs\x00", "devpts\x00", "ext3\x00", "ext2\x00", "ext4\x00", "hugetlbfs\x00", "vfat\x00", "ecryptfs\x00", "fuseblk\x00", "fuse\x00", "rpc_pipefs\x00", "nfs\x00", "nfs4\x00", "nfsd\x00", "binfmt_misc\x00", "autofs\x00", "xfs\x00", "jfs\x00", "msdos\x00", "ntfs\x00", "minix\x00", "hfs\x00", "hfsplus\x00", "qnx4\x00", "ufs\x00", "btrfs\x00", "configfs\x00", "ncpfs\x00", "qnx6\x00", "exofs\x00", "befs\x00", "vxfs\x00", "gfs2\x00", "gfs2meta\x00", "fusectl\x00", "bfs\x00", "nsfs\x00", "efs\x00", "cifs\x00", "efivarfs\x00", "affs\x00", "tracefs\x00", "bdev\x00", "ocfs2\x00", "ocfs2_dlmfs\x00", "hpfs\x00", "proc\x00", "afs\x00", "reiserfs\x00", "jffs2\x00", "romfs\x00", "aio\x00", "sysv\x00", "v7\x00", "udf\x00", "ceph\x00", "pstore\x00", "adfs\x00", "9p\x00", "hostfs\x00", "squashfs\x00", "cramfs\x00", "iso9660\x00", "coda\x00", "nilfs2\x00", "logfs\x00", "overlay\x00", "f2fs\x00", "omfs\x00", "ubifs\x00", "openpromfs\x00", "bpf\x00", "cgroup\x00", "cgroup2\x00", "cpuset\x00", "mqueue\x00", "aufs\x00", "selinuxfs\x00", "dax\x00", "erofs\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fsopen_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 433, Name: "fspick", CallName: "fspick", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fspick_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fscontext", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 108, Name: "fstat", CallName: "fstat", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "stat", Dir: 1}}}, @@ -36962,6 +37233,13 @@ var syscalls_ppc64le = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[overlay_options]"}}}, }}, + {NR: 429, Name: "move_mount", CallName: "move_mount", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "from_dfd", TypeSize: 4, IsOptional: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "from_pathname", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "to_dfd", TypeSize: 4, IsOptional: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "to_pathname", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "move_mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 16, 32, 64}, BitMask: true}, + }}, {NR: 301, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Path: []string{"pages"}}, @@ -37104,6 +37382,11 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "handle", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "file_handle"}}}, &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}, }}, + {NR: 428, Name: "open_tree", CallName: "open_tree", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "dfd", TypeSize: 4, IsOptional: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "filename", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_tree_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 2048, 32768, 256, 1, 524288}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_open_tree", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 286, Name: "openat", CallName: "openat", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dir", FldName: "fd", TypeSize: 4, IsOptional: true}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, @@ -38600,6 +38883,18 @@ var syscalls_ppc64le = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"mmsg"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 349, Name: "sendmmsg$inet", CallName: "sendmmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "mmsghdr_inet"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"mmsg"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 349, Name: "sendmmsg$inet6", CallName: "sendmmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "mmsghdr_inet6"}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Path: []string{"mmsg"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 349, Name: "sendmmsg$inet_sctp", CallName: "sendmmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "msghdr_sctp"}}}}, @@ -39019,6 +39314,16 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "send_msghdr"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 341, Name: "sendmsg$inet", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_inet"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 341, Name: "sendmsg$inet6", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_inet6"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 341, Name: "sendmsg$inet_sctp", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_sctp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_sctp"}}}, @@ -50598,7 +50903,11 @@ var consts_ppc64le = []ConstValue{ {Name: "__NR_flistxattr", Value: 217}, {Name: "__NR_flock", Value: 143}, {Name: "__NR_fremovexattr", Value: 220}, + {Name: "__NR_fsconfig", Value: 431}, {Name: "__NR_fsetxattr", Value: 211}, + {Name: "__NR_fsmount", Value: 432}, + {Name: "__NR_fsopen", Value: 430}, + {Name: "__NR_fspick", Value: 433}, {Name: "__NR_fstat", Value: 108}, {Name: "__NR_fstatfs", Value: 100}, {Name: "__NR_fsync", Value: 118}, @@ -50680,6 +50989,7 @@ var consts_ppc64le = []ConstValue{ {Name: "__NR_mmap", Value: 90}, {Name: "__NR_modify_ldt", Value: 123}, {Name: "__NR_mount", Value: 21}, + {Name: "__NR_move_mount", Value: 429}, {Name: "__NR_move_pages", Value: 301}, {Name: "__NR_mprotect", Value: 125}, {Name: "__NR_mq_getsetattr", Value: 267}, @@ -50701,6 +51011,7 @@ var consts_ppc64le = []ConstValue{ {Name: "__NR_nanosleep", Value: 162}, {Name: "__NR_open", Value: 5}, {Name: "__NR_open_by_handle_at", Value: 346}, + {Name: "__NR_open_tree", Value: 428}, {Name: "__NR_openat", Value: 286}, {Name: "__NR_pause", Value: 29}, {Name: "__NR_perf_event_open", Value: 319}, @@ -50848,4 +51159,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "6fe830f2ded65a00aed0f1310b8774df680d9613" +const revision_ppc64le = "99b016ed035226cb1c1fbc7c5eab2d204debf38e" diff --git a/sys/linux/socket_inet.txt b/sys/linux/socket_inet.txt index a18b383f4..6892bae8b 100644 --- a/sys/linux/socket_inet.txt +++ b/sys/linux/socket_inet.txt @@ -7,6 +7,7 @@ include <linux/route.h> include <uapi/linux/if_arp.h> include <uapi/linux/netfilter_ipv6/ip6_tables.h> include <uapi/linux/wireless.h> +include <uapi/linux/in.h> # IP sockets @@ -204,3 +205,31 @@ arpreq_in { arp_netmask sockaddr_in arp_dev devname } + +# sendmsg for ip_cmsg_send + +msghdr_inet { + msg_name ptr[in, sockaddr_in, opt] + msg_namelen len[msg_name, int32] + msg_iov ptr[in, array[iovec_in]] + msg_iovlen len[msg_iov, intptr] + msg_control ptr[in, array[cmsghdr_inet], opt] + msg_controllen bytesize[msg_control, intptr] + msg_flags const[0, int32] +} + +mmsghdr_inet { + msg_hdr msghdr_inet + msg_len const[0, int32] +} + +cmsghdr_inet [ + ip_retopts cmsghdr_t[SOL_IP, IP_RETOPTS, ipv4_options] + ip_pktinfo cmsghdr_t[SOL_IP, IP_PKTINFO, in_pktinfo] + ip_ttl cmsghdr_t[SOL_IP, IP_TTL, int32] + ip_tos_int cmsghdr_t[SOL_IP, IP_TOS, int32] + ip_tos_u8 cmsghdr_t[SOL_IP, IP_TOS, int8] +] [varlen] + +sendmsg$inet(fd sock, msg ptr[in, msghdr_inet], f flags[send_flags]) +sendmmsg$inet(fd sock, mmsg ptr[in, array[mmsghdr_inet]], vlen len[mmsg], f flags[send_flags]) diff --git a/sys/linux/socket_inet6.txt b/sys/linux/socket_inet6.txt index a186d61f3..6c8b25dd0 100644 --- a/sys/linux/socket_inet6.txt +++ b/sys/linux/socket_inet6.txt @@ -189,3 +189,39 @@ in6_ifreq { ifr6_prefixlen int32[0:128] ifr6_ifindex ifindex } + +# sendmsg for ip_cmsg_send, ip6_datagram_send_ctl + +msghdr_inet6 { + msg_name ptr[in, sockaddr_in6, opt] + msg_namelen len[msg_name, int32] + msg_iov ptr[in, array[iovec_in]] + msg_iovlen len[msg_iov, intptr] + msg_control ptr[in, array[cmsghdr_inet6], opt] + msg_controllen bytesize[msg_control, intptr] + msg_flags const[0, int32] +} + +mmsghdr_inet6 { + msg_hdr msghdr_inet6 + msg_len const[0, int32] +} + +cmsghdr_inet6 [ + pktinfo cmsghdr_t[SOL_IPV6, IPV6_PKTINFO, in6_pktinfo] + flowinfo cmsghdr_t[SOL_IPV6, IPV6_FLOWINFO, int32be] + hopopts_2292 cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header] + hopopts cmsghdr_t[SOL_IPV6, IPV6_HOPOPTS, ipv6_hopots_ext_header] + dstopts_2292 cmsghdr_t[SOL_IPV6, IPV6_2292DSTOPTS, ipv6_dstopts_ext_header] + dstopts cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header] + rthdrdstopts cmsghdr_t[SOL_IPV6, IPV6_RTHDRDSTOPTS, ipv6_dstopts_ext_header] + rthdr_2292 cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr] + rthdr cmsghdr_t[SOL_IPV6, IPV6_RTHDR, ipv6_rt_hdr] + hoplimit_2292 cmsghdr_t[SOL_IPV6, IPV6_2292HOPLIMIT, int32] + hoplimit cmsghdr_t[SOL_IPV6, IPV6_HOPLIMIT, int32] + tclass cmsghdr_t[SOL_IPV6, IPV6_TCLASS, int32] + dontfrag cmsghdr_t[SOL_IPV6, IPV6_DONTFRAG, int32] +] [varlen] + +sendmsg$inet6(fd sock_in6, msg ptr[in, msghdr_inet6], f flags[send_flags]) +sendmmsg$inet6(fd sock_in6, mmsg ptr[in, array[mmsghdr_inet6]], vlen len[mmsg], f flags[send_flags]) diff --git a/sys/linux/socket_inet6_386.const b/sys/linux/socket_inet6_386.const index 4786c5ce2..5193fd9bf 100644 --- a/sys/linux/socket_inet6_386.const +++ b/sys/linux/socket_inet6_386.const @@ -120,6 +120,7 @@ SIOCDIFADDR = 35126 SIOCSIFADDR = 35094 SIOCSIFDSTADDR = 35096 # SOCKADDR_STORAGE_SIZE is not set +SOL_IPV6 = 41 # __NR_accept is not set __NR_accept4 = 364 __NR_bind = 361 @@ -129,6 +130,8 @@ __NR_getsockname = 367 __NR_getsockopt = 365 __NR_ioctl = 54 __NR_recvfrom = 371 +__NR_sendmmsg = 345 +__NR_sendmsg = 370 __NR_sendto = 369 __NR_setsockopt = 366 __NR_socket = 359 diff --git a/sys/linux/socket_inet6_amd64.const b/sys/linux/socket_inet6_amd64.const index 4f166b017..df4878424 100644 --- a/sys/linux/socket_inet6_amd64.const +++ b/sys/linux/socket_inet6_amd64.const @@ -120,6 +120,7 @@ SIOCDIFADDR = 35126 SIOCSIFADDR = 35094 SIOCSIFDSTADDR = 35096 # SOCKADDR_STORAGE_SIZE is not set +SOL_IPV6 = 41 __NR_accept = 43 __NR_accept4 = 288 __NR_bind = 49 @@ -129,6 +130,8 @@ __NR_getsockname = 51 __NR_getsockopt = 55 __NR_ioctl = 16 __NR_recvfrom = 45 +__NR_sendmmsg = 307 +__NR_sendmsg = 46 __NR_sendto = 44 __NR_setsockopt = 54 __NR_socket = 41 diff --git a/sys/linux/socket_inet6_arm.const b/sys/linux/socket_inet6_arm.const index 3cc862635..753e69d7d 100644 --- a/sys/linux/socket_inet6_arm.const +++ b/sys/linux/socket_inet6_arm.const @@ -120,6 +120,7 @@ SIOCDIFADDR = 35126 SIOCSIFADDR = 35094 SIOCSIFDSTADDR = 35096 # SOCKADDR_STORAGE_SIZE is not set +SOL_IPV6 = 41 __NR_accept = 285 __NR_accept4 = 366 __NR_bind = 282 @@ -129,6 +130,8 @@ __NR_getsockname = 286 __NR_getsockopt = 295 __NR_ioctl = 54 __NR_recvfrom = 292 +__NR_sendmmsg = 374 +__NR_sendmsg = 296 __NR_sendto = 290 __NR_setsockopt = 294 __NR_socket = 281 diff --git a/sys/linux/socket_inet6_arm64.const b/sys/linux/socket_inet6_arm64.const index 985f20085..93656abf5 100644 --- a/sys/linux/socket_inet6_arm64.const +++ b/sys/linux/socket_inet6_arm64.const @@ -120,6 +120,7 @@ SIOCDIFADDR = 35126 SIOCSIFADDR = 35094 SIOCSIFDSTADDR = 35096 # SOCKADDR_STORAGE_SIZE is not set +SOL_IPV6 = 41 __NR_accept = 202 __NR_accept4 = 242 __NR_bind = 200 @@ -129,6 +130,8 @@ __NR_getsockname = 204 __NR_getsockopt = 209 __NR_ioctl = 29 __NR_recvfrom = 207 +__NR_sendmmsg = 269 +__NR_sendmsg = 211 __NR_sendto = 206 __NR_setsockopt = 208 __NR_socket = 198 diff --git a/sys/linux/socket_inet6_ppc64le.const b/sys/linux/socket_inet6_ppc64le.const index 6870b6905..847b13306 100644 --- a/sys/linux/socket_inet6_ppc64le.const +++ b/sys/linux/socket_inet6_ppc64le.const @@ -120,6 +120,7 @@ SIOCDIFADDR = 35126 SIOCSIFADDR = 35094 SIOCSIFDSTADDR = 35096 # SOCKADDR_STORAGE_SIZE is not set +SOL_IPV6 = 41 __NR_accept = 330 __NR_accept4 = 344 __NR_bind = 327 @@ -129,6 +130,8 @@ __NR_getsockname = 331 __NR_getsockopt = 340 __NR_ioctl = 54 __NR_recvfrom = 337 +__NR_sendmmsg = 349 +__NR_sendmsg = 341 __NR_sendto = 335 __NR_setsockopt = 339 __NR_socket = 326 diff --git a/sys/linux/socket_inet_386.const b/sys/linux/socket_inet_386.const index 6e6cd6ab0..eb8e55194 100644 --- a/sys/linux/socket_inet_386.const +++ b/sys/linux/socket_inet_386.const @@ -98,6 +98,7 @@ SIOCSIWNWID = 35586 SIOCSIWSENS = 35592 # SOCKADDR_SIZE is not set # SOCKADDR_STORAGE_SIZE is not set +SOL_IP = 0 # __NR_accept is not set __NR_accept4 = 364 __NR_bind = 361 @@ -107,6 +108,8 @@ __NR_getsockname = 367 __NR_getsockopt = 365 __NR_ioctl = 54 __NR_recvfrom = 371 +__NR_sendmmsg = 345 +__NR_sendmsg = 370 __NR_sendto = 369 __NR_setsockopt = 366 __NR_socket = 359 diff --git a/sys/linux/socket_inet_amd64.const b/sys/linux/socket_inet_amd64.const index 0d2bd67f6..1415fcc6e 100644 --- a/sys/linux/socket_inet_amd64.const +++ b/sys/linux/socket_inet_amd64.const @@ -98,6 +98,7 @@ SIOCSIWNWID = 35586 SIOCSIWSENS = 35592 # SOCKADDR_SIZE is not set # SOCKADDR_STORAGE_SIZE is not set +SOL_IP = 0 __NR_accept = 43 __NR_accept4 = 288 __NR_bind = 49 @@ -107,6 +108,8 @@ __NR_getsockname = 51 __NR_getsockopt = 55 __NR_ioctl = 16 __NR_recvfrom = 45 +__NR_sendmmsg = 307 +__NR_sendmsg = 46 __NR_sendto = 44 __NR_setsockopt = 54 __NR_socket = 41 diff --git a/sys/linux/socket_inet_arm.const b/sys/linux/socket_inet_arm.const index ba45091a7..0f1f311eb 100644 --- a/sys/linux/socket_inet_arm.const +++ b/sys/linux/socket_inet_arm.const @@ -98,6 +98,7 @@ SIOCSIWNWID = 35586 SIOCSIWSENS = 35592 # SOCKADDR_SIZE is not set # SOCKADDR_STORAGE_SIZE is not set +SOL_IP = 0 __NR_accept = 285 __NR_accept4 = 366 __NR_bind = 282 @@ -107,6 +108,8 @@ __NR_getsockname = 286 __NR_getsockopt = 295 __NR_ioctl = 54 __NR_recvfrom = 292 +__NR_sendmmsg = 374 +__NR_sendmsg = 296 __NR_sendto = 290 __NR_setsockopt = 294 __NR_socket = 281 diff --git a/sys/linux/socket_inet_arm64.const b/sys/linux/socket_inet_arm64.const index d57fff6e2..815d0b4ce 100644 --- a/sys/linux/socket_inet_arm64.const +++ b/sys/linux/socket_inet_arm64.const @@ -98,6 +98,7 @@ SIOCSIWNWID = 35586 SIOCSIWSENS = 35592 # SOCKADDR_SIZE is not set # SOCKADDR_STORAGE_SIZE is not set +SOL_IP = 0 __NR_accept = 202 __NR_accept4 = 242 __NR_bind = 200 @@ -107,6 +108,8 @@ __NR_getsockname = 204 __NR_getsockopt = 209 __NR_ioctl = 29 __NR_recvfrom = 207 +__NR_sendmmsg = 269 +__NR_sendmsg = 211 __NR_sendto = 206 __NR_setsockopt = 208 __NR_socket = 198 diff --git a/sys/linux/socket_inet_ppc64le.const b/sys/linux/socket_inet_ppc64le.const index 63077bfd9..6f648ad19 100644 --- a/sys/linux/socket_inet_ppc64le.const +++ b/sys/linux/socket_inet_ppc64le.const @@ -98,6 +98,7 @@ SIOCSIWNWID = 35586 SIOCSIWSENS = 35592 # SOCKADDR_SIZE is not set # SOCKADDR_STORAGE_SIZE is not set +SOL_IP = 0 __NR_accept = 330 __NR_accept4 = 344 __NR_bind = 327 @@ -107,6 +108,8 @@ __NR_getsockname = 331 __NR_getsockopt = 340 __NR_ioctl = 54 __NR_recvfrom = 337 +__NR_sendmmsg = 349 +__NR_sendmsg = 341 __NR_sendto = 335 __NR_setsockopt = 339 __NR_socket = 326 |
