aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/gen
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-12-04 10:56:27 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-12-09 12:52:50 +0100
commita3f232631f083a5a8ebe4928a98712f553a6efe7 (patch)
tree7cc49ae003b225bb4cc86cd8f48ca55acf221d27 /sys/linux/gen
parent72a027681e92ae83bedc1ff8108c7b43c7d71d63 (diff)
sys/linux: add AF_TIPC descriptions
Diffstat (limited to 'sys/linux/gen')
-rw-r--r--sys/linux/gen/386.go332
-rw-r--r--sys/linux/gen/amd64.go334
-rw-r--r--sys/linux/gen/arm.go332
-rw-r--r--sys/linux/gen/arm64.go334
-rw-r--r--sys/linux/gen/ppc64le.go334
5 files changed, 1661 insertions, 5 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index e1e242be6..75423ad96 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -154,6 +154,7 @@ var resources_386 = []*ResourceDesc{
{Name: "sock_sctp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_sctp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_tcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_tcp"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_tcp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_tcp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
+ {Name: "sock_tipc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_tipc"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_udp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_udp"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_udp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_udp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_unix", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_unix"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
@@ -9416,6 +9417,15 @@ var structDescs_386 = []*KeyedStruct{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "ctrllen", TypeSize: 4}}, BitSize: 8, Buf: "ctrl"},
&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_tipc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_tipc", TypeSize: 28}, Fields: []Type{
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Buf: "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}}, Buf: "msg_iov"},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 4, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 4}}, BitSize: 8, Buf: "msg_control"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "msg_flags", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true},
+ }}},
{Key: StructKey{Name: "msghdr_un"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_un", TypeSize: 28}, Fields: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"},
@@ -17443,6 +17453,7 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc", Dir: 2}, FldName: "nfc"},
&StructType{Key: StructKey{Name: "sockaddr_vm", Dir: 2}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 2}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 2}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_generic", Dir: 2}, FldName: "generic"},
}}},
@@ -17943,6 +17954,7 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc_llcp"}, FldName: "nfc_llcp"},
&StructType{Key: StructKey{Name: "sockaddr_vm"}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp"}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc"}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet"}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_storage_generic"}, FldName: "generic"},
}}},
@@ -17971,6 +17983,7 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc_llcp", Dir: 1}, FldName: "nfc_llcp"},
&StructType{Key: StructKey{Name: "sockaddr_vm", Dir: 1}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 1}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 1}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, FldName: "generic"},
}}},
@@ -18010,6 +18023,75 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_storage_in"}, FldName: "in"},
&StructType{Key: StructKey{Name: "sockaddr_storage_in6"}, FldName: "in6"},
}}},
+ {Key: StructKey{Name: "sockaddr_tipc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]"}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]"}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]"}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 1}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 1}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 1}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 2}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 2}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 2}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr", Dir: 2}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name", Dir: 2}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range", Dir: 2}, FldName: "addr"},
+ }}},
{Key: StructKey{Name: "sockaddr_un"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_un", TypeSize: 110}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_un_file"}, FldName: "file"},
&StructType{Key: StructKey{Name: "sockaddr_un_abstract"}, FldName: "abs"},
@@ -19342,6 +19424,76 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 6},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "tipc_address_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr"}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_address_name", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr", Dir: 1}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_address_name", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr", Dir: 2}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_group_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_group_req", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}, Kind: 2, RangeBegin: 64, RangeEnd: 67},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "scope", TypeSize: 4}}, Kind: 2, RangeEnd: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "tipc_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd0", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd1", TypeSize: 4, ArgDir: 1}},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8, ArgDir: 2}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_sioc_ln_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_sioc_ln_req", TypeSize: 76}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "peer", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bearer_id", TypeSize: 4}}, Kind: 2, RangeEnd: 3},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "linkname", TypeSize: 68}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 68, RangeEnd: 68},
+ }}},
+ {Key: StructKey{Name: "tipc_sioc_nodeid_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_sioc_nodeid_req", TypeSize: 20}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "peer", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "linkname", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8, ArgDir: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
{Key: StructKey{Name: "tls_crypto_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tls_crypto_info", TypeSize: 4}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 2}}, Val: 771},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cipher_type", TypeSize: 2}}, Val: 51},
@@ -22892,6 +23044,12 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "accept_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2048, 524288}, BitMask: true},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 364, Name: "accept4$tipc", CallName: "accept4", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "accept_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2048, 524288}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 364, Name: "accept4$unix", CallName: "accept4", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -23052,6 +23210,11 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"},
}},
+ {NR: 361, Name: "bind$tipc", CallName: "bind", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"},
+ }},
{NR: 361, Name: "bind$unix", CallName: "bind", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
@@ -23347,6 +23510,11 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"},
}},
+ {NR: 362, Name: "connect$tipc", CallName: "connect", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"},
+ }},
{NR: 362, Name: "connect$unix", CallName: "connect", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
@@ -23816,6 +23984,11 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
}},
+ {NR: 368, Name: "getpeername$tipc", CallName: "getpeername", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
+ }},
{NR: 368, Name: "getpeername$unix", CallName: "getpeername", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -23900,6 +24073,11 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}},
}},
+ {NR: 367, Name: "getsockname$tipc", CallName: "getsockname", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}},
+ }},
{NR: 367, Name: "getsockname$unix", CallName: "getsockname", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -24087,6 +24265,55 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
+ {NR: 365, Name: "getsockopt$TIPC_CONN_TIMEOUT", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 130},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 365, Name: "getsockopt$TIPC_DEST_DROPPABLE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 129},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 365, Name: "getsockopt$TIPC_GROUP_JOIN", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 135},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 365, Name: "getsockopt$TIPC_IMPORTANCE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 127},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 365, Name: "getsockopt$TIPC_NODE_RECVQ_DEPTH", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 131},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 365, Name: "getsockopt$TIPC_SOCK_RECVQ_DEPTH", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 132},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 365, Name: "getsockopt$TIPC_SRC_DROPPABLE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 128},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
{NR: 365, Name: "getsockopt$XDP_MMAP_OFFSETS", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 283},
@@ -27675,6 +27902,16 @@ var syscalls_386 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8705},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
}},
+ {NR: 54, Name: "ioctl$SIOCGETLINKNAME", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35296},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tipc_sioc_ln_req"}}},
+ }},
+ {NR: 54, Name: "ioctl$SIOCGETNODEID", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35297},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tipc_sioc_nodeid_req"}}},
+ }},
{NR: 54, Name: "ioctl$SIOCGIFHWADDR", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35111},
@@ -31752,6 +31989,11 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_rds"}}},
&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$tipc", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_tipc"}}},
+ &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$unix", CallName: "sendmsg", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_un"}}},
@@ -32153,6 +32395,56 @@ var syscalls_386 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "timeval"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "val"},
}},
+ {NR: 366, Name: "setsockopt$TIPC_CONN_TIMEOUT", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 130},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 366, Name: "setsockopt$TIPC_DEST_DROPPABLE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 129},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 366, Name: "setsockopt$TIPC_GROUP_JOIN", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 135},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tipc_group_req"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 366, Name: "setsockopt$TIPC_GROUP_LEAVE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 136},
+ }},
+ {NR: 366, Name: "setsockopt$TIPC_IMPORTANCE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 127},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 366, Name: "setsockopt$TIPC_MCAST_BROADCAST", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 133},
+ }},
+ {NR: 366, Name: "setsockopt$TIPC_MCAST_REPLICAST", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 134},
+ }},
+ {NR: 366, Name: "setsockopt$TIPC_SRC_DROPPABLE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 128},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "val"},
+ }},
{NR: 366, Name: "setsockopt$XDP_RX_RING", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 283},
@@ -33983,6 +34275,11 @@ var syscalls_386 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 5},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rds", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 359, Name: "socket$tipc", CallName: "socket", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 30},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_socket_types", FldName: "type", TypeSize: 4}}, Vals: []uint64{2, 5, 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 359, Name: "socket$unix", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 5}},
@@ -34015,6 +34312,12 @@ var syscalls_386 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "nbd_sock_pair", Dir: 1}}},
}},
+ {NR: 360, Name: "socketpair$tipc", CallName: "socketpair", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 30},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_socket_types", FldName: "type", TypeSize: 4}}, Vals: []uint64{2, 5, 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tipc_pair", Dir: 1}}},
+ }},
{NR: 360, Name: "socketpair$unix", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 5}},
@@ -35347,6 +35650,7 @@ var consts_386 = []ConstValue{
{Name: "AF_PPPOX", Value: 24},
{Name: "AF_RDS", Value: 21},
{Name: "AF_SMC", Value: 43},
+ {Name: "AF_TIPC", Value: 30},
{Name: "AF_UNIX", Value: 1},
{Name: "AF_UNSPEC"},
{Name: "AF_VSOCK", Value: 40},
@@ -37922,6 +38226,7 @@ var consts_386 = []ConstValue{
{Name: "MASK_PROTO", Value: 1},
{Name: "MASK_ROUTING", Value: 32},
{Name: "MAXGENRELEN", Value: 32},
+ {Name: "MAX_BEARERS", Value: 3},
{Name: "MAX_BPF_REG", Value: 11},
{Name: "MAX_HEAP_NAME", Value: 32},
{Name: "MAX_IDLETIMER_LABEL_SIZE", Value: 28},
@@ -39372,6 +39677,8 @@ var consts_386 = []ConstValue{
{Name: "SIOCDIFADDR", Value: 35126},
{Name: "SIOCETHTOOL", Value: 35142},
{Name: "SIOCGARP", Value: 35156},
+ {Name: "SIOCGETLINKNAME", Value: 35296},
+ {Name: "SIOCGETNODEID", Value: 35297},
{Name: "SIOCGHWTSTAMP", Value: 35249},
{Name: "SIOCGIFADDR", Value: 35093},
{Name: "SIOCGIFBR", Value: 35136},
@@ -40263,6 +40570,29 @@ var consts_386 = []ConstValue{
{Name: "TIOCSSOFTCAR", Value: 21530},
{Name: "TIOCSTI", Value: 21522},
{Name: "TIOCSWINSZ", Value: 21524},
+ {Name: "TIPC_ADDR_ID", Value: 3},
+ {Name: "TIPC_ADDR_NAME", Value: 2},
+ {Name: "TIPC_ADDR_NAMESEQ", Value: 1},
+ {Name: "TIPC_CONN_TIMEOUT", Value: 130},
+ {Name: "TIPC_DEST_DROPPABLE", Value: 129},
+ {Name: "TIPC_GROUP_JOIN", Value: 135},
+ {Name: "TIPC_GROUP_LEAVE", Value: 136},
+ {Name: "TIPC_IMPORTANCE", Value: 127},
+ {Name: "TIPC_LINK_STATE", Value: 2},
+ {Name: "TIPC_MAX_LINK_NAME", Value: 68},
+ {Name: "TIPC_MCAST_BROADCAST", Value: 133},
+ {Name: "TIPC_MCAST_REPLICAST", Value: 134},
+ {Name: "TIPC_NODEID_LEN", Value: 16},
+ {Name: "TIPC_NODE_RECVQ_DEPTH", Value: 131},
+ {Name: "TIPC_NODE_SCOPE", Value: 3},
+ {Name: "TIPC_NODE_STATE"},
+ {Name: "TIPC_SERVICE_TYPE0", Value: 64},
+ {Name: "TIPC_SERVICE_TYPE1", Value: 65},
+ {Name: "TIPC_SERVICE_TYPE2", Value: 66},
+ {Name: "TIPC_SERVICE_TYPE3", Value: 67},
+ {Name: "TIPC_SOCK_RECVQ_DEPTH", Value: 132},
+ {Name: "TIPC_SRC_DROPPABLE", Value: 128},
+ {Name: "TIPC_TOP_SRV", Value: 1},
{Name: "TLS_1_2_VERSION", Value: 771},
{Name: "TLS_CIPHER_AES_GCM_128", Value: 51},
{Name: "TLS_RX", Value: 2},
@@ -42040,4 +42370,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "58d31ec7d3cff87f1ff37394f2e436239d78d18a"
+const revision_386 = "a0c60447e342fcf49e70633059183b99b570d398"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index 8925576d3..f917bb528 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -159,6 +159,7 @@ var resources_amd64 = []*ResourceDesc{
{Name: "sock_sctp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_sctp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_tcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_tcp"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_tcp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_tcp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
+ {Name: "sock_tipc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_tipc"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_udp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_udp"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_udp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_udp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_unix", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_unix"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
@@ -9633,6 +9634,17 @@ 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_tipc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_tipc", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Buf: "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}}, Buf: "msg_iov"},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 8, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 8}}, BitSize: 8, Buf: "msg_control"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "msg_flags", 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_un"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_un", TypeSize: 56}, Fields: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"},
@@ -17729,6 +17741,7 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc", Dir: 2}, FldName: "nfc"},
&StructType{Key: StructKey{Name: "sockaddr_vm", Dir: 2}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 2}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 2}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_generic", Dir: 2}, FldName: "generic"},
}}},
@@ -18229,6 +18242,7 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc_llcp"}, FldName: "nfc_llcp"},
&StructType{Key: StructKey{Name: "sockaddr_vm"}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp"}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc"}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet"}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_storage_generic"}, FldName: "generic"},
}}},
@@ -18257,6 +18271,7 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc_llcp", Dir: 1}, FldName: "nfc_llcp"},
&StructType{Key: StructKey{Name: "sockaddr_vm", Dir: 1}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 1}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 1}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, FldName: "generic"},
}}},
@@ -18298,6 +18313,75 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_storage_in"}, FldName: "in"},
&StructType{Key: StructKey{Name: "sockaddr_storage_in6"}, FldName: "in6"},
}}},
+ {Key: StructKey{Name: "sockaddr_tipc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]"}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]"}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]"}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 1}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 1}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 1}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 2}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 2}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 2}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr", Dir: 2}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name", Dir: 2}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range", Dir: 2}, FldName: "addr"},
+ }}},
{Key: StructKey{Name: "sockaddr_un"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_un", TypeSize: 110}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_un_file"}, FldName: "file"},
&StructType{Key: StructKey{Name: "sockaddr_un_abstract"}, FldName: "abs"},
@@ -19680,6 +19764,76 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 6},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "tipc_address_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr"}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_address_name", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr", Dir: 1}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_address_name", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr", Dir: 2}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_group_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_group_req", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}, Kind: 2, RangeBegin: 64, RangeEnd: 67},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "scope", TypeSize: 4}}, Kind: 2, RangeEnd: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "tipc_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd0", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd1", TypeSize: 4, ArgDir: 1}},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8, ArgDir: 2}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_sioc_ln_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_sioc_ln_req", TypeSize: 76}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "peer", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bearer_id", TypeSize: 4}}, Kind: 2, RangeEnd: 3},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "linkname", TypeSize: 68}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 68, RangeEnd: 68},
+ }}},
+ {Key: StructKey{Name: "tipc_sioc_nodeid_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_sioc_nodeid_req", TypeSize: 20}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "peer", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "linkname", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8, ArgDir: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
{Key: StructKey{Name: "tls_crypto_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tls_crypto_info", TypeSize: 4}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 2}}, Val: 771},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cipher_type", TypeSize: 2}}, Val: 51},
@@ -23354,6 +23508,12 @@ var syscalls_amd64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "accept_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2048, 524288}, BitMask: true},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 288, Name: "accept4$tipc", CallName: "accept4", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "accept_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2048, 524288}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 288, Name: "accept4$unix", CallName: "accept4", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -23514,6 +23674,11 @@ var syscalls_amd64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"},
}},
+ {NR: 49, Name: "bind$tipc", CallName: "bind", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"},
+ }},
{NR: 49, Name: "bind$unix", CallName: "bind", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
@@ -23809,6 +23974,11 @@ var syscalls_amd64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"},
}},
+ {NR: 42, Name: "connect$tipc", CallName: "connect", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"},
+ }},
{NR: 42, Name: "connect$unix", CallName: "connect", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
@@ -24278,6 +24448,11 @@ var syscalls_amd64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
}},
+ {NR: 52, Name: "getpeername$tipc", CallName: "getpeername", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
+ }},
{NR: 52, Name: "getpeername$unix", CallName: "getpeername", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -24362,6 +24537,11 @@ var syscalls_amd64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}},
}},
+ {NR: 51, Name: "getsockname$tipc", CallName: "getsockname", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}},
+ }},
{NR: 51, Name: "getsockname$unix", CallName: "getsockname", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -24549,6 +24729,55 @@ var syscalls_amd64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
+ {NR: 55, Name: "getsockopt$TIPC_CONN_TIMEOUT", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 130},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 55, Name: "getsockopt$TIPC_DEST_DROPPABLE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 129},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 55, Name: "getsockopt$TIPC_GROUP_JOIN", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 135},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 55, Name: "getsockopt$TIPC_IMPORTANCE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 127},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 55, Name: "getsockopt$TIPC_NODE_RECVQ_DEPTH", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 131},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 55, Name: "getsockopt$TIPC_SOCK_RECVQ_DEPTH", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 132},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 55, Name: "getsockopt$TIPC_SRC_DROPPABLE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 128},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
{NR: 55, Name: "getsockopt$XDP_MMAP_OFFSETS", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 283},
@@ -28137,6 +28366,16 @@ var syscalls_amd64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 8705},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
}},
+ {NR: 16, Name: "ioctl$SIOCGETLINKNAME", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35296},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tipc_sioc_ln_req"}}},
+ }},
+ {NR: 16, Name: "ioctl$SIOCGETNODEID", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35297},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tipc_sioc_nodeid_req"}}},
+ }},
{NR: 16, Name: "ioctl$SIOCGIFHWADDR", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35111},
@@ -32376,6 +32615,11 @@ var syscalls_amd64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_rds"}}},
&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$tipc", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_tipc"}}},
+ &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$unix", CallName: "sendmsg", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_un"}}},
@@ -32777,6 +33021,56 @@ var syscalls_amd64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timeval"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"},
}},
+ {NR: 54, Name: "setsockopt$TIPC_CONN_TIMEOUT", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 130},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 54, Name: "setsockopt$TIPC_DEST_DROPPABLE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 129},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 54, Name: "setsockopt$TIPC_GROUP_JOIN", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 135},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tipc_group_req"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 54, Name: "setsockopt$TIPC_GROUP_LEAVE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 136},
+ }},
+ {NR: 54, Name: "setsockopt$TIPC_IMPORTANCE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 127},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 54, Name: "setsockopt$TIPC_MCAST_BROADCAST", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 133},
+ }},
+ {NR: 54, Name: "setsockopt$TIPC_MCAST_REPLICAST", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 134},
+ }},
+ {NR: 54, Name: "setsockopt$TIPC_SRC_DROPPABLE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 128},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
{NR: 54, Name: "setsockopt$XDP_RX_RING", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 283},
@@ -34664,6 +34958,11 @@ var syscalls_amd64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 5},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rds", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 41, Name: "socket$tipc", CallName: "socket", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 30},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_socket_types", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 5, 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 41, Name: "socket$unix", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 5}},
@@ -34696,6 +34995,12 @@ var syscalls_amd64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nbd_sock_pair", Dir: 1}}},
}},
+ {NR: 53, Name: "socketpair$tipc", CallName: "socketpair", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 30},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_socket_types", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 5, 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tipc_pair", Dir: 1}}},
+ }},
{NR: 53, Name: "socketpair$unix", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 5}},
@@ -36028,6 +36333,7 @@ var consts_amd64 = []ConstValue{
{Name: "AF_PPPOX", Value: 24},
{Name: "AF_RDS", Value: 21},
{Name: "AF_SMC", Value: 43},
+ {Name: "AF_TIPC", Value: 30},
{Name: "AF_UNIX", Value: 1},
{Name: "AF_UNSPEC"},
{Name: "AF_VSOCK", Value: 40},
@@ -38603,6 +38909,7 @@ var consts_amd64 = []ConstValue{
{Name: "MASK_PROTO", Value: 1},
{Name: "MASK_ROUTING", Value: 32},
{Name: "MAXGENRELEN", Value: 32},
+ {Name: "MAX_BEARERS", Value: 3},
{Name: "MAX_BPF_REG", Value: 11},
{Name: "MAX_HEAP_NAME", Value: 32},
{Name: "MAX_IDLETIMER_LABEL_SIZE", Value: 28},
@@ -40053,6 +40360,8 @@ var consts_amd64 = []ConstValue{
{Name: "SIOCDIFADDR", Value: 35126},
{Name: "SIOCETHTOOL", Value: 35142},
{Name: "SIOCGARP", Value: 35156},
+ {Name: "SIOCGETLINKNAME", Value: 35296},
+ {Name: "SIOCGETNODEID", Value: 35297},
{Name: "SIOCGHWTSTAMP", Value: 35249},
{Name: "SIOCGIFADDR", Value: 35093},
{Name: "SIOCGIFBR", Value: 35136},
@@ -40958,6 +41267,29 @@ var consts_amd64 = []ConstValue{
{Name: "TIOCSSOFTCAR", Value: 21530},
{Name: "TIOCSTI", Value: 21522},
{Name: "TIOCSWINSZ", Value: 21524},
+ {Name: "TIPC_ADDR_ID", Value: 3},
+ {Name: "TIPC_ADDR_NAME", Value: 2},
+ {Name: "TIPC_ADDR_NAMESEQ", Value: 1},
+ {Name: "TIPC_CONN_TIMEOUT", Value: 130},
+ {Name: "TIPC_DEST_DROPPABLE", Value: 129},
+ {Name: "TIPC_GROUP_JOIN", Value: 135},
+ {Name: "TIPC_GROUP_LEAVE", Value: 136},
+ {Name: "TIPC_IMPORTANCE", Value: 127},
+ {Name: "TIPC_LINK_STATE", Value: 2},
+ {Name: "TIPC_MAX_LINK_NAME", Value: 68},
+ {Name: "TIPC_MCAST_BROADCAST", Value: 133},
+ {Name: "TIPC_MCAST_REPLICAST", Value: 134},
+ {Name: "TIPC_NODEID_LEN", Value: 16},
+ {Name: "TIPC_NODE_RECVQ_DEPTH", Value: 131},
+ {Name: "TIPC_NODE_SCOPE", Value: 3},
+ {Name: "TIPC_NODE_STATE"},
+ {Name: "TIPC_SERVICE_TYPE0", Value: 64},
+ {Name: "TIPC_SERVICE_TYPE1", Value: 65},
+ {Name: "TIPC_SERVICE_TYPE2", Value: 66},
+ {Name: "TIPC_SERVICE_TYPE3", Value: 67},
+ {Name: "TIPC_SOCK_RECVQ_DEPTH", Value: 132},
+ {Name: "TIPC_SRC_DROPPABLE", Value: 128},
+ {Name: "TIPC_TOP_SRV", Value: 1},
{Name: "TLS_1_2_VERSION", Value: 771},
{Name: "TLS_CIPHER_AES_GCM_128", Value: 51},
{Name: "TLS_RX", Value: 2},
@@ -42746,4 +43078,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "ce651cc104e6954aba93867d825eee9cc029d8eb"
+const revision_amd64 = "19a4635bbb2f188b81264ff5dc99cb8b5f15b25e"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 89bcb630f..b92489a4a 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -159,6 +159,7 @@ var resources_arm = []*ResourceDesc{
{Name: "sock_sctp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_sctp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_tcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_tcp"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_tcp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_tcp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
+ {Name: "sock_tipc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_tipc"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_udp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_udp"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_udp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_udp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_unix", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_unix"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
@@ -9258,6 +9259,15 @@ var structDescs_arm = []*KeyedStruct{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "ctrllen", TypeSize: 4}}, BitSize: 8, Buf: "ctrl"},
&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_tipc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_tipc", TypeSize: 28}, Fields: []Type{
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Buf: "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}}, Buf: "msg_iov"},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 4, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 4}}, BitSize: 8, Buf: "msg_control"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "msg_flags", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true},
+ }}},
{Key: StructKey{Name: "msghdr_un"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_un", TypeSize: 28}, Fields: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"},
@@ -17324,6 +17334,7 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc", Dir: 2}, FldName: "nfc"},
&StructType{Key: StructKey{Name: "sockaddr_vm", Dir: 2}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 2}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 2}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_generic", Dir: 2}, FldName: "generic"},
}}},
@@ -17824,6 +17835,7 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc_llcp"}, FldName: "nfc_llcp"},
&StructType{Key: StructKey{Name: "sockaddr_vm"}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp"}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc"}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet"}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_storage_generic"}, FldName: "generic"},
}}},
@@ -17852,6 +17864,7 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc_llcp", Dir: 1}, FldName: "nfc_llcp"},
&StructType{Key: StructKey{Name: "sockaddr_vm", Dir: 1}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 1}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 1}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, FldName: "generic"},
}}},
@@ -17891,6 +17904,75 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_storage_in"}, FldName: "in"},
&StructType{Key: StructKey{Name: "sockaddr_storage_in6"}, FldName: "in6"},
}}},
+ {Key: StructKey{Name: "sockaddr_tipc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]"}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]"}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]"}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 1}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 1}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 1}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 2}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 2}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 2}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr", Dir: 2}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name", Dir: 2}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range", Dir: 2}, FldName: "addr"},
+ }}},
{Key: StructKey{Name: "sockaddr_un"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_un", TypeSize: 110}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_un_file"}, FldName: "file"},
&StructType{Key: StructKey{Name: "sockaddr_un_abstract"}, FldName: "abs"},
@@ -19223,6 +19305,76 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 6},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "tipc_address_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr"}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_address_name", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr", Dir: 1}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_address_name", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr", Dir: 2}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_group_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_group_req", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}, Kind: 2, RangeBegin: 64, RangeEnd: 67},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "scope", TypeSize: 4}}, Kind: 2, RangeEnd: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "tipc_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd0", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd1", TypeSize: 4, ArgDir: 1}},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8, ArgDir: 2}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_sioc_ln_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_sioc_ln_req", TypeSize: 76}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "peer", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bearer_id", TypeSize: 4}}, Kind: 2, RangeEnd: 3},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "linkname", TypeSize: 68}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 68, RangeEnd: 68},
+ }}},
+ {Key: StructKey{Name: "tipc_sioc_nodeid_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_sioc_nodeid_req", TypeSize: 20}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "peer", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "linkname", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8, ArgDir: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
{Key: StructKey{Name: "tls_crypto_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tls_crypto_info", TypeSize: 4}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 2}}, Val: 771},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cipher_type", TypeSize: 2}}, Val: 51},
@@ -22807,6 +22959,12 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "accept_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2048, 524288}, BitMask: true},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 366, Name: "accept4$tipc", CallName: "accept4", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "accept_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2048, 524288}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 366, Name: "accept4$unix", CallName: "accept4", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -22933,6 +23091,11 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"},
}},
+ {NR: 282, Name: "bind$tipc", CallName: "bind", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"},
+ }},
{NR: 282, Name: "bind$unix", CallName: "bind", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
@@ -23228,6 +23391,11 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"},
}},
+ {NR: 283, Name: "connect$tipc", CallName: "connect", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"},
+ }},
{NR: 283, Name: "connect$unix", CallName: "connect", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
@@ -23688,6 +23856,11 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
}},
+ {NR: 287, Name: "getpeername$tipc", CallName: "getpeername", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
+ }},
{NR: 287, Name: "getpeername$unix", CallName: "getpeername", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -23768,6 +23941,11 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}},
}},
+ {NR: 286, Name: "getsockname$tipc", CallName: "getsockname", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}},
+ }},
{NR: 286, Name: "getsockname$unix", CallName: "getsockname", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -23955,6 +24133,55 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
+ {NR: 295, Name: "getsockopt$TIPC_CONN_TIMEOUT", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 130},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 295, Name: "getsockopt$TIPC_DEST_DROPPABLE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 129},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 295, Name: "getsockopt$TIPC_GROUP_JOIN", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 135},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 295, Name: "getsockopt$TIPC_IMPORTANCE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 127},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 295, Name: "getsockopt$TIPC_NODE_RECVQ_DEPTH", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 131},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 295, Name: "getsockopt$TIPC_SOCK_RECVQ_DEPTH", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 132},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 295, Name: "getsockopt$TIPC_SRC_DROPPABLE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 128},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
{NR: 295, Name: "getsockopt$XDP_MMAP_OFFSETS", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 283},
@@ -27428,6 +27655,16 @@ var syscalls_arm = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8705},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
}},
+ {NR: 54, Name: "ioctl$SIOCGETLINKNAME", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35296},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tipc_sioc_ln_req"}}},
+ }},
+ {NR: 54, Name: "ioctl$SIOCGETNODEID", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35297},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tipc_sioc_nodeid_req"}}},
+ }},
{NR: 54, Name: "ioctl$SIOCGIFHWADDR", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35111},
@@ -31612,6 +31849,11 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_rds"}}},
&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$tipc", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_tipc"}}},
+ &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$unix", CallName: "sendmsg", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_un"}}},
@@ -32010,6 +32252,56 @@ var syscalls_arm = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "timeval"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "val"},
}},
+ {NR: 294, Name: "setsockopt$TIPC_CONN_TIMEOUT", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 130},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 294, Name: "setsockopt$TIPC_DEST_DROPPABLE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 129},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 294, Name: "setsockopt$TIPC_GROUP_JOIN", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 135},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tipc_group_req"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 294, Name: "setsockopt$TIPC_GROUP_LEAVE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 136},
+ }},
+ {NR: 294, Name: "setsockopt$TIPC_IMPORTANCE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 127},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 294, Name: "setsockopt$TIPC_MCAST_BROADCAST", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 133},
+ }},
+ {NR: 294, Name: "setsockopt$TIPC_MCAST_REPLICAST", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 134},
+ }},
+ {NR: 294, Name: "setsockopt$TIPC_SRC_DROPPABLE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 128},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "val"},
+ }},
{NR: 294, Name: "setsockopt$XDP_RX_RING", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 283},
@@ -33897,6 +34189,11 @@ var syscalls_arm = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 5},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rds", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 281, Name: "socket$tipc", CallName: "socket", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 30},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_socket_types", FldName: "type", TypeSize: 4}}, Vals: []uint64{2, 5, 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 281, Name: "socket$unix", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 5}},
@@ -33929,6 +34226,12 @@ var syscalls_arm = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "nbd_sock_pair", Dir: 1}}},
}},
+ {NR: 288, Name: "socketpair$tipc", CallName: "socketpair", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 30},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_socket_types", FldName: "type", TypeSize: 4}}, Vals: []uint64{2, 5, 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tipc_pair", Dir: 1}}},
+ }},
{NR: 288, Name: "socketpair$unix", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 5}},
@@ -35248,6 +35551,7 @@ var consts_arm = []ConstValue{
{Name: "AF_PPPOX", Value: 24},
{Name: "AF_RDS", Value: 21},
{Name: "AF_SMC", Value: 43},
+ {Name: "AF_TIPC", Value: 30},
{Name: "AF_UNIX", Value: 1},
{Name: "AF_UNSPEC"},
{Name: "AF_VSOCK", Value: 40},
@@ -37777,6 +38081,7 @@ var consts_arm = []ConstValue{
{Name: "MASK_PROTO", Value: 1},
{Name: "MASK_ROUTING", Value: 32},
{Name: "MAXGENRELEN", Value: 32},
+ {Name: "MAX_BEARERS", Value: 3},
{Name: "MAX_BPF_REG", Value: 11},
{Name: "MAX_HEAP_NAME", Value: 32},
{Name: "MAX_IDLETIMER_LABEL_SIZE", Value: 28},
@@ -39212,6 +39517,8 @@ var consts_arm = []ConstValue{
{Name: "SIOCDIFADDR", Value: 35126},
{Name: "SIOCETHTOOL", Value: 35142},
{Name: "SIOCGARP", Value: 35156},
+ {Name: "SIOCGETLINKNAME", Value: 35296},
+ {Name: "SIOCGETNODEID", Value: 35297},
{Name: "SIOCGHWTSTAMP", Value: 35249},
{Name: "SIOCGIFADDR", Value: 35093},
{Name: "SIOCGIFBR", Value: 35136},
@@ -40103,6 +40410,29 @@ var consts_arm = []ConstValue{
{Name: "TIOCSSOFTCAR", Value: 21530},
{Name: "TIOCSTI", Value: 21522},
{Name: "TIOCSWINSZ", Value: 21524},
+ {Name: "TIPC_ADDR_ID", Value: 3},
+ {Name: "TIPC_ADDR_NAME", Value: 2},
+ {Name: "TIPC_ADDR_NAMESEQ", Value: 1},
+ {Name: "TIPC_CONN_TIMEOUT", Value: 130},
+ {Name: "TIPC_DEST_DROPPABLE", Value: 129},
+ {Name: "TIPC_GROUP_JOIN", Value: 135},
+ {Name: "TIPC_GROUP_LEAVE", Value: 136},
+ {Name: "TIPC_IMPORTANCE", Value: 127},
+ {Name: "TIPC_LINK_STATE", Value: 2},
+ {Name: "TIPC_MAX_LINK_NAME", Value: 68},
+ {Name: "TIPC_MCAST_BROADCAST", Value: 133},
+ {Name: "TIPC_MCAST_REPLICAST", Value: 134},
+ {Name: "TIPC_NODEID_LEN", Value: 16},
+ {Name: "TIPC_NODE_RECVQ_DEPTH", Value: 131},
+ {Name: "TIPC_NODE_SCOPE", Value: 3},
+ {Name: "TIPC_NODE_STATE"},
+ {Name: "TIPC_SERVICE_TYPE0", Value: 64},
+ {Name: "TIPC_SERVICE_TYPE1", Value: 65},
+ {Name: "TIPC_SERVICE_TYPE2", Value: 66},
+ {Name: "TIPC_SERVICE_TYPE3", Value: 67},
+ {Name: "TIPC_SOCK_RECVQ_DEPTH", Value: 132},
+ {Name: "TIPC_SRC_DROPPABLE", Value: 128},
+ {Name: "TIPC_TOP_SRV", Value: 1},
{Name: "TLS_1_2_VERSION", Value: 771},
{Name: "TLS_CIPHER_AES_GCM_128", Value: 51},
{Name: "TLS_RX", Value: 2},
@@ -41879,4 +42209,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "999064b4e9dc295245e0b6f514d8d4670be3c0bd"
+const revision_arm = "59befe7979e426ed0f73e1a8905580ac4eb7e923"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index 816226f43..9d05ccbb0 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -159,6 +159,7 @@ var resources_arm64 = []*ResourceDesc{
{Name: "sock_sctp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_sctp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_tcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_tcp"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_tcp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_tcp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
+ {Name: "sock_tipc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_tipc"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_udp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_udp"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_udp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_udp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_unix", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_unix"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
@@ -9450,6 +9451,17 @@ 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_tipc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_tipc", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Buf: "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}}, Buf: "msg_iov"},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 8, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 8}}, BitSize: 8, Buf: "msg_control"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "msg_flags", 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_un"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_un", TypeSize: 56}, Fields: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"},
@@ -17546,6 +17558,7 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc", Dir: 2}, FldName: "nfc"},
&StructType{Key: StructKey{Name: "sockaddr_vm", Dir: 2}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 2}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 2}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_generic", Dir: 2}, FldName: "generic"},
}}},
@@ -18046,6 +18059,7 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc_llcp"}, FldName: "nfc_llcp"},
&StructType{Key: StructKey{Name: "sockaddr_vm"}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp"}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc"}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet"}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_storage_generic"}, FldName: "generic"},
}}},
@@ -18074,6 +18088,7 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc_llcp", Dir: 1}, FldName: "nfc_llcp"},
&StructType{Key: StructKey{Name: "sockaddr_vm", Dir: 1}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 1}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 1}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, FldName: "generic"},
}}},
@@ -18115,6 +18130,75 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_storage_in"}, FldName: "in"},
&StructType{Key: StructKey{Name: "sockaddr_storage_in6"}, FldName: "in6"},
}}},
+ {Key: StructKey{Name: "sockaddr_tipc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]"}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]"}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]"}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 1}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 1}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 1}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 2}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 2}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 2}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr", Dir: 2}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name", Dir: 2}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range", Dir: 2}, FldName: "addr"},
+ }}},
{Key: StructKey{Name: "sockaddr_un"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_un", TypeSize: 110}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_un_file"}, FldName: "file"},
&StructType{Key: StructKey{Name: "sockaddr_un_abstract"}, FldName: "abs"},
@@ -19497,6 +19581,76 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 6},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "tipc_address_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr"}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_address_name", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr", Dir: 1}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_address_name", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr", Dir: 2}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_group_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_group_req", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}, Kind: 2, RangeBegin: 64, RangeEnd: 67},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "scope", TypeSize: 4}}, Kind: 2, RangeEnd: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "tipc_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd0", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd1", TypeSize: 4, ArgDir: 1}},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8, ArgDir: 2}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_sioc_ln_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_sioc_ln_req", TypeSize: 76}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "peer", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bearer_id", TypeSize: 4}}, Kind: 2, RangeEnd: 3},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "linkname", TypeSize: 68}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 68, RangeEnd: 68},
+ }}},
+ {Key: StructKey{Name: "tipc_sioc_nodeid_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_sioc_nodeid_req", TypeSize: 20}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "peer", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "linkname", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8, ArgDir: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
{Key: StructKey{Name: "tls_crypto_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tls_crypto_info", TypeSize: 4}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 2}}, Val: 771},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cipher_type", TypeSize: 2}}, Val: 51},
@@ -23146,6 +23300,12 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "accept_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2048, 524288}, BitMask: true},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 242, Name: "accept4$tipc", CallName: "accept4", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "accept_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2048, 524288}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 242, Name: "accept4$unix", CallName: "accept4", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -23272,6 +23432,11 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"},
}},
+ {NR: 200, Name: "bind$tipc", CallName: "bind", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"},
+ }},
{NR: 200, Name: "bind$unix", CallName: "bind", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
@@ -23558,6 +23723,11 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"},
}},
+ {NR: 203, Name: "connect$tipc", CallName: "connect", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"},
+ }},
{NR: 203, Name: "connect$unix", CallName: "connect", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
@@ -23994,6 +24164,11 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
}},
+ {NR: 205, Name: "getpeername$tipc", CallName: "getpeername", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
+ }},
{NR: 205, Name: "getpeername$unix", CallName: "getpeername", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -24075,6 +24250,11 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}},
}},
+ {NR: 204, Name: "getsockname$tipc", CallName: "getsockname", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}},
+ }},
{NR: 204, Name: "getsockname$unix", CallName: "getsockname", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -24262,6 +24442,55 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
+ {NR: 209, Name: "getsockopt$TIPC_CONN_TIMEOUT", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 130},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 209, Name: "getsockopt$TIPC_DEST_DROPPABLE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 129},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 209, Name: "getsockopt$TIPC_GROUP_JOIN", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 135},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 209, Name: "getsockopt$TIPC_IMPORTANCE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 127},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 209, Name: "getsockopt$TIPC_NODE_RECVQ_DEPTH", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 131},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 209, Name: "getsockopt$TIPC_SOCK_RECVQ_DEPTH", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 132},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 209, Name: "getsockopt$TIPC_SRC_DROPPABLE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 128},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
{NR: 209, Name: "getsockopt$XDP_MMAP_OFFSETS", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 283},
@@ -27734,6 +27963,16 @@ var syscalls_arm64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 8705},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
}},
+ {NR: 29, Name: "ioctl$SIOCGETLINKNAME", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35296},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tipc_sioc_ln_req"}}},
+ }},
+ {NR: 29, Name: "ioctl$SIOCGETNODEID", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35297},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tipc_sioc_nodeid_req"}}},
+ }},
{NR: 29, Name: "ioctl$SIOCGIFHWADDR", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35111},
@@ -31880,6 +32119,11 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_rds"}}},
&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$tipc", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_tipc"}}},
+ &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$unix", CallName: "sendmsg", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_un"}}},
@@ -32278,6 +32522,56 @@ var syscalls_arm64 = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timeval"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"},
}},
+ {NR: 208, Name: "setsockopt$TIPC_CONN_TIMEOUT", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 130},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 208, Name: "setsockopt$TIPC_DEST_DROPPABLE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 129},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 208, Name: "setsockopt$TIPC_GROUP_JOIN", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 135},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tipc_group_req"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 208, Name: "setsockopt$TIPC_GROUP_LEAVE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 136},
+ }},
+ {NR: 208, Name: "setsockopt$TIPC_IMPORTANCE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 127},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 208, Name: "setsockopt$TIPC_MCAST_BROADCAST", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 133},
+ }},
+ {NR: 208, Name: "setsockopt$TIPC_MCAST_REPLICAST", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 134},
+ }},
+ {NR: 208, Name: "setsockopt$TIPC_SRC_DROPPABLE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 128},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
{NR: 208, Name: "setsockopt$XDP_RX_RING", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 283},
@@ -34160,6 +34454,11 @@ var syscalls_arm64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 5},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rds", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 198, Name: "socket$tipc", CallName: "socket", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 30},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_socket_types", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 5, 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 198, Name: "socket$unix", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 5}},
@@ -34192,6 +34491,12 @@ var syscalls_arm64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nbd_sock_pair", Dir: 1}}},
}},
+ {NR: 199, Name: "socketpair$tipc", CallName: "socketpair", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 30},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_socket_types", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 5, 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tipc_pair", Dir: 1}}},
+ }},
{NR: 199, Name: "socketpair$unix", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 5}},
@@ -35483,6 +35788,7 @@ var consts_arm64 = []ConstValue{
{Name: "AF_PPPOX", Value: 24},
{Name: "AF_RDS", Value: 21},
{Name: "AF_SMC", Value: 43},
+ {Name: "AF_TIPC", Value: 30},
{Name: "AF_UNIX", Value: 1},
{Name: "AF_UNSPEC"},
{Name: "AF_VSOCK", Value: 40},
@@ -38021,6 +38327,7 @@ var consts_arm64 = []ConstValue{
{Name: "MASK_PROTO", Value: 1},
{Name: "MASK_ROUTING", Value: 32},
{Name: "MAXGENRELEN", Value: 32},
+ {Name: "MAX_BEARERS", Value: 3},
{Name: "MAX_BPF_REG", Value: 11},
{Name: "MAX_HEAP_NAME", Value: 32},
{Name: "MAX_IDLETIMER_LABEL_SIZE", Value: 28},
@@ -39452,6 +39759,8 @@ var consts_arm64 = []ConstValue{
{Name: "SIOCDIFADDR", Value: 35126},
{Name: "SIOCETHTOOL", Value: 35142},
{Name: "SIOCGARP", Value: 35156},
+ {Name: "SIOCGETLINKNAME", Value: 35296},
+ {Name: "SIOCGETNODEID", Value: 35297},
{Name: "SIOCGHWTSTAMP", Value: 35249},
{Name: "SIOCGIFADDR", Value: 35093},
{Name: "SIOCGIFBR", Value: 35136},
@@ -40357,6 +40666,29 @@ var consts_arm64 = []ConstValue{
{Name: "TIOCSSOFTCAR", Value: 21530},
{Name: "TIOCSTI", Value: 21522},
{Name: "TIOCSWINSZ", Value: 21524},
+ {Name: "TIPC_ADDR_ID", Value: 3},
+ {Name: "TIPC_ADDR_NAME", Value: 2},
+ {Name: "TIPC_ADDR_NAMESEQ", Value: 1},
+ {Name: "TIPC_CONN_TIMEOUT", Value: 130},
+ {Name: "TIPC_DEST_DROPPABLE", Value: 129},
+ {Name: "TIPC_GROUP_JOIN", Value: 135},
+ {Name: "TIPC_GROUP_LEAVE", Value: 136},
+ {Name: "TIPC_IMPORTANCE", Value: 127},
+ {Name: "TIPC_LINK_STATE", Value: 2},
+ {Name: "TIPC_MAX_LINK_NAME", Value: 68},
+ {Name: "TIPC_MCAST_BROADCAST", Value: 133},
+ {Name: "TIPC_MCAST_REPLICAST", Value: 134},
+ {Name: "TIPC_NODEID_LEN", Value: 16},
+ {Name: "TIPC_NODE_RECVQ_DEPTH", Value: 131},
+ {Name: "TIPC_NODE_SCOPE", Value: 3},
+ {Name: "TIPC_NODE_STATE"},
+ {Name: "TIPC_SERVICE_TYPE0", Value: 64},
+ {Name: "TIPC_SERVICE_TYPE1", Value: 65},
+ {Name: "TIPC_SERVICE_TYPE2", Value: 66},
+ {Name: "TIPC_SERVICE_TYPE3", Value: 67},
+ {Name: "TIPC_SOCK_RECVQ_DEPTH", Value: 132},
+ {Name: "TIPC_SRC_DROPPABLE", Value: 128},
+ {Name: "TIPC_TOP_SRV", Value: 1},
{Name: "TLS_1_2_VERSION", Value: 771},
{Name: "TLS_CIPHER_AES_GCM_128", Value: 51},
{Name: "TLS_RX", Value: 2},
@@ -42104,4 +42436,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "7b7f23000fc51c9dad1f7b00313cdf29d9241b11"
+const revision_arm64 = "5fbe82dc384a8f7d13cb813b2bb94655183fa4db"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index 97f4739ae..e75503334 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -152,6 +152,7 @@ var resources_ppc64le = []*ResourceDesc{
{Name: "sock_sctp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_sctp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_tcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_tcp"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_tcp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_tcp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
+ {Name: "sock_tipc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_tipc"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_udp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_udp"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_udp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_udp6"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
{Name: "sock_unix", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_unix"}, Values: []uint64{18446744073709551615, 18446744073709551516}},
@@ -9373,6 +9374,17 @@ 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_tipc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_tipc", TypeSize: 56}, Fields: []Type{
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_name", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "msg_namelen", TypeSize: 4}}, Buf: "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}}, Buf: "msg_iov"},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg_control", TypeSize: 8, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 8}}, BitSize: 8, Buf: "msg_control"},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "msg_flags", 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_un"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_un", TypeSize: 56}, Fields: []Type{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"},
@@ -17428,6 +17440,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc", Dir: 2}, FldName: "nfc"},
&StructType{Key: StructKey{Name: "sockaddr_vm", Dir: 2}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 2}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 2}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_generic", Dir: 2}, FldName: "generic"},
}}},
@@ -17928,6 +17941,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc_llcp"}, FldName: "nfc_llcp"},
&StructType{Key: StructKey{Name: "sockaddr_vm"}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp"}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc"}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet"}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_storage_generic"}, FldName: "generic"},
}}},
@@ -17956,6 +17970,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_nfc_llcp", Dir: 1}, FldName: "nfc_llcp"},
&StructType{Key: StructKey{Name: "sockaddr_vm", Dir: 1}, FldName: "vsock"},
&StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 1}, FldName: "xdp"},
+ &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}, FldName: "tipc"},
&StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 1}, FldName: "ethernet"},
&StructType{Key: StructKey{Name: "sockaddr_storage_generic", Dir: 1}, FldName: "generic"},
}}},
@@ -17997,6 +18012,75 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "sockaddr_storage_in"}, FldName: "in"},
&StructType{Key: StructKey{Name: "sockaddr_storage_in6"}, FldName: "in6"},
}}},
+ {Key: StructKey{Name: "sockaddr_tipc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]"}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]"}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]"}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 1}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 1}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 1}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 2}, FldName: "nameseq"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 2}, FldName: "name"},
+ &StructType{Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 2}, FldName: "id"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_ID, tipc_socket_addr]", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 3},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_socket_addr", Dir: 2}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAME, tipc_address_name]", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 2},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_address_name", Dir: 2}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range"}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16, ArgDir: 1}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 1}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 1}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 1}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range", Dir: 1}, FldName: "addr"},
+ }}},
+ {Key: StructKey{Name: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_tipc_t[TIPC_ADDR_NAMESEQ, tipc_service_range]", TypeSize: 16, ArgDir: 2}, Fields: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2, ArgDir: 2}}, Val: 30},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "addrtype", TypeSize: 1, ArgDir: 2}}, Val: 1},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "scope", TypeSize: 1, ArgDir: 2}}},
+ &StructType{Key: StructKey{Name: "tipc_service_range", Dir: 2}, FldName: "addr"},
+ }}},
{Key: StructKey{Name: "sockaddr_un"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_un", TypeSize: 110}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_un_file"}, FldName: "file"},
&StructType{Key: StructKey{Name: "sockaddr_un_abstract"}, FldName: "abs"},
@@ -19303,6 +19387,76 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "subcode", TypeSize: 1}}, Val: 6},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
}}},
+ {Key: StructKey{Name: "tipc_address_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr"}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_address_name", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr", Dir: 1}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_address_name", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_address_name", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "tipc_service_addr", Dir: 2}, FldName: "name"},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "domain", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_group_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_group_req", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}, Kind: 2, RangeBegin: 64, RangeEnd: 67},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "scope", TypeSize: 4}}, Kind: 2, RangeEnd: 3},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "tipc_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd0", TypeSize: 4, ArgDir: 1}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd1", TypeSize: 4, ArgDir: 1}},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_addr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_addr", TypeSize: 8, ArgDir: 2}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "instance", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12, ArgDir: 1}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_service_range", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_service_range", TypeSize: 12, ArgDir: 2}, Fields: []Type{
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_service_type", FldName: "type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 64, 65, 66, 67}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "lower", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "upper", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_sioc_ln_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_sioc_ln_req", TypeSize: 76}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "peer", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bearer_id", TypeSize: 4}}, Kind: 2, RangeEnd: 3},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "linkname", TypeSize: 68}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 68, RangeEnd: 68},
+ }}},
+ {Key: StructKey{Name: "tipc_sioc_nodeid_req"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_sioc_nodeid_req", TypeSize: 20}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "peer", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "linkname", TypeSize: 16}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8, ArgDir: 1}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 4},
+ }}},
+ {Key: StructKey{Name: "tipc_socket_addr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tipc_socket_addr", TypeSize: 8, ArgDir: 2}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ref", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "node", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 4},
+ }}},
{Key: StructKey{Name: "tls_crypto_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tls_crypto_info", TypeSize: 4}, Fields: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 2}}, Val: 771},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cipher_type", TypeSize: 2}}, Val: 51},
@@ -22157,6 +22311,12 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "accept_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2048, 524288}, BitMask: true},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 344, Name: "accept4$tipc", CallName: "accept4", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "accept_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2048, 524288}, BitMask: true},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 344, Name: "accept4$unix", CallName: "accept4", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -22286,6 +22446,11 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"},
}},
+ {NR: 327, Name: "bind$tipc", CallName: "bind", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"},
+ }},
{NR: 327, Name: "bind$unix", CallName: "bind", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
@@ -22581,6 +22746,11 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_in"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"},
}},
+ {NR: 328, Name: "connect$tipc", CallName: "connect", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"},
+ }},
{NR: 328, Name: "connect$unix", CallName: "connect", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un"}}},
@@ -23047,6 +23217,11 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
}},
+ {NR: 332, Name: "getpeername$tipc", CallName: "getpeername", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "peer"}},
+ }},
{NR: 332, Name: "getpeername$unix", CallName: "getpeername", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -23131,6 +23306,11 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}},
}},
+ {NR: 331, Name: "getsockname$tipc", CallName: "getsockname", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 1}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}},
+ }},
{NR: 331, Name: "getsockname$unix", CallName: "getsockname", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}}},
@@ -23318,6 +23498,55 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
+ {NR: 340, Name: "getsockopt$TIPC_CONN_TIMEOUT", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 130},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 340, Name: "getsockopt$TIPC_DEST_DROPPABLE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 129},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 340, Name: "getsockopt$TIPC_GROUP_JOIN", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 135},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 340, Name: "getsockopt$TIPC_IMPORTANCE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 127},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 340, Name: "getsockopt$TIPC_NODE_RECVQ_DEPTH", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 131},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 340, Name: "getsockopt$TIPC_SOCK_RECVQ_DEPTH", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 132},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
+ {NR: 340, Name: "getsockopt$TIPC_SRC_DROPPABLE", CallName: "getsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 128},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "val"}},
+ }},
{NR: 340, Name: "getsockopt$XDP_MMAP_OFFSETS", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 283},
@@ -26776,6 +27005,16 @@ var syscalls_ppc64le = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 8705},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
}},
+ {NR: 54, Name: "ioctl$SIOCGETLINKNAME", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35296},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tipc_sioc_ln_req"}}},
+ }},
+ {NR: 54, Name: "ioctl$SIOCGETNODEID", CallName: "ioctl", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35297},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tipc_sioc_nodeid_req"}}},
+ }},
{NR: 54, Name: "ioctl$SIOCGIFHWADDR", CallName: "ioctl", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "fd_tun", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35111},
@@ -30292,6 +30531,11 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_rds"}}},
&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$tipc", CallName: "sendmsg", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_tipc"}}},
+ &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$unix", CallName: "sendmsg", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_un"}}},
@@ -30690,6 +30934,56 @@ var syscalls_ppc64le = []*Syscall{
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timeval"}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "val"},
}},
+ {NR: 339, Name: "setsockopt$TIPC_CONN_TIMEOUT", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 130},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 339, Name: "setsockopt$TIPC_DEST_DROPPABLE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 129},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 339, Name: "setsockopt$TIPC_GROUP_JOIN", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 135},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tipc_group_req"}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 339, Name: "setsockopt$TIPC_GROUP_LEAVE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 136},
+ }},
+ {NR: 339, Name: "setsockopt$TIPC_IMPORTANCE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 127},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
+ {NR: 339, Name: "setsockopt$TIPC_MCAST_BROADCAST", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 133},
+ }},
+ {NR: 339, Name: "setsockopt$TIPC_MCAST_REPLICAST", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 134},
+ }},
+ {NR: 339, Name: "setsockopt$TIPC_SRC_DROPPABLE", CallName: "setsockopt", Args: []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "fd", TypeSize: 4}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 271},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 128},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"},
+ }},
{NR: 339, Name: "setsockopt$XDP_RX_RING", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_xdp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 283},
@@ -32520,6 +32814,11 @@ var syscalls_ppc64le = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 5},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rds", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
+ {NR: 326, Name: "socket$tipc", CallName: "socket", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 30},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_socket_types", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 5, 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
+ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tipc", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 326, Name: "socket$unix", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 5}},
@@ -32552,6 +32851,12 @@ var syscalls_ppc64le = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nbd_sock_pair", Dir: 1}}},
}},
+ {NR: 333, Name: "socketpair$tipc", CallName: "socketpair", Args: []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 30},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tipc_socket_types", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 5, 2}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
+ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tipc_pair", Dir: 1}}},
+ }},
{NR: 333, Name: "socketpair$unix", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 1},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "unix_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 5}},
@@ -33878,6 +34183,7 @@ var consts_ppc64le = []ConstValue{
{Name: "AF_PPPOX", Value: 24},
{Name: "AF_RDS", Value: 21},
{Name: "AF_SMC", Value: 43},
+ {Name: "AF_TIPC", Value: 30},
{Name: "AF_UNIX", Value: 1},
{Name: "AF_UNSPEC"},
{Name: "AF_VSOCK", Value: 40},
@@ -36404,6 +36710,7 @@ var consts_ppc64le = []ConstValue{
{Name: "MASK_PROTO", Value: 1},
{Name: "MASK_ROUTING", Value: 32},
{Name: "MAXGENRELEN", Value: 32},
+ {Name: "MAX_BEARERS", Value: 3},
{Name: "MAX_BPF_REG", Value: 11},
{Name: "MAX_HEAP_NAME", Value: 32},
{Name: "MAX_IDLETIMER_LABEL_SIZE", Value: 28},
@@ -37753,6 +38060,8 @@ var consts_ppc64le = []ConstValue{
{Name: "SIOCDIFADDR", Value: 35126},
{Name: "SIOCETHTOOL", Value: 35142},
{Name: "SIOCGARP", Value: 35156},
+ {Name: "SIOCGETLINKNAME", Value: 35296},
+ {Name: "SIOCGETNODEID", Value: 35297},
{Name: "SIOCGHWTSTAMP", Value: 35249},
{Name: "SIOCGIFADDR", Value: 35093},
{Name: "SIOCGIFBR", Value: 35136},
@@ -38634,6 +38943,29 @@ var consts_ppc64le = []ConstValue{
{Name: "TIOCSPGRP", Value: 2147775606},
{Name: "TIOCSSOFTCAR", Value: 21530},
{Name: "TIOCSTI", Value: 21522},
+ {Name: "TIPC_ADDR_ID", Value: 3},
+ {Name: "TIPC_ADDR_NAME", Value: 2},
+ {Name: "TIPC_ADDR_NAMESEQ", Value: 1},
+ {Name: "TIPC_CONN_TIMEOUT", Value: 130},
+ {Name: "TIPC_DEST_DROPPABLE", Value: 129},
+ {Name: "TIPC_GROUP_JOIN", Value: 135},
+ {Name: "TIPC_GROUP_LEAVE", Value: 136},
+ {Name: "TIPC_IMPORTANCE", Value: 127},
+ {Name: "TIPC_LINK_STATE", Value: 2},
+ {Name: "TIPC_MAX_LINK_NAME", Value: 68},
+ {Name: "TIPC_MCAST_BROADCAST", Value: 133},
+ {Name: "TIPC_MCAST_REPLICAST", Value: 134},
+ {Name: "TIPC_NODEID_LEN", Value: 16},
+ {Name: "TIPC_NODE_RECVQ_DEPTH", Value: 131},
+ {Name: "TIPC_NODE_SCOPE", Value: 3},
+ {Name: "TIPC_NODE_STATE"},
+ {Name: "TIPC_SERVICE_TYPE0", Value: 64},
+ {Name: "TIPC_SERVICE_TYPE1", Value: 65},
+ {Name: "TIPC_SERVICE_TYPE2", Value: 66},
+ {Name: "TIPC_SERVICE_TYPE3", Value: 67},
+ {Name: "TIPC_SOCK_RECVQ_DEPTH", Value: 132},
+ {Name: "TIPC_SRC_DROPPABLE", Value: 128},
+ {Name: "TIPC_TOP_SRV", Value: 1},
{Name: "TLS_1_2_VERSION", Value: 771},
{Name: "TLS_CIPHER_AES_GCM_128", Value: 51},
{Name: "TLS_RX", Value: 2},
@@ -39462,4 +39794,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "593afc8abc0bfe571d26ecd978077abef6ec08c0"
+const revision_ppc64le = "e8e82ccc3c76e1ad848ad39e9ce736f85d57ccef"