diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-12-24 16:52:56 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-24 18:56:06 +0100 |
| commit | dd61e58d94240df628a568c5609b1441746f4a54 (patch) | |
| tree | e3af3214314c85e0cd614f642d391bdbf9d707ce /sys/linux | |
| parent | dd2986b43bc0024340006833d6a7f05ec94c061c (diff) | |
sys/linux: extend AX25/ROSE/NETROM descriptions
Diffstat (limited to 'sys/linux')
38 files changed, 3706 insertions, 684 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 875c84692..7b54e3669 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -152,6 +152,7 @@ var resources_386 = []*ResourceDesc{ {Name: "sock_pppox", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_pptp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pptp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_rds", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_rds"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "sock_rose", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_rose"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_sctp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_sctp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {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}}, @@ -189,6 +190,33 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "action_gd_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "action_gd_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_TAB, int16], array[nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_kind_index]]]"}, FldName: "TCA_ACT_TAB"}, }}}, + {Key: StructKey{Name: "address_netrom_dev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "address_netrom_dev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "address_netrom_dev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "alg_aead_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alg_aead_name", TypeSize: 64}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, }}}, @@ -401,13 +429,180 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, {Key: StructKey{Name: "ax25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default"}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null"}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev"}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev"}, FldName: "rose"}, }}}, {Key: StructKey{Name: "ax25_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7, ArgDir: 1}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7, ArgDir: 1}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote", Dir: 1}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast", Dir: 1}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default", Dir: 1}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null", Dir: 1}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev", Dir: 1}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 1}, FldName: "rose"}, }}}, {Key: StructKey{Name: "ax25_address", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7, ArgDir: 2}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7, ArgDir: 2}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote", Dir: 2}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast", Dir: 2}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default", Dir: 2}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null", Dir: 2}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev", Dir: 2}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 2}, FldName: "rose"}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ax25_address_default"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_default", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_default", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_null"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_null", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_null", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ax25_address_remote"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_address_remote", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_address_remote", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_ctl_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_ctl_struct", TypeSize: 92}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "source_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_ctl_cmd", FldName: "cmd", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 99}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "digi_count", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digi_addr", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_devname"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "ax25_devname_rose"}, FldName: "rose"}, + &StructType{Key: StructKey{Name: "ax25_devname_netrom"}, FldName: "netrom"}, + }}}, + {Key: StructKey{Name: "ax25_devname_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname_netrom", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 2}, Kind: 2, Values: []string{"nr"}, NoZ: true}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 1}}, ValuesStart: 48, ValuesPerProc: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "z", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 12}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_devname_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname_rose", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"rose"}, NoZ: true}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 1}}, ValuesStart: 48, ValuesPerProc: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "z", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 10}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_fwd_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_fwd_struct", TypeSize: 14}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_from"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_to"}, + }}}, + {Key: StructKey{Name: "ax25_route_opt_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_route_opt_struct", TypeSize: 24}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_route_ipmodes", FldName: "arg", TypeSize: 4}}, Vals: []uint64{32, 68, 86}}, + }}}, + {Key: StructKey{Name: "ax25_routes_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_routes_struct", TypeSize: 71}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "digi_count", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digi_addr", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, }}}, {Key: StructKey{Name: "bdaddr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bdaddr", TypeSize: 6}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "addr0", TypeSize: 1}}}, @@ -4793,11 +4988,29 @@ var structDescs_386 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "full_sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "fsa_ax25"}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &StructType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, }}}, {Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72, ArgDir: 1}, Fields: []Type{ &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "fsa_ax25"}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56, ArgDir: 1}, Type: &StructType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56, ArgDir: 1}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "full_sockaddr_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_rose", TypeSize: 64}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srose_ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "srose_digis", TypeSize: 42}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "full_sockaddr_rose", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_rose", TypeSize: 64, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2, ArgDir: 1}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address", Dir: 1}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srose_ndigis", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "srose_digis", TypeSize: 42, ArgDir: 1}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, {Key: StructKey{Name: "fuse_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fuse_attr", TypeSize: 88}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ino", TypeSize: 8}}, Kind: 2, RangeEnd: 6}, @@ -7566,6 +7779,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]"}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]"}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev"}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4}, ArgFormat: 1}, Val: 3758096386}, @@ -7577,6 +7791,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]", Dir: 1}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]", Dir: 1}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]", Dir: 1}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev", Dir: 1}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 3758096386}, @@ -7588,11 +7803,30 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]", Dir: 2}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]", Dir: 2}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]", Dir: 2}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev", Dir: 2}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 3758096386}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "broadcast", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 4294967295}, }}}, + {Key: StructKey{Name: "ipv4_addr_initdev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv4_addr_initdev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 1}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 1}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1, ArgDir: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv4_addr_initdev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 2}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 2}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1, ArgDir: 2}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_t[const[170, int8]]", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 172}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 20}, @@ -7751,6 +7985,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]"}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]"}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev"}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback"}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4"}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1"}, FldName: "mcast1"}, @@ -7761,6 +7996,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]", Dir: 1}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]", Dir: 1}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]", Dir: 1}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev", Dir: 1}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback", Dir: 1}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4", Dir: 1}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1", Dir: 1}, FldName: "mcast1"}, @@ -7771,6 +8007,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]", Dir: 2}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]", Dir: 2}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]", Dir: 2}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev", Dir: 2}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback", Dir: 2}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4", Dir: 2}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1", Dir: 2}, FldName: "mcast1"}, @@ -7785,6 +8022,27 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "ipv6_addr_empty", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_empty", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 16, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }}}, + {Key: StructKey{Name: "ipv6_addr_initdev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv6_addr_initdev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 1}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 1}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1, ArgDir: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv6_addr_initdev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 2}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 2}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1, ArgDir: 2}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "ipv6_addr_ipv4"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_ipv4", TypeSize: 16}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 10}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 10, RangeEnd: 10}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a1", TypeSize: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 255}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, @@ -10011,24 +10269,6 @@ 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_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", TypeSize: 28}, Fields: []Type{ - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 4}}, Buf: "vec"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ctrl", TypeSize: 4, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cmsghdr"}}}}, - &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_netrom", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", TypeSize: 28, ArgDir: 2}, Fields: []Type{ - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 4, ArgDir: 2}}, Buf: "vec"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ctrl", TypeSize: 4, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cmsghdr"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "ctrllen", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "ctrl"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, - }}}, {Key: StructKey{Name: "msghdr_nl_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_nl_netfilter", TypeSize: 28}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, @@ -16047,6 +16287,20 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"vlan\", array[m_vlan_options]]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nr_route_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nr_route_struct", TypeSize: 120}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nr_route_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "callsign"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ax25_devname"}, FldName: "device"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "quality", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "mnemonic", TypeSize: 7}, Kind: 2, SubKind: "nr_route_mnemonics", Values: []string{"syz0\x00\x00\x00", "syz1\x00\x00\x00"}}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "neighbour"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "obs_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digipeaters", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 8}}, IsPad: true}, + }}}, {Key: StructKey{Name: "ntfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ntfs_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "fs_opt[\"uid\", fmt[hex, uid]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", fmt[hex, gid]]"}, FldName: "gid"}, @@ -17357,6 +17611,60 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "futex_offset", TypeSize: 4, ArgDir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "list_op_pending", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "robust_list"}}}, }}}, + {Key: StructKey{Name: "rose_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address", TypeSize: 5}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rose_address_remote"}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "rose_address_dev"}, FldName: "dev"}, + }}}, + {Key: StructKey{Name: "rose_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rose_address_remote", Dir: 1}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 1}, FldName: "dev"}, + }}}, + {Key: StructKey{Name: "rose_address_dev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_dev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_dev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_remote"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_remote", TypeSize: 5}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "rose_address_remote", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_remote", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "rose_route_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_route_struct", TypeSize: 108}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "address"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mask", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "neighbour"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 9}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ax25_devname"}, FldName: "device"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "ndigis", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digipeaters", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 11}}, IsPad: true}, + }}}, {Key: StructKey{Name: "rseq"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rseq", TypeSize: 32}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cpu_id_start", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cpu_id", TypeSize: 4}}}, @@ -18678,21 +18986,27 @@ var structDescs_386 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 8}, }}}, {Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16, ArgDir: 1}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2, ArgDir: 1}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 8}, }}}, {Key: StructKey{Name: "sockaddr_ax25", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2, ArgDir: 2}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address", Dir: 2}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 2}, FldName: "sax25_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "sockaddr_ax25_uid"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25_uid", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2}}, Val: 3}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "sax25_ndigis", TypeSize: 4}}, }}}, {Key: StructKey{Name: "sockaddr_can"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_can", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "can_family", TypeSize: 2}}, Val: 29}, @@ -18947,14 +19261,6 @@ var structDescs_386 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "mac_addr", Dir: 2}, FldName: "sll_addr"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, - {Key: StructKey{Name: "sockaddr_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "ax25"}, - &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}, FldName: "full"}, - }}}, - {Key: StructKey{Name: "sockaddr_netrom", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", ArgDir: 1, IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "ax25"}, - &StructType{Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, FldName: "full"}, - }}}, {Key: StructKey{Name: "sockaddr_nfc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 39}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, @@ -19118,6 +19424,32 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, &StructType{Key: StructKey{Name: "sockaddr_ib"}, FldName: "ib"}, }}}, + {Key: StructKey{Name: "sockaddr_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose", TypeSize: 28}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_ndigis", TypeSize: 4}}, Val: 1}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_digi"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "sockaddr_rose", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose", TypeSize: 28, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2, ArgDir: 1}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address", Dir: 1}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_ndigis", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_digi"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "sockaddr_rose_any"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose_any", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_rose"}, FldName: "short"}, + &StructType{Key: StructKey{Name: "full_sockaddr_rose"}, FldName: "full"}, + }}}, + {Key: StructKey{Name: "sockaddr_rose_any", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose_any", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_rose", Dir: 1}, FldName: "short"}, + &StructType{Key: StructKey{Name: "full_sockaddr_rose", Dir: 1}, FldName: "full"}, + }}}, {Key: StructKey{Name: "sockaddr_sco"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 2}}, Val: 31}, &StructType{Key: StructKey{Name: "bdaddr"}, FldName: "addr"}, @@ -19137,7 +19469,7 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "sockaddr_storage"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", TypeSize: 128}, Fields: []Type{ &UnionType{Key: StructKey{Name: "sockaddr_un"}, FldName: "un"}, &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "in"}, - &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "ax25"}, + &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}, FldName: "ax25"}, &StructType{Key: StructKey{Name: "sockaddr_ipx"}, FldName: "ipx"}, &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, &UnionType{Key: StructKey{Name: "sockaddr_nl"}, FldName: "nl"}, @@ -19166,7 +19498,7 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "sockaddr_storage", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", TypeSize: 128, ArgDir: 1}, Fields: []Type{ &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}, FldName: "un"}, &StructType{Key: StructKey{Name: "sockaddr_in", Dir: 1}, FldName: "in"}, - &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "ax25"}, + &StructType{Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, FldName: "ax25"}, &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}, FldName: "ipx"}, &StructType{Key: StructKey{Name: "sockaddr_in6", Dir: 1}, FldName: "in6"}, &UnionType{Key: StructKey{Name: "sockaddr_nl", Dir: 1}, FldName: "nl"}, @@ -24636,7 +24968,7 @@ var syscalls_386 = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_algconn", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 364, Name: "accept4$ax25", CallName: "accept4", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -24672,7 +25004,7 @@ var syscalls_386 = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 364, Name: "accept4$netrom", CallName: "accept4", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -24688,6 +25020,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$rose", CallName: "accept4", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any", 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_rose", 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}}}, @@ -24776,7 +25114,7 @@ var syscalls_386 = []*Syscall{ }}, {NR: 361, Name: "bind$ax25", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, {NR: 361, Name: "bind$bt_hci", CallName: "bind", Args: []Type{ @@ -24831,7 +25169,7 @@ var syscalls_386 = []*Syscall{ }}, {NR: 361, Name: "bind$netrom", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, {NR: 361, Name: "bind$nfc_llcp", CallName: "bind", Args: []Type{ @@ -24854,6 +25192,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$rose", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &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"}}}, @@ -25066,7 +25409,7 @@ var syscalls_386 = []*Syscall{ }}, {NR: 362, Name: "connect$ax25", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, {NR: 362, Name: "connect$bt_l2cap", CallName: "connect", Args: []Type{ @@ -25121,7 +25464,7 @@ var syscalls_386 = []*Syscall{ }}, {NR: 362, Name: "connect$netrom", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, {NR: 362, Name: "connect$nfc_llcp", CallName: "connect", Args: []Type{ @@ -25154,6 +25497,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$rose", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &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"}}}, @@ -25590,7 +25938,7 @@ var syscalls_386 = []*Syscall{ }}, {NR: 368, Name: "getpeername$ax25", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$inet", CallName: "getpeername", Args: []Type{ @@ -25620,7 +25968,7 @@ var syscalls_386 = []*Syscall{ }}, {NR: 368, Name: "getpeername$netrom", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$packet", CallName: "getpeername", Args: []Type{ @@ -25679,7 +26027,7 @@ var syscalls_386 = []*Syscall{ }}, {NR: 367, Name: "getsockname$ax25", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$inet", CallName: "getsockname", Args: []Type{ @@ -25709,7 +26057,7 @@ var syscalls_386 = []*Syscall{ }}, {NR: 367, Name: "getsockname$netrom", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$packet", CallName: "getsockname", Args: []Type{ @@ -25972,13 +26320,6 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 24, ArgDir: 1}, Kind: 1, RangeBegin: 24, RangeEnd: 24}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4}}, BitSize: 8, Buf: "val"}}, }}, - {NR: 365, Name: "getsockopt$ax25_buf", CallName: "getsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 257}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_option_types_buf", FldName: "optname", TypeSize: 4}}, Vals: []uint64{25}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, - &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$ax25_int", CallName: "getsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 257}, @@ -27036,6 +27377,13 @@ 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$rose", CallName: "getsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 260}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rose_sockopts", FldName: "opt", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "arg"}}, + }}, {NR: 365, Name: "getsockopt$sock_buf", CallName: "getsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, @@ -29555,6 +29903,56 @@ 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$SIOCAX25ADDFWD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35306}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ax25_fwd_struct"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25ADDUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", 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: "sockaddr_ax25_uid"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25CTLCON", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35304}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ax25_ctl_struct"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25DELFWD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35307}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ax25_fwd_struct"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25DELUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35298}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25_uid"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25GETINFO", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35309}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 76, ArgDir: 1}, Kind: 1, RangeBegin: 76, RangeEnd: 76}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25GETINFOOLD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35305}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 52, ArgDir: 1}, Kind: 1, RangeBegin: 52, RangeEnd: 52}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25GETUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", 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: "sockaddr_ax25_uid"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25NOUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35299}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}, Kind: 2, RangeEnd: 1}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25OPTRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35303}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ax25_route_opt_struct"}}}, + }}, {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}, @@ -29575,6 +29973,44 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35105}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]", Dir: 1}}}, }}, + {NR: 54, Name: "ioctl$SIOCGSTAMP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35078}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "timeval", Dir: 1}}}, + }}, + {NR: 54, Name: "ioctl$SIOCGSTAMPNS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35079}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "timespec", Dir: 1}}}, + }}, + {NR: 54, Name: "ioctl$SIOCNRDECOBS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35298}, + }}, + {NR: 54, Name: "ioctl$SIOCRSACCEPT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35299}, + }}, + {NR: 54, Name: "ioctl$SIOCRSGCAUSE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", 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: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$SIOCRSGL2CALL", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35301}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}}, + }}, + {NR: 54, Name: "ioctl$SIOCRSSCAUSE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", 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: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}}, + }}, + {NR: 54, Name: "ioctl$SIOCRSSL2CALL", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35298}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}}, + }}, {NR: 54, Name: "ioctl$SIOCSIFHWADDR", 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: 35108}, @@ -31175,10 +31611,25 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35074}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", TypeSize: 4}}}, }}, - {NR: 54, Name: "ioctl$sock_bt", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt", FldName: "fd", TypeSize: 4}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bt_ioctl", FldName: "cmd", TypeSize: 4}}, Vals: []uint64{21521, 21531, 35078, 35079}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 2, IsVarlen: true}}}, + {NR: 54, Name: "ioctl$sock_TIOCINQ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21531}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$sock_TIOCOUTQ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21521}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$sock_ax25_SIOCADDRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35083}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ax25_routes_struct"}}}, + }}, + {NR: 54, Name: "ioctl$sock_ax25_SIOCDELRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ax25_routes_struct"}}}, }}, {NR: 54, Name: "ioctl$sock_bt_bnep_BNEPCONNADD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt_bnep", FldName: "fd", TypeSize: 4}}, @@ -31483,33 +31934,32 @@ var syscalls_386 = []*Syscall{ {NR: 54, Name: "ioctl$sock_netrom_SIOCADDRT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35083}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 54, Name: "ioctl$sock_netrom_SIOCGSTAMP", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35078}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "nr_route_struct"}}}, }}, - {NR: 54, Name: "ioctl$sock_netrom_SIOCGSTAMPNS", CallName: "ioctl", Args: []Type{ + {NR: 54, Name: "ioctl$sock_netrom_SIOCDELRT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35079}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 54, Name: "ioctl$sock_netrom_TIOCINQ", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21531}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 54, Name: "ioctl$sock_netrom_TIOCOUTQ", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21521}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "nr_route_struct"}}}, }}, {NR: 54, Name: "ioctl$sock_proto_private", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cmd", TypeSize: 2}}, Kind: 2, RangeBegin: 35296, RangeEnd: 35311}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, }}, + {NR: 54, Name: "ioctl$sock_rose_SIOCADDRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35083}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rose_route_struct"}}}, + }}, + {NR: 54, Name: "ioctl$sock_rose_SIOCDELRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rose_route_struct"}}}, + }}, + {NR: 54, Name: "ioctl$sock_rose_SIOCRSCLRRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35300}, + }}, {NR: 54, Name: "ioctl$void", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ioctl_void", FldName: "cmd", TypeSize: 4}}, Vals: []uint64{21585, 21584, 3221510264}}, @@ -31720,10 +32170,6 @@ var syscalls_386 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, }}, - {NR: 363, Name: "listen$netrom", CallName: "listen", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, - }}, {NR: 232, Name: "listxattr", CallName: "listxattr", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "list", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -33162,10 +33608,10 @@ var syscalls_386 = []*Syscall{ }}, {NR: 371, Name: "recvfrom$ax25", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, {NR: 371, Name: "recvfrom$inet", CallName: "recvfrom", Args: []Type{ @@ -33200,6 +33646,14 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, + {NR: 371, Name: "recvfrom$netrom", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, + }}, {NR: 371, Name: "recvfrom$packet", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -33208,6 +33662,14 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, + {NR: 371, Name: "recvfrom$rose", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, + }}, {NR: 371, Name: "recvfrom$unix", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -33233,11 +33695,6 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "recv_msghdr", Dir: 2}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, }}, - {NR: 372, Name: "recvmsg$netrom", CallName: "recvmsg", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netrom", Dir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, - }}, {NR: 257, Name: "remap_file_pages", CallName: "remap_file_pages", Args: []Type{ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Buf: "addr"}, @@ -33797,11 +34254,6 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink_full[netlink_msg_t[netlink_random_msg_type, void, nl_generic_attr]]"}}}, &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$netrom", CallName: "sendmsg", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netrom"}}}, - &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$nfc_llcp", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "nfc_llcp_send_msghdr"}}}, @@ -33867,10 +34319,10 @@ var syscalls_386 = []*Syscall{ }}, {NR: 369, Name: "sendto$ax25", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, &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}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, {NR: 369, Name: "sendto$inet", CallName: "sendto", Args: []Type{ @@ -33905,6 +34357,14 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, + {NR: 369, Name: "sendto$netrom", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + &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}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, + }}, {NR: 369, Name: "sendto$packet", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, @@ -33913,6 +34373,14 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, + {NR: 369, Name: "sendto$rose", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + &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}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, + }}, {NR: 369, Name: "sendto$unix", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, @@ -34333,11 +34801,11 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "xdp_umem_reg"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "val"}, }}, - {NR: 366, Name: "setsockopt$ax25_buf", CallName: "setsockopt", Args: []Type{ + {NR: 366, Name: "setsockopt$ax25_SO_BINDTODEVICE", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 257}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_option_types_buf", FldName: "optname", TypeSize: 4}}, Vals: []uint64{25}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 25}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "ax25_devname"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 4}}, Buf: "optval"}, }}, {NR: 366, Name: "setsockopt$ax25_int", CallName: "setsockopt", Args: []Type{ @@ -35768,6 +36236,13 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "tpacket_req_u"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 4}}, Buf: "optval"}, }}, + {NR: 366, Name: "setsockopt$rose", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 260}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rose_sockopts", FldName: "opt", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", TypeSize: 4}}, Buf: "arg"}, + }}, {NR: 366, Name: "setsockopt$sock_attach_bpf", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, @@ -35933,11 +36408,6 @@ 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_alg", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 359, Name: "socket$ax25", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 3}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_socket_types", FldName: "type", TypeSize: 4}}, Vals: []uint64{2, 5, 3}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_protocols", FldName: "proto", TypeSize: 4}}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 359, Name: "socket$bt_bnep", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 4}}, Val: 31}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, @@ -36078,11 +36548,6 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_proto", FldName: "proto", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 4, 22}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 359, Name: "socket$netrom", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 6}, - &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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 359, Name: "socket$nl_crypto", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, @@ -36275,6 +36740,11 @@ var syscalls_386 = []*Syscall{ {Name: "syz_genetlink_get_family_id$tipc2", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 7}, Kind: 2, Values: []string{"TIPCv2\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_tipc2_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_init_net_socket$ax25", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_socket_types", FldName: "type", TypeSize: 4}}, Vals: []uint64{2, 5, 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_protocols", FldName: "proto", TypeSize: 4}}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_init_net_socket$bt_hci", CallName: "syz_init_net_socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 4}}, Val: 31}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, @@ -36295,6 +36765,11 @@ var syscalls_386 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "llc_socket_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{2, 1}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_init_net_socket$netrom", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 6}, + &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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_init_net_socket$nfc_llcp", CallName: "syz_init_net_socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 39}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfc_llcp_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3}}, @@ -36305,6 +36780,11 @@ var syscalls_386 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfc_raw_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_init_net_socket$rose", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 11}, + &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_rose", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_kvm_setup_cpu$arm64", CallName: "syz_kvm_setup_cpu", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "cpufd", TypeSize: 4}}, @@ -37508,6 +37988,7 @@ var consts_386 = []ConstValue{ {Name: "AF_PACKET", Value: 17}, {Name: "AF_PPPOX", Value: 24}, {Name: "AF_RDS", Value: 21}, + {Name: "AF_ROSE", Value: 11}, {Name: "AF_SMC", Value: 43}, {Name: "AF_TIPC", Value: 30}, {Name: "AF_UNIX", Value: 1}, @@ -37662,8 +38143,12 @@ var consts_386 = []ConstValue{ {Name: "AX25_EXTSEQ", Value: 7}, {Name: "AX25_IAMDIGI", Value: 12}, {Name: "AX25_IDLE", Value: 9}, + {Name: "AX25_INFO_OLD_SIZE", Value: 52}, + {Name: "AX25_INFO_SIZE", Value: 76}, + {Name: "AX25_KILL", Value: 99}, {Name: "AX25_MAX_DIGIS", Value: 8}, {Name: "AX25_N2", Value: 3}, + {Name: "AX25_NOUID_BLOCK", Value: 1}, {Name: "AX25_PACLEN", Value: 10}, {Name: "AX25_PIDINCL", Value: 8}, {Name: "AX25_P_ARP", Value: 205}, @@ -37679,6 +38164,7 @@ var consts_386 = []ConstValue{ {Name: "AX25_P_TEXT", Value: 240}, {Name: "AX25_P_VJCOMP", Value: 6}, {Name: "AX25_P_VJUNCOMP", Value: 7}, + {Name: "AX25_SET_RT_IPMODE", Value: 2}, {Name: "AX25_T1", Value: 2}, {Name: "AX25_T2", Value: 5}, {Name: "AX25_T3", Value: 4}, @@ -40423,6 +40909,8 @@ var consts_386 = []ConstValue{ {Name: "NETNSA_PID", Value: 2}, {Name: "NETROM_IDLE", Value: 7}, {Name: "NETROM_N2", Value: 3}, + {Name: "NETROM_NEIGH"}, + {Name: "NETROM_NODE", Value: 1}, {Name: "NETROM_T1", Value: 1}, {Name: "NETROM_T2", Value: 2}, {Name: "NETROM_T4", Value: 6}, @@ -41114,6 +41602,14 @@ var consts_386 = []ConstValue{ {Name: "RNDCLEARPOOL", Value: 20998}, {Name: "RNDGETENTCNT", Value: 2147766784}, {Name: "RNDZAPENTCNT", Value: 20996}, + {Name: "ROSE_DEFER", Value: 1}, + {Name: "ROSE_HOLDBACK", Value: 7}, + {Name: "ROSE_IDLE", Value: 5}, + {Name: "ROSE_MAX_DIGIS", Value: 6}, + {Name: "ROSE_QBITINCL", Value: 6}, + {Name: "ROSE_T1", Value: 2}, + {Name: "ROSE_T2", Value: 3}, + {Name: "ROSE_T3", Value: 4}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE", Value: 4}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT", Value: 1}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL", Value: 2}, @@ -41530,6 +42026,16 @@ var consts_386 = []ConstValue{ {Name: "SIOCAIPXITFCRT", Value: 35296}, {Name: "SIOCAIPXPRISLT", Value: 35297}, {Name: "SIOCATMARK", Value: 35077}, + {Name: "SIOCAX25ADDFWD", Value: 35306}, + {Name: "SIOCAX25ADDUID", Value: 35297}, + {Name: "SIOCAX25CTLCON", Value: 35304}, + {Name: "SIOCAX25DELFWD", Value: 35307}, + {Name: "SIOCAX25DELUID", Value: 35298}, + {Name: "SIOCAX25GETINFO", Value: 35309}, + {Name: "SIOCAX25GETINFOOLD", Value: 35305}, + {Name: "SIOCAX25GETUID", Value: 35296}, + {Name: "SIOCAX25NOUID", Value: 35299}, + {Name: "SIOCAX25OPTRT", Value: 35303}, {Name: "SIOCBONDCHANGEACTIVE", Value: 35221}, {Name: "SIOCBONDENSLAVE", Value: 35216}, {Name: "SIOCBONDINFOQUERY", Value: 35220}, @@ -41587,10 +42093,17 @@ var consts_386 = []ConstValue{ {Name: "SIOCKCMATTACH", Value: 35296}, {Name: "SIOCKCMCLONE", Value: 35298}, {Name: "SIOCKCMUNATTACH", Value: 35297}, + {Name: "SIOCNRDECOBS", Value: 35298}, {Name: "SIOCOUTQ", Value: 21521}, {Name: "SIOCOUTQNSD", Value: 35147}, {Name: "SIOCPROTOPRIVATE_BEG", Value: 35296}, {Name: "SIOCPROTOPRIVATE_END", Value: 35311}, + {Name: "SIOCRSACCEPT", Value: 35299}, + {Name: "SIOCRSCLRRT", Value: 35300}, + {Name: "SIOCRSGCAUSE", Value: 35296}, + {Name: "SIOCRSGL2CALL", Value: 35301}, + {Name: "SIOCRSSCAUSE", Value: 35297}, + {Name: "SIOCRSSL2CALL", Value: 35298}, {Name: "SIOCRTMSG", Value: 35085}, {Name: "SIOCSARP", Value: 35157}, {Name: "SIOCSHWTSTAMP", Value: 35248}, @@ -44341,4 +44854,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "0c6bf066bd7442eaf4c652ac238cc65872b25396" +const revision_386 = "77b1b88be65b58722b27dfcc9ebeb2150e63069b" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index b90295a73..2e7003088 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -157,6 +157,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "sock_pppox", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_pptp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pptp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_rds", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_rds"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "sock_rose", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_rose"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_sctp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_sctp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {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}}, @@ -195,6 +196,33 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "action_gd_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "action_gd_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_TAB, int16], array[nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_kind_index]]]"}, FldName: "TCA_ACT_TAB"}, }}}, + {Key: StructKey{Name: "address_netrom_dev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "address_netrom_dev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "address_netrom_dev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "alg_aead_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alg_aead_name", TypeSize: 64}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, }}}, @@ -407,13 +435,181 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, {Key: StructKey{Name: "ax25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default"}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null"}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev"}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev"}, FldName: "rose"}, }}}, {Key: StructKey{Name: "ax25_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7, ArgDir: 1}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7, ArgDir: 1}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote", Dir: 1}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast", Dir: 1}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default", Dir: 1}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null", Dir: 1}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev", Dir: 1}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 1}, FldName: "rose"}, }}}, {Key: StructKey{Name: "ax25_address", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7, ArgDir: 2}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7, ArgDir: 2}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote", Dir: 2}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast", Dir: 2}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default", Dir: 2}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null", Dir: 2}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev", Dir: 2}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 2}, FldName: "rose"}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ax25_address_default"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_default", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_default", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_null"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_null", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_null", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ax25_address_remote"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_address_remote", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_address_remote", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_ctl_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_ctl_struct", TypeSize: 104}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "source_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_ctl_cmd", FldName: "cmd", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 99}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "digi_count", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digi_addr", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_devname"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "ax25_devname_rose"}, FldName: "rose"}, + &StructType{Key: StructKey{Name: "ax25_devname_netrom"}, FldName: "netrom"}, + }}}, + {Key: StructKey{Name: "ax25_devname_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname_netrom", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 2}, Kind: 2, Values: []string{"nr"}, NoZ: true}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 1}}, ValuesStart: 48, ValuesPerProc: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "z", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 12}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_devname_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname_rose", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"rose"}, NoZ: true}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 1}}, ValuesStart: 48, ValuesPerProc: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "z", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 10}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_fwd_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_fwd_struct", TypeSize: 14}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_from"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_to"}, + }}}, + {Key: StructKey{Name: "ax25_route_opt_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_route_opt_struct", TypeSize: 24}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_route_ipmodes", FldName: "arg", TypeSize: 4}}, Vals: []uint64{32, 68, 86}}, + }}}, + {Key: StructKey{Name: "ax25_routes_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_routes_struct", TypeSize: 71}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "digi_count", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digi_addr", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, }}}, {Key: StructKey{Name: "bdaddr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bdaddr", TypeSize: 6}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "addr0", TypeSize: 1}}}, @@ -4888,11 +5084,29 @@ var structDescs_amd64 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "full_sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "fsa_ax25"}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &StructType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, }}}, {Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72, ArgDir: 1}, Fields: []Type{ &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "fsa_ax25"}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56, ArgDir: 1}, Type: &StructType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56, ArgDir: 1}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "full_sockaddr_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_rose", TypeSize: 64}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srose_ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "srose_digis", TypeSize: 42}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "full_sockaddr_rose", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_rose", TypeSize: 64, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2, ArgDir: 1}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address", Dir: 1}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srose_ndigis", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "srose_digis", TypeSize: 42, ArgDir: 1}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, {Key: StructKey{Name: "fuse_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fuse_attr", TypeSize: 88}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ino", TypeSize: 8}}, Kind: 2, RangeEnd: 6}, @@ -7689,6 +7903,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]"}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]"}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev"}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4}, ArgFormat: 1}, Val: 3758096386}, @@ -7700,6 +7915,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]", Dir: 1}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]", Dir: 1}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]", Dir: 1}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev", Dir: 1}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 3758096386}, @@ -7711,11 +7927,30 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]", Dir: 2}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]", Dir: 2}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]", Dir: 2}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev", Dir: 2}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 3758096386}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "broadcast", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 4294967295}, }}}, + {Key: StructKey{Name: "ipv4_addr_initdev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv4_addr_initdev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 1}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 1}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1, ArgDir: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv4_addr_initdev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 2}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 2}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1, ArgDir: 2}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_t[const[170, int8]]", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 172}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 20}, @@ -7874,6 +8109,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]"}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]"}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev"}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback"}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4"}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1"}, FldName: "mcast1"}, @@ -7884,6 +8120,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]", Dir: 1}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]", Dir: 1}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]", Dir: 1}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev", Dir: 1}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback", Dir: 1}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4", Dir: 1}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1", Dir: 1}, FldName: "mcast1"}, @@ -7894,6 +8131,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]", Dir: 2}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]", Dir: 2}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]", Dir: 2}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev", Dir: 2}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback", Dir: 2}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4", Dir: 2}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1", Dir: 2}, FldName: "mcast1"}, @@ -7908,6 +8146,27 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "ipv6_addr_empty", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_empty", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 16, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }}}, + {Key: StructKey{Name: "ipv6_addr_initdev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv6_addr_initdev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 1}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 1}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1, ArgDir: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv6_addr_initdev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 2}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 2}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1, ArgDir: 2}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "ipv6_addr_ipv4"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_ipv4", TypeSize: 16}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 10}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 10, RangeEnd: 10}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a1", TypeSize: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 255}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, @@ -10298,28 +10557,6 @@ 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_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", TypeSize: 56}, Fields: []Type{ - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Buf: "vec"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ctrl", TypeSize: 8, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cmsghdr"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "ctrllen", TypeSize: 8}}, 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}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, - }}}, - {Key: StructKey{Name: "msghdr_netrom", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", TypeSize: 56, ArgDir: 2}, Fields: []Type{ - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8, ArgDir: 2}}, Buf: "vec"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ctrl", TypeSize: 8, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cmsghdr"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "ctrllen", TypeSize: 8, ArgDir: 2}}, BitSize: 8, Buf: "ctrl"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4, ArgDir: 2}}, 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_nl_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_nl_netfilter", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, @@ -16365,6 +16602,20 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"vlan\", array[m_vlan_options]]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nr_route_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nr_route_struct", TypeSize: 120}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nr_route_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "callsign"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ax25_devname"}, FldName: "device"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "quality", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "mnemonic", TypeSize: 7}, Kind: 2, SubKind: "nr_route_mnemonics", Values: []string{"syz0\x00\x00\x00", "syz1\x00\x00\x00"}}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "neighbour"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "obs_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digipeaters", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 8}}, IsPad: true}, + }}}, {Key: StructKey{Name: "ntfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ntfs_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "fs_opt[\"uid\", fmt[hex, uid]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", fmt[hex, gid]]"}, FldName: "gid"}, @@ -17678,6 +17929,60 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "futex_offset", TypeSize: 8, ArgDir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "list_op_pending", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "robust_list"}}}, }}}, + {Key: StructKey{Name: "rose_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address", TypeSize: 5}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rose_address_remote"}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "rose_address_dev"}, FldName: "dev"}, + }}}, + {Key: StructKey{Name: "rose_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rose_address_remote", Dir: 1}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 1}, FldName: "dev"}, + }}}, + {Key: StructKey{Name: "rose_address_dev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_dev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_dev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_remote"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_remote", TypeSize: 5}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "rose_address_remote", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_remote", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "rose_route_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_route_struct", TypeSize: 108}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "address"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mask", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "neighbour"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 9}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ax25_devname"}, FldName: "device"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "ndigis", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digipeaters", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 11}}, IsPad: true}, + }}}, {Key: StructKey{Name: "rseq"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rseq", TypeSize: 32}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cpu_id_start", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cpu_id", TypeSize: 4}}}, @@ -19046,21 +19351,27 @@ var structDescs_amd64 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 8}, }}}, {Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16, ArgDir: 1}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2, ArgDir: 1}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 8}, }}}, {Key: StructKey{Name: "sockaddr_ax25", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2, ArgDir: 2}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address", Dir: 2}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 2}, FldName: "sax25_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "sockaddr_ax25_uid"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25_uid", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2}}, Val: 3}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "sax25_ndigis", TypeSize: 4}}, }}}, {Key: StructKey{Name: "sockaddr_can"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_can", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "can_family", TypeSize: 2}}, Val: 29}, @@ -19315,14 +19626,6 @@ var structDescs_amd64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "mac_addr", Dir: 2}, FldName: "sll_addr"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, - {Key: StructKey{Name: "sockaddr_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "ax25"}, - &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}, FldName: "full"}, - }}}, - {Key: StructKey{Name: "sockaddr_netrom", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", ArgDir: 1, IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "ax25"}, - &StructType{Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, FldName: "full"}, - }}}, {Key: StructKey{Name: "sockaddr_nfc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 39}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, @@ -19486,6 +19789,32 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, &StructType{Key: StructKey{Name: "sockaddr_ib"}, FldName: "ib"}, }}}, + {Key: StructKey{Name: "sockaddr_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose", TypeSize: 28}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_ndigis", TypeSize: 4}}, Val: 1}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_digi"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "sockaddr_rose", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose", TypeSize: 28, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2, ArgDir: 1}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address", Dir: 1}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_ndigis", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_digi"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "sockaddr_rose_any"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose_any", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_rose"}, FldName: "short"}, + &StructType{Key: StructKey{Name: "full_sockaddr_rose"}, FldName: "full"}, + }}}, + {Key: StructKey{Name: "sockaddr_rose_any", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose_any", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_rose", Dir: 1}, FldName: "short"}, + &StructType{Key: StructKey{Name: "full_sockaddr_rose", Dir: 1}, FldName: "full"}, + }}}, {Key: StructKey{Name: "sockaddr_sco"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 2}}, Val: 31}, &StructType{Key: StructKey{Name: "bdaddr"}, FldName: "addr"}, @@ -19505,7 +19834,7 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "sockaddr_storage"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", TypeSize: 128}, Fields: []Type{ &UnionType{Key: StructKey{Name: "sockaddr_un"}, FldName: "un"}, &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "in"}, - &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "ax25"}, + &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}, FldName: "ax25"}, &StructType{Key: StructKey{Name: "sockaddr_ipx"}, FldName: "ipx"}, &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, &UnionType{Key: StructKey{Name: "sockaddr_nl"}, FldName: "nl"}, @@ -19534,7 +19863,7 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "sockaddr_storage", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", TypeSize: 128, ArgDir: 1}, Fields: []Type{ &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}, FldName: "un"}, &StructType{Key: StructKey{Name: "sockaddr_in", Dir: 1}, FldName: "in"}, - &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "ax25"}, + &StructType{Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, FldName: "ax25"}, &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}, FldName: "ipx"}, &StructType{Key: StructKey{Name: "sockaddr_in6", Dir: 1}, FldName: "in6"}, &UnionType{Key: StructKey{Name: "sockaddr_nl", Dir: 1}, FldName: "nl"}, @@ -25128,7 +25457,7 @@ var syscalls_amd64 = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_algconn", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 43, Name: "accept$ax25", CallName: "accept", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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"}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 43, Name: "accept$inet", CallName: "accept", Args: []Type{ @@ -25148,7 +25477,7 @@ var syscalls_amd64 = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 43, Name: "accept$netrom", CallName: "accept", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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"}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 43, Name: "accept$nfc_llcp", CallName: "accept", Args: []Type{ @@ -25180,7 +25509,7 @@ var syscalls_amd64 = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_algconn", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 288, Name: "accept4$ax25", CallName: "accept4", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -25216,7 +25545,7 @@ var syscalls_amd64 = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 288, Name: "accept4$netrom", CallName: "accept4", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -25232,6 +25561,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$rose", CallName: "accept4", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any", 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_rose", 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}}}, @@ -25320,7 +25655,7 @@ var syscalls_amd64 = []*Syscall{ }}, {NR: 49, Name: "bind$ax25", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 49, Name: "bind$bt_hci", CallName: "bind", Args: []Type{ @@ -25375,7 +25710,7 @@ var syscalls_amd64 = []*Syscall{ }}, {NR: 49, Name: "bind$netrom", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 49, Name: "bind$nfc_llcp", CallName: "bind", Args: []Type{ @@ -25398,6 +25733,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$rose", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &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"}}}, @@ -25610,7 +25950,7 @@ var syscalls_amd64 = []*Syscall{ }}, {NR: 42, Name: "connect$ax25", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 42, Name: "connect$bt_l2cap", CallName: "connect", Args: []Type{ @@ -25665,7 +26005,7 @@ var syscalls_amd64 = []*Syscall{ }}, {NR: 42, Name: "connect$netrom", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 42, Name: "connect$nfc_llcp", CallName: "connect", Args: []Type{ @@ -25698,6 +26038,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$rose", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &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"}}}, @@ -26134,7 +26479,7 @@ var syscalls_amd64 = []*Syscall{ }}, {NR: 52, Name: "getpeername$ax25", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$inet", CallName: "getpeername", Args: []Type{ @@ -26164,7 +26509,7 @@ var syscalls_amd64 = []*Syscall{ }}, {NR: 52, Name: "getpeername$netrom", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$packet", CallName: "getpeername", Args: []Type{ @@ -26223,7 +26568,7 @@ var syscalls_amd64 = []*Syscall{ }}, {NR: 51, Name: "getsockname$ax25", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$inet", CallName: "getsockname", Args: []Type{ @@ -26253,7 +26598,7 @@ var syscalls_amd64 = []*Syscall{ }}, {NR: 51, Name: "getsockname$netrom", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$packet", CallName: "getsockname", Args: []Type{ @@ -26516,13 +26861,6 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 24, ArgDir: 1}, Kind: 1, RangeBegin: 24, RangeEnd: 24}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4}}, BitSize: 8, Buf: "val"}}, }}, - {NR: 55, Name: "getsockopt$ax25_buf", CallName: "getsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 257}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_option_types_buf", FldName: "optname", TypeSize: 8}}, Vals: []uint64{25}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, - &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$ax25_int", CallName: "getsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 257}, @@ -27580,6 +27918,13 @@ 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$rose", CallName: "getsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 260}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rose_sockopts", FldName: "opt", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "arg"}}, + }}, {NR: 55, Name: "getsockopt$sock_buf", CallName: "getsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 1}, @@ -30099,6 +30444,56 @@ 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$SIOCAX25ADDFWD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35306}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_fwd_struct"}}}, + }}, + {NR: 16, Name: "ioctl$SIOCAX25ADDUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", 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: "sockaddr_ax25_uid"}}}, + }}, + {NR: 16, Name: "ioctl$SIOCAX25CTLCON", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35304}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_ctl_struct"}}}, + }}, + {NR: 16, Name: "ioctl$SIOCAX25DELFWD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35307}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_fwd_struct"}}}, + }}, + {NR: 16, Name: "ioctl$SIOCAX25DELUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35298}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25_uid"}}}, + }}, + {NR: 16, Name: "ioctl$SIOCAX25GETINFO", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35309}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 76, ArgDir: 1}, Kind: 1, RangeBegin: 76, RangeEnd: 76}}, + }}, + {NR: 16, Name: "ioctl$SIOCAX25GETINFOOLD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35305}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 52, ArgDir: 1}, Kind: 1, RangeBegin: 52, RangeEnd: 52}}, + }}, + {NR: 16, Name: "ioctl$SIOCAX25GETUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", 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: "sockaddr_ax25_uid"}}}, + }}, + {NR: 16, Name: "ioctl$SIOCAX25NOUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35299}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}, Kind: 2, RangeEnd: 1}}, + }}, + {NR: 16, Name: "ioctl$SIOCAX25OPTRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35303}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_route_opt_struct"}}}, + }}, {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}, @@ -30119,6 +30514,44 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35105}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]", Dir: 1}}}, }}, + {NR: 16, Name: "ioctl$SIOCGSTAMP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35078}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timeval", Dir: 1}}}, + }}, + {NR: 16, Name: "ioctl$SIOCGSTAMPNS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35079}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec", Dir: 1}}}, + }}, + {NR: 16, Name: "ioctl$SIOCNRDECOBS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35298}, + }}, + {NR: 16, Name: "ioctl$SIOCRSACCEPT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35299}, + }}, + {NR: 16, Name: "ioctl$SIOCRSGCAUSE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", 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: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2, ArgDir: 1}}}}, + }}, + {NR: 16, Name: "ioctl$SIOCRSGL2CALL", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35301}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}}, + }}, + {NR: 16, Name: "ioctl$SIOCRSSCAUSE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", 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: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}}, + }}, + {NR: 16, Name: "ioctl$SIOCRSSL2CALL", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35298}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}}, + }}, {NR: 16, Name: "ioctl$SIOCSIFHWADDR", 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: 35108}, @@ -31739,10 +32172,25 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35074}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", TypeSize: 4}}}, }}, - {NR: 16, Name: "ioctl$sock_bt", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt", FldName: "fd", TypeSize: 4}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bt_ioctl", FldName: "cmd", TypeSize: 8}}, Vals: []uint64{21521, 21531, 35078, 35079}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 2, IsVarlen: true}}}, + {NR: 16, Name: "ioctl$sock_TIOCINQ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21531}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 16, Name: "ioctl$sock_TIOCOUTQ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21521}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 16, Name: "ioctl$sock_ax25_SIOCADDRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35083}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_routes_struct"}}}, + }}, + {NR: 16, Name: "ioctl$sock_ax25_SIOCDELRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_routes_struct"}}}, }}, {NR: 16, Name: "ioctl$sock_bt_bnep_BNEPCONNADD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt_bnep", FldName: "fd", TypeSize: 4}}, @@ -32047,33 +32495,32 @@ var syscalls_amd64 = []*Syscall{ {NR: 16, Name: "ioctl$sock_netrom_SIOCADDRT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35083}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 16, Name: "ioctl$sock_netrom_SIOCGSTAMP", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35078}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nr_route_struct"}}}, }}, - {NR: 16, Name: "ioctl$sock_netrom_SIOCGSTAMPNS", CallName: "ioctl", Args: []Type{ + {NR: 16, Name: "ioctl$sock_netrom_SIOCDELRT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35079}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 16, Name: "ioctl$sock_netrom_TIOCINQ", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21531}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 16, Name: "ioctl$sock_netrom_TIOCOUTQ", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21521}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nr_route_struct"}}}, }}, {NR: 16, Name: "ioctl$sock_proto_private", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cmd", TypeSize: 2}}, Kind: 2, RangeBegin: 35296, RangeEnd: 35311}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, }}, + {NR: 16, Name: "ioctl$sock_rose_SIOCADDRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35083}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rose_route_struct"}}}, + }}, + {NR: 16, Name: "ioctl$sock_rose_SIOCDELRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rose_route_struct"}}}, + }}, + {NR: 16, Name: "ioctl$sock_rose_SIOCRSCLRRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35300}, + }}, {NR: 16, Name: "ioctl$void", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ioctl_void", FldName: "cmd", TypeSize: 8}}, Vals: []uint64{21585, 21584, 3221510264}}, @@ -32284,10 +32731,6 @@ var syscalls_amd64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, }}, - {NR: 50, Name: "listen$netrom", CallName: "listen", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, - }}, {NR: 194, Name: "listxattr", CallName: "listxattr", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "list", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -33776,10 +34219,10 @@ var syscalls_amd64 = []*Syscall{ }}, {NR: 45, Name: "recvfrom$ax25", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 45, Name: "recvfrom$inet", CallName: "recvfrom", Args: []Type{ @@ -33814,6 +34257,14 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, + {NR: 45, Name: "recvfrom$netrom", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, + }}, {NR: 45, Name: "recvfrom$packet", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -33822,6 +34273,14 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, + {NR: 45, Name: "recvfrom$rose", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, + }}, {NR: 45, Name: "recvfrom$unix", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -33847,11 +34306,6 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "recv_msghdr", Dir: 2}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, }}, - {NR: 47, Name: "recvmsg$netrom", CallName: "recvmsg", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netrom", Dir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, - }}, {NR: 216, Name: "remap_file_pages", CallName: "remap_file_pages", Args: []Type{ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "addr"}, @@ -34503,11 +34957,6 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink_full[netlink_msg_t[netlink_random_msg_type, void, nl_generic_attr]]"}}}, &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$netrom", CallName: "sendmsg", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netrom"}}}, - &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$nfc_llcp", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nfc_llcp_send_msghdr"}}}, @@ -34573,10 +35022,10 @@ var syscalls_amd64 = []*Syscall{ }}, {NR: 44, Name: "sendto$ax25", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, &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}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 44, Name: "sendto$inet", CallName: "sendto", Args: []Type{ @@ -34611,6 +35060,14 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, + {NR: 44, Name: "sendto$netrom", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + &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}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, + }}, {NR: 44, Name: "sendto$packet", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, @@ -34619,6 +35076,14 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, + {NR: 44, Name: "sendto$rose", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + &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}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, + }}, {NR: 44, Name: "sendto$unix", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, @@ -35039,11 +35504,11 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "xdp_umem_reg"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"}, }}, - {NR: 54, Name: "setsockopt$ax25_buf", CallName: "setsockopt", Args: []Type{ + {NR: 54, Name: "setsockopt$ax25_SO_BINDTODEVICE", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 257}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_option_types_buf", FldName: "optname", TypeSize: 8}}, Vals: []uint64{25}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 25}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "ax25_devname"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Buf: "optval"}, }}, {NR: 54, Name: "setsockopt$ax25_int", CallName: "setsockopt", Args: []Type{ @@ -36474,6 +36939,13 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "tpacket_req_u"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Buf: "optval"}, }}, + {NR: 54, Name: "setsockopt$rose", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 260}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rose_sockopts", FldName: "opt", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", TypeSize: 8}}, Buf: "arg"}, + }}, {NR: 54, Name: "setsockopt$sock_attach_bpf", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 1}, @@ -36696,11 +37168,6 @@ 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_alg", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 41, Name: "socket$ax25", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 3}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_socket_types", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 5, 3}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_protocols", FldName: "proto", TypeSize: 8}}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 41, Name: "socket$bt_bnep", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 8}}, Val: 31}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -36841,11 +37308,6 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_proto", FldName: "proto", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 4, 22}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 41, Name: "socket$netrom", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 6}, - &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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 41, Name: "socket$nl_crypto", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -37038,6 +37500,11 @@ var syscalls_amd64 = []*Syscall{ {Name: "syz_genetlink_get_family_id$tipc2", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 7}, Kind: 2, Values: []string{"TIPCv2\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_tipc2_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_init_net_socket$ax25", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_socket_types", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 5, 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_protocols", FldName: "proto", TypeSize: 8}}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_init_net_socket$bt_hci", CallName: "syz_init_net_socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 8}}, Val: 31}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -37058,6 +37525,11 @@ var syscalls_amd64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "llc_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 1}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_init_net_socket$netrom", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 6}, + &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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_init_net_socket$nfc_llcp", CallName: "syz_init_net_socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 39}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfc_llcp_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 3}}, @@ -37068,6 +37540,11 @@ var syscalls_amd64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfc_raw_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_init_net_socket$rose", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 11}, + &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_rose", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_kvm_setup_cpu$arm64", CallName: "syz_kvm_setup_cpu", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "cpufd", TypeSize: 4}}, @@ -38271,6 +38748,7 @@ var consts_amd64 = []ConstValue{ {Name: "AF_PACKET", Value: 17}, {Name: "AF_PPPOX", Value: 24}, {Name: "AF_RDS", Value: 21}, + {Name: "AF_ROSE", Value: 11}, {Name: "AF_SMC", Value: 43}, {Name: "AF_TIPC", Value: 30}, {Name: "AF_UNIX", Value: 1}, @@ -38425,8 +38903,12 @@ var consts_amd64 = []ConstValue{ {Name: "AX25_EXTSEQ", Value: 7}, {Name: "AX25_IAMDIGI", Value: 12}, {Name: "AX25_IDLE", Value: 9}, + {Name: "AX25_INFO_OLD_SIZE", Value: 52}, + {Name: "AX25_INFO_SIZE", Value: 76}, + {Name: "AX25_KILL", Value: 99}, {Name: "AX25_MAX_DIGIS", Value: 8}, {Name: "AX25_N2", Value: 3}, + {Name: "AX25_NOUID_BLOCK", Value: 1}, {Name: "AX25_PACLEN", Value: 10}, {Name: "AX25_PIDINCL", Value: 8}, {Name: "AX25_P_ARP", Value: 205}, @@ -38442,6 +38924,7 @@ var consts_amd64 = []ConstValue{ {Name: "AX25_P_TEXT", Value: 240}, {Name: "AX25_P_VJCOMP", Value: 6}, {Name: "AX25_P_VJUNCOMP", Value: 7}, + {Name: "AX25_SET_RT_IPMODE", Value: 2}, {Name: "AX25_T1", Value: 2}, {Name: "AX25_T2", Value: 5}, {Name: "AX25_T3", Value: 4}, @@ -41186,6 +41669,8 @@ var consts_amd64 = []ConstValue{ {Name: "NETNSA_PID", Value: 2}, {Name: "NETROM_IDLE", Value: 7}, {Name: "NETROM_N2", Value: 3}, + {Name: "NETROM_NEIGH"}, + {Name: "NETROM_NODE", Value: 1}, {Name: "NETROM_T1", Value: 1}, {Name: "NETROM_T2", Value: 2}, {Name: "NETROM_T4", Value: 6}, @@ -41877,6 +42362,14 @@ var consts_amd64 = []ConstValue{ {Name: "RNDCLEARPOOL", Value: 20998}, {Name: "RNDGETENTCNT", Value: 2147766784}, {Name: "RNDZAPENTCNT", Value: 20996}, + {Name: "ROSE_DEFER", Value: 1}, + {Name: "ROSE_HOLDBACK", Value: 7}, + {Name: "ROSE_IDLE", Value: 5}, + {Name: "ROSE_MAX_DIGIS", Value: 6}, + {Name: "ROSE_QBITINCL", Value: 6}, + {Name: "ROSE_T1", Value: 2}, + {Name: "ROSE_T2", Value: 3}, + {Name: "ROSE_T3", Value: 4}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE", Value: 4}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT", Value: 1}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL", Value: 2}, @@ -42293,6 +42786,16 @@ var consts_amd64 = []ConstValue{ {Name: "SIOCAIPXITFCRT", Value: 35296}, {Name: "SIOCAIPXPRISLT", Value: 35297}, {Name: "SIOCATMARK", Value: 35077}, + {Name: "SIOCAX25ADDFWD", Value: 35306}, + {Name: "SIOCAX25ADDUID", Value: 35297}, + {Name: "SIOCAX25CTLCON", Value: 35304}, + {Name: "SIOCAX25DELFWD", Value: 35307}, + {Name: "SIOCAX25DELUID", Value: 35298}, + {Name: "SIOCAX25GETINFO", Value: 35309}, + {Name: "SIOCAX25GETINFOOLD", Value: 35305}, + {Name: "SIOCAX25GETUID", Value: 35296}, + {Name: "SIOCAX25NOUID", Value: 35299}, + {Name: "SIOCAX25OPTRT", Value: 35303}, {Name: "SIOCBONDCHANGEACTIVE", Value: 35221}, {Name: "SIOCBONDENSLAVE", Value: 35216}, {Name: "SIOCBONDINFOQUERY", Value: 35220}, @@ -42350,10 +42853,17 @@ var consts_amd64 = []ConstValue{ {Name: "SIOCKCMATTACH", Value: 35296}, {Name: "SIOCKCMCLONE", Value: 35298}, {Name: "SIOCKCMUNATTACH", Value: 35297}, + {Name: "SIOCNRDECOBS", Value: 35298}, {Name: "SIOCOUTQ", Value: 21521}, {Name: "SIOCOUTQNSD", Value: 35147}, {Name: "SIOCPROTOPRIVATE_BEG", Value: 35296}, {Name: "SIOCPROTOPRIVATE_END", Value: 35311}, + {Name: "SIOCRSACCEPT", Value: 35299}, + {Name: "SIOCRSCLRRT", Value: 35300}, + {Name: "SIOCRSGCAUSE", Value: 35296}, + {Name: "SIOCRSGL2CALL", Value: 35301}, + {Name: "SIOCRSSCAUSE", Value: 35297}, + {Name: "SIOCRSSL2CALL", Value: 35298}, {Name: "SIOCRTMSG", Value: 35085}, {Name: "SIOCSARP", Value: 35157}, {Name: "SIOCSHWTSTAMP", Value: 35248}, @@ -45129,4 +45639,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "34f7cb9ae9d016deb5c83bdd32303e34f97051de" +const revision_amd64 = "42e9227d8959036833dbf05d12579e1234e5b122" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 3a896c5ee..60aae28cc 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -157,6 +157,7 @@ var resources_arm = []*ResourceDesc{ {Name: "sock_pppox", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_pptp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pptp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_rds", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_rds"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "sock_rose", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_rose"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_sctp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_sctp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {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}}, @@ -194,6 +195,33 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "action_gd_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "action_gd_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_TAB, int16], array[nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_kind_index]]]"}, FldName: "TCA_ACT_TAB"}, }}}, + {Key: StructKey{Name: "address_netrom_dev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "address_netrom_dev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "address_netrom_dev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "alg_aead_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alg_aead_name", TypeSize: 64}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, }}}, @@ -406,13 +434,180 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, {Key: StructKey{Name: "ax25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default"}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null"}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev"}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev"}, FldName: "rose"}, }}}, {Key: StructKey{Name: "ax25_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7, ArgDir: 1}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7, ArgDir: 1}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote", Dir: 1}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast", Dir: 1}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default", Dir: 1}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null", Dir: 1}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev", Dir: 1}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 1}, FldName: "rose"}, }}}, {Key: StructKey{Name: "ax25_address", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7, ArgDir: 2}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7, ArgDir: 2}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote", Dir: 2}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast", Dir: 2}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default", Dir: 2}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null", Dir: 2}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev", Dir: 2}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 2}, FldName: "rose"}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ax25_address_default"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_default", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_default", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_null"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_null", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_null", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ax25_address_remote"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_address_remote", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_address_remote", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_ctl_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_ctl_struct", TypeSize: 92}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "source_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_ctl_cmd", FldName: "cmd", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 99}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "digi_count", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digi_addr", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_devname"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "ax25_devname_rose"}, FldName: "rose"}, + &StructType{Key: StructKey{Name: "ax25_devname_netrom"}, FldName: "netrom"}, + }}}, + {Key: StructKey{Name: "ax25_devname_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname_netrom", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 2}, Kind: 2, Values: []string{"nr"}, NoZ: true}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 1}}, ValuesStart: 48, ValuesPerProc: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "z", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 12}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_devname_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname_rose", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"rose"}, NoZ: true}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 1}}, ValuesStart: 48, ValuesPerProc: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "z", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 10}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_fwd_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_fwd_struct", TypeSize: 14}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_from"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_to"}, + }}}, + {Key: StructKey{Name: "ax25_route_opt_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_route_opt_struct", TypeSize: 24}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_route_ipmodes", FldName: "arg", TypeSize: 4}}, Vals: []uint64{32, 68, 86}}, + }}}, + {Key: StructKey{Name: "ax25_routes_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_routes_struct", TypeSize: 71}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "digi_count", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digi_addr", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, }}}, {Key: StructKey{Name: "bdaddr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bdaddr", TypeSize: 6}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "addr0", TypeSize: 1}}}, @@ -4798,11 +4993,29 @@ var structDescs_arm = []*KeyedStruct{ }}}, {Key: StructKey{Name: "full_sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "fsa_ax25"}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &StructType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, }}}, {Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72, ArgDir: 1}, Fields: []Type{ &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "fsa_ax25"}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56, ArgDir: 1}, Type: &StructType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56, ArgDir: 1}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "full_sockaddr_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_rose", TypeSize: 64}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srose_ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "srose_digis", TypeSize: 42}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "full_sockaddr_rose", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_rose", TypeSize: 64, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2, ArgDir: 1}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address", Dir: 1}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srose_ndigis", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "srose_digis", TypeSize: 42, ArgDir: 1}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, {Key: StructKey{Name: "fuse_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fuse_attr", TypeSize: 88}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ino", TypeSize: 8}}, Kind: 2, RangeEnd: 6}, @@ -7583,6 +7796,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]"}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]"}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev"}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4}, ArgFormat: 1}, Val: 3758096386}, @@ -7594,6 +7808,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]", Dir: 1}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]", Dir: 1}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]", Dir: 1}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev", Dir: 1}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 3758096386}, @@ -7605,11 +7820,30 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]", Dir: 2}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]", Dir: 2}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]", Dir: 2}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev", Dir: 2}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 3758096386}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "broadcast", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 4294967295}, }}}, + {Key: StructKey{Name: "ipv4_addr_initdev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv4_addr_initdev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 1}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 1}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1, ArgDir: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv4_addr_initdev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 2}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 2}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1, ArgDir: 2}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_t[const[170, int8]]", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 172}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 20}, @@ -7768,6 +8002,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]"}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]"}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev"}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback"}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4"}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1"}, FldName: "mcast1"}, @@ -7778,6 +8013,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]", Dir: 1}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]", Dir: 1}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]", Dir: 1}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev", Dir: 1}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback", Dir: 1}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4", Dir: 1}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1", Dir: 1}, FldName: "mcast1"}, @@ -7788,6 +8024,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]", Dir: 2}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]", Dir: 2}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]", Dir: 2}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev", Dir: 2}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback", Dir: 2}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4", Dir: 2}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1", Dir: 2}, FldName: "mcast1"}, @@ -7802,6 +8039,27 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "ipv6_addr_empty", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_empty", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 16, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }}}, + {Key: StructKey{Name: "ipv6_addr_initdev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv6_addr_initdev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 1}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 1}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1, ArgDir: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv6_addr_initdev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 2}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 2}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1, ArgDir: 2}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "ipv6_addr_ipv4"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_ipv4", TypeSize: 16}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 10}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 10, RangeEnd: 10}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a1", TypeSize: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 255}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, @@ -9853,24 +10111,6 @@ 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_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", TypeSize: 28}, Fields: []Type{ - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 4}}, Buf: "vec"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ctrl", TypeSize: 4, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cmsghdr"}}}}, - &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_netrom", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", TypeSize: 28, ArgDir: 2}, Fields: []Type{ - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 4, ArgDir: 2}}, Buf: "vec"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ctrl", TypeSize: 4, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cmsghdr"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "ctrllen", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "ctrl"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, - }}}, {Key: StructKey{Name: "msghdr_nl_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_nl_netfilter", TypeSize: 28}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, @@ -15902,6 +16142,20 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"vlan\", array[m_vlan_options]]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nr_route_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nr_route_struct", TypeSize: 120}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nr_route_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "callsign"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ax25_devname"}, FldName: "device"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "quality", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "mnemonic", TypeSize: 7}, Kind: 2, SubKind: "nr_route_mnemonics", Values: []string{"syz0\x00\x00\x00", "syz1\x00\x00\x00"}}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "neighbour"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "obs_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digipeaters", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 8}}, IsPad: true}, + }}}, {Key: StructKey{Name: "ntfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ntfs_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "fs_opt[\"uid\", fmt[hex, uid]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", fmt[hex, gid]]"}, FldName: "gid"}, @@ -17212,6 +17466,60 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "futex_offset", TypeSize: 4, ArgDir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "list_op_pending", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "robust_list"}}}, }}}, + {Key: StructKey{Name: "rose_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address", TypeSize: 5}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rose_address_remote"}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "rose_address_dev"}, FldName: "dev"}, + }}}, + {Key: StructKey{Name: "rose_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rose_address_remote", Dir: 1}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 1}, FldName: "dev"}, + }}}, + {Key: StructKey{Name: "rose_address_dev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_dev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_dev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_remote"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_remote", TypeSize: 5}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "rose_address_remote", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_remote", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "rose_route_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_route_struct", TypeSize: 108}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "address"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mask", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "neighbour"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 9}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ax25_devname"}, FldName: "device"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "ndigis", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digipeaters", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 11}}, IsPad: true}, + }}}, {Key: StructKey{Name: "rseq"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rseq", TypeSize: 32}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cpu_id_start", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cpu_id", TypeSize: 4}}}, @@ -18559,21 +18867,27 @@ var structDescs_arm = []*KeyedStruct{ }}}, {Key: StructKey{Name: "sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 8}, }}}, {Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16, ArgDir: 1}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2, ArgDir: 1}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 8}, }}}, {Key: StructKey{Name: "sockaddr_ax25", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2, ArgDir: 2}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address", Dir: 2}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 2}, FldName: "sax25_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "sockaddr_ax25_uid"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25_uid", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2}}, Val: 3}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "sax25_ndigis", TypeSize: 4}}, }}}, {Key: StructKey{Name: "sockaddr_can"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_can", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "can_family", TypeSize: 2}}, Val: 29}, @@ -18828,14 +19142,6 @@ var structDescs_arm = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "mac_addr", Dir: 2}, FldName: "sll_addr"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, - {Key: StructKey{Name: "sockaddr_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "ax25"}, - &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}, FldName: "full"}, - }}}, - {Key: StructKey{Name: "sockaddr_netrom", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", ArgDir: 1, IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "ax25"}, - &StructType{Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, FldName: "full"}, - }}}, {Key: StructKey{Name: "sockaddr_nfc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 39}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, @@ -18999,6 +19305,32 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, &StructType{Key: StructKey{Name: "sockaddr_ib"}, FldName: "ib"}, }}}, + {Key: StructKey{Name: "sockaddr_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose", TypeSize: 28}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_ndigis", TypeSize: 4}}, Val: 1}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_digi"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "sockaddr_rose", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose", TypeSize: 28, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2, ArgDir: 1}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address", Dir: 1}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_ndigis", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_digi"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "sockaddr_rose_any"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose_any", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_rose"}, FldName: "short"}, + &StructType{Key: StructKey{Name: "full_sockaddr_rose"}, FldName: "full"}, + }}}, + {Key: StructKey{Name: "sockaddr_rose_any", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose_any", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_rose", Dir: 1}, FldName: "short"}, + &StructType{Key: StructKey{Name: "full_sockaddr_rose", Dir: 1}, FldName: "full"}, + }}}, {Key: StructKey{Name: "sockaddr_sco"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 2}}, Val: 31}, &StructType{Key: StructKey{Name: "bdaddr"}, FldName: "addr"}, @@ -19018,7 +19350,7 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "sockaddr_storage"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", TypeSize: 128}, Fields: []Type{ &UnionType{Key: StructKey{Name: "sockaddr_un"}, FldName: "un"}, &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "in"}, - &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "ax25"}, + &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}, FldName: "ax25"}, &StructType{Key: StructKey{Name: "sockaddr_ipx"}, FldName: "ipx"}, &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, &UnionType{Key: StructKey{Name: "sockaddr_nl"}, FldName: "nl"}, @@ -19047,7 +19379,7 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "sockaddr_storage", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", TypeSize: 128, ArgDir: 1}, Fields: []Type{ &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}, FldName: "un"}, &StructType{Key: StructKey{Name: "sockaddr_in", Dir: 1}, FldName: "in"}, - &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "ax25"}, + &StructType{Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, FldName: "ax25"}, &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}, FldName: "ipx"}, &StructType{Key: StructKey{Name: "sockaddr_in6", Dir: 1}, FldName: "in6"}, &UnionType{Key: StructKey{Name: "sockaddr_nl", Dir: 1}, FldName: "nl"}, @@ -24499,7 +24831,7 @@ var syscalls_arm = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_algconn", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 285, Name: "accept$ax25", CallName: "accept", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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"}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 285, Name: "accept$inet", CallName: "accept", Args: []Type{ @@ -24519,7 +24851,7 @@ var syscalls_arm = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 285, Name: "accept$netrom", CallName: "accept", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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"}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 285, Name: "accept$nfc_llcp", CallName: "accept", Args: []Type{ @@ -24551,7 +24883,7 @@ var syscalls_arm = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_algconn", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 366, Name: "accept4$ax25", CallName: "accept4", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -24587,7 +24919,7 @@ var syscalls_arm = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 366, Name: "accept4$netrom", CallName: "accept4", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -24603,6 +24935,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$rose", CallName: "accept4", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any", 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_rose", 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}}}, @@ -24657,7 +24995,7 @@ var syscalls_arm = []*Syscall{ }}, {NR: 282, Name: "bind$ax25", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, {NR: 282, Name: "bind$bt_hci", CallName: "bind", Args: []Type{ @@ -24712,7 +25050,7 @@ var syscalls_arm = []*Syscall{ }}, {NR: 282, Name: "bind$netrom", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, {NR: 282, Name: "bind$nfc_llcp", CallName: "bind", Args: []Type{ @@ -24735,6 +25073,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$rose", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &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"}}}, @@ -24947,7 +25290,7 @@ var syscalls_arm = []*Syscall{ }}, {NR: 283, Name: "connect$ax25", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, {NR: 283, Name: "connect$bt_l2cap", CallName: "connect", Args: []Type{ @@ -25002,7 +25345,7 @@ var syscalls_arm = []*Syscall{ }}, {NR: 283, Name: "connect$netrom", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, {NR: 283, Name: "connect$nfc_llcp", CallName: "connect", Args: []Type{ @@ -25035,6 +25378,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$rose", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &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"}}}, @@ -25462,7 +25810,7 @@ var syscalls_arm = []*Syscall{ }}, {NR: 287, Name: "getpeername$ax25", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$inet", CallName: "getpeername", Args: []Type{ @@ -25492,7 +25840,7 @@ var syscalls_arm = []*Syscall{ }}, {NR: 287, Name: "getpeername$netrom", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$packet", CallName: "getpeername", Args: []Type{ @@ -25547,7 +25895,7 @@ var syscalls_arm = []*Syscall{ }}, {NR: 286, Name: "getsockname$ax25", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$inet", CallName: "getsockname", Args: []Type{ @@ -25577,7 +25925,7 @@ var syscalls_arm = []*Syscall{ }}, {NR: 286, Name: "getsockname$netrom", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$packet", CallName: "getsockname", Args: []Type{ @@ -25840,13 +26188,6 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 24, ArgDir: 1}, Kind: 1, RangeBegin: 24, RangeEnd: 24}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4}}, BitSize: 8, Buf: "val"}}, }}, - {NR: 295, Name: "getsockopt$ax25_buf", CallName: "getsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 257}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_option_types_buf", FldName: "optname", TypeSize: 4}}, Vals: []uint64{25}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, - &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$ax25_int", CallName: "getsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 257}, @@ -26904,6 +27245,13 @@ 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$rose", CallName: "getsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 260}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rose_sockopts", FldName: "opt", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "arg"}}, + }}, {NR: 295, Name: "getsockopt$sock_buf", CallName: "getsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, @@ -29308,6 +29656,56 @@ 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$SIOCAX25ADDFWD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35306}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ax25_fwd_struct"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25ADDUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", 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: "sockaddr_ax25_uid"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25CTLCON", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35304}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ax25_ctl_struct"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25DELFWD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35307}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ax25_fwd_struct"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25DELUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35298}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25_uid"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25GETINFO", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35309}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 76, ArgDir: 1}, Kind: 1, RangeBegin: 76, RangeEnd: 76}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25GETINFOOLD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35305}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 52, ArgDir: 1}, Kind: 1, RangeBegin: 52, RangeEnd: 52}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25GETUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", 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: "sockaddr_ax25_uid"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25NOUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35299}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}, Kind: 2, RangeEnd: 1}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25OPTRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35303}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ax25_route_opt_struct"}}}, + }}, {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}, @@ -29328,6 +29726,44 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35105}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]", Dir: 1}}}, }}, + {NR: 54, Name: "ioctl$SIOCGSTAMP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35078}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "timeval", Dir: 1}}}, + }}, + {NR: 54, Name: "ioctl$SIOCGSTAMPNS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35079}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "timespec", Dir: 1}}}, + }}, + {NR: 54, Name: "ioctl$SIOCNRDECOBS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35298}, + }}, + {NR: 54, Name: "ioctl$SIOCRSACCEPT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35299}, + }}, + {NR: 54, Name: "ioctl$SIOCRSGCAUSE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", 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: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$SIOCRSGL2CALL", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35301}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}}, + }}, + {NR: 54, Name: "ioctl$SIOCRSSCAUSE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", 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: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}}, + }}, + {NR: 54, Name: "ioctl$SIOCRSSL2CALL", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35298}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}}, + }}, {NR: 54, Name: "ioctl$SIOCSIFHWADDR", 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: 35108}, @@ -30928,10 +31364,25 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35074}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", TypeSize: 4}}}, }}, - {NR: 54, Name: "ioctl$sock_bt", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt", FldName: "fd", TypeSize: 4}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bt_ioctl", FldName: "cmd", TypeSize: 4}}, Vals: []uint64{21521, 21531, 35078, 35079}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 2, IsVarlen: true}}}, + {NR: 54, Name: "ioctl$sock_TIOCINQ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21531}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$sock_TIOCOUTQ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21521}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$sock_ax25_SIOCADDRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35083}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ax25_routes_struct"}}}, + }}, + {NR: 54, Name: "ioctl$sock_ax25_SIOCDELRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ax25_routes_struct"}}}, }}, {NR: 54, Name: "ioctl$sock_bt_bnep_BNEPCONNADD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt_bnep", FldName: "fd", TypeSize: 4}}, @@ -31236,33 +31687,32 @@ var syscalls_arm = []*Syscall{ {NR: 54, Name: "ioctl$sock_netrom_SIOCADDRT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35083}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 54, Name: "ioctl$sock_netrom_SIOCGSTAMP", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35078}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "nr_route_struct"}}}, }}, - {NR: 54, Name: "ioctl$sock_netrom_SIOCGSTAMPNS", CallName: "ioctl", Args: []Type{ + {NR: 54, Name: "ioctl$sock_netrom_SIOCDELRT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35079}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 54, Name: "ioctl$sock_netrom_TIOCINQ", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21531}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 54, Name: "ioctl$sock_netrom_TIOCOUTQ", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21521}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "nr_route_struct"}}}, }}, {NR: 54, Name: "ioctl$sock_proto_private", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cmd", TypeSize: 2}}, Kind: 2, RangeBegin: 35296, RangeEnd: 35311}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, }}, + {NR: 54, Name: "ioctl$sock_rose_SIOCADDRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35083}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rose_route_struct"}}}, + }}, + {NR: 54, Name: "ioctl$sock_rose_SIOCDELRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rose_route_struct"}}}, + }}, + {NR: 54, Name: "ioctl$sock_rose_SIOCRSCLRRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35300}, + }}, {NR: 54, Name: "ioctl$void", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ioctl_void", FldName: "cmd", TypeSize: 4}}, Vals: []uint64{21585, 21584, 3221510264}}, @@ -31465,10 +31915,6 @@ var syscalls_arm = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, }}, - {NR: 284, Name: "listen$netrom", CallName: "listen", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, - }}, {NR: 232, Name: "listxattr", CallName: "listxattr", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "list", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -32931,10 +33377,10 @@ var syscalls_arm = []*Syscall{ }}, {NR: 292, Name: "recvfrom$ax25", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, {NR: 292, Name: "recvfrom$inet", CallName: "recvfrom", Args: []Type{ @@ -32969,6 +33415,14 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, + {NR: 292, Name: "recvfrom$netrom", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, + }}, {NR: 292, Name: "recvfrom$packet", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -32977,6 +33431,14 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, + {NR: 292, Name: "recvfrom$rose", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, + }}, {NR: 292, Name: "recvfrom$unix", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -33002,11 +33464,6 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "recv_msghdr", Dir: 2}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, }}, - {NR: 297, Name: "recvmsg$netrom", CallName: "recvmsg", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netrom", Dir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, - }}, {NR: 253, Name: "remap_file_pages", CallName: "remap_file_pages", Args: []Type{ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Buf: "addr"}, @@ -33657,11 +34114,6 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink_full[netlink_msg_t[netlink_random_msg_type, void, nl_generic_attr]]"}}}, &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$netrom", CallName: "sendmsg", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netrom"}}}, - &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$nfc_llcp", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "nfc_llcp_send_msghdr"}}}, @@ -33727,10 +34179,10 @@ var syscalls_arm = []*Syscall{ }}, {NR: 290, Name: "sendto$ax25", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, &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}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, {NR: 290, Name: "sendto$inet", CallName: "sendto", Args: []Type{ @@ -33765,6 +34217,14 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, + {NR: 290, Name: "sendto$netrom", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + &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}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, + }}, {NR: 290, Name: "sendto$packet", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, @@ -33773,6 +34233,14 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, }}, + {NR: 290, Name: "sendto$rose", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + &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}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, + }}, {NR: 290, Name: "sendto$unix", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, @@ -34190,11 +34658,11 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "xdp_umem_reg"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "val"}, }}, - {NR: 294, Name: "setsockopt$ax25_buf", CallName: "setsockopt", Args: []Type{ + {NR: 294, Name: "setsockopt$ax25_SO_BINDTODEVICE", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 257}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_option_types_buf", FldName: "optname", TypeSize: 4}}, Vals: []uint64{25}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 25}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "ax25_devname"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 4}}, Buf: "optval"}, }}, {NR: 294, Name: "setsockopt$ax25_int", CallName: "setsockopt", Args: []Type{ @@ -35625,6 +36093,13 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "tpacket_req_u"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 4}}, Buf: "optval"}, }}, + {NR: 294, Name: "setsockopt$rose", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 260}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rose_sockopts", FldName: "opt", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", TypeSize: 4}}, Buf: "arg"}, + }}, {NR: 294, Name: "setsockopt$sock_attach_bpf", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, @@ -35847,11 +36322,6 @@ 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_alg", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 281, Name: "socket$ax25", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 3}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_socket_types", FldName: "type", TypeSize: 4}}, Vals: []uint64{2, 5, 3}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_protocols", FldName: "proto", TypeSize: 4}}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 281, Name: "socket$bt_bnep", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 4}}, Val: 31}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, @@ -35992,11 +36462,6 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_proto", FldName: "proto", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 4, 22}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 281, Name: "socket$netrom", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 6}, - &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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 281, Name: "socket$nl_crypto", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, @@ -36183,6 +36648,11 @@ var syscalls_arm = []*Syscall{ {Name: "syz_genetlink_get_family_id$tipc2", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 7}, Kind: 2, Values: []string{"TIPCv2\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_tipc2_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_init_net_socket$ax25", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_socket_types", FldName: "type", TypeSize: 4}}, Vals: []uint64{2, 5, 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_protocols", FldName: "proto", TypeSize: 4}}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_init_net_socket$bt_hci", CallName: "syz_init_net_socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 4}}, Val: 31}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, @@ -36203,6 +36673,11 @@ var syscalls_arm = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "llc_socket_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{2, 1}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_init_net_socket$netrom", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 6}, + &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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_init_net_socket$nfc_llcp", CallName: "syz_init_net_socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 39}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfc_llcp_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3}}, @@ -36213,6 +36688,11 @@ var syscalls_arm = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfc_raw_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_init_net_socket$rose", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 11}, + &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_rose", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_kvm_setup_cpu$arm64", CallName: "syz_kvm_setup_cpu", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "cpufd", TypeSize: 4}}, @@ -37409,6 +37889,7 @@ var consts_arm = []ConstValue{ {Name: "AF_PACKET", Value: 17}, {Name: "AF_PPPOX", Value: 24}, {Name: "AF_RDS", Value: 21}, + {Name: "AF_ROSE", Value: 11}, {Name: "AF_SMC", Value: 43}, {Name: "AF_TIPC", Value: 30}, {Name: "AF_UNIX", Value: 1}, @@ -37554,8 +38035,12 @@ var consts_arm = []ConstValue{ {Name: "AX25_EXTSEQ", Value: 7}, {Name: "AX25_IAMDIGI", Value: 12}, {Name: "AX25_IDLE", Value: 9}, + {Name: "AX25_INFO_OLD_SIZE", Value: 52}, + {Name: "AX25_INFO_SIZE", Value: 76}, + {Name: "AX25_KILL", Value: 99}, {Name: "AX25_MAX_DIGIS", Value: 8}, {Name: "AX25_N2", Value: 3}, + {Name: "AX25_NOUID_BLOCK", Value: 1}, {Name: "AX25_PACLEN", Value: 10}, {Name: "AX25_PIDINCL", Value: 8}, {Name: "AX25_P_ARP", Value: 205}, @@ -37571,6 +38056,7 @@ var consts_arm = []ConstValue{ {Name: "AX25_P_TEXT", Value: 240}, {Name: "AX25_P_VJCOMP", Value: 6}, {Name: "AX25_P_VJUNCOMP", Value: 7}, + {Name: "AX25_SET_RT_IPMODE", Value: 2}, {Name: "AX25_T1", Value: 2}, {Name: "AX25_T2", Value: 5}, {Name: "AX25_T3", Value: 4}, @@ -40265,6 +40751,8 @@ var consts_arm = []ConstValue{ {Name: "NETNSA_PID", Value: 2}, {Name: "NETROM_IDLE", Value: 7}, {Name: "NETROM_N2", Value: 3}, + {Name: "NETROM_NEIGH"}, + {Name: "NETROM_NODE", Value: 1}, {Name: "NETROM_T1", Value: 1}, {Name: "NETROM_T2", Value: 2}, {Name: "NETROM_T4", Value: 6}, @@ -40954,6 +41442,14 @@ var consts_arm = []ConstValue{ {Name: "RNDCLEARPOOL", Value: 20998}, {Name: "RNDGETENTCNT", Value: 2147766784}, {Name: "RNDZAPENTCNT", Value: 20996}, + {Name: "ROSE_DEFER", Value: 1}, + {Name: "ROSE_HOLDBACK", Value: 7}, + {Name: "ROSE_IDLE", Value: 5}, + {Name: "ROSE_MAX_DIGIS", Value: 6}, + {Name: "ROSE_QBITINCL", Value: 6}, + {Name: "ROSE_T1", Value: 2}, + {Name: "ROSE_T2", Value: 3}, + {Name: "ROSE_T3", Value: 4}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE", Value: 4}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT", Value: 1}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL", Value: 2}, @@ -41370,6 +41866,16 @@ var consts_arm = []ConstValue{ {Name: "SIOCAIPXITFCRT", Value: 35296}, {Name: "SIOCAIPXPRISLT", Value: 35297}, {Name: "SIOCATMARK", Value: 35077}, + {Name: "SIOCAX25ADDFWD", Value: 35306}, + {Name: "SIOCAX25ADDUID", Value: 35297}, + {Name: "SIOCAX25CTLCON", Value: 35304}, + {Name: "SIOCAX25DELFWD", Value: 35307}, + {Name: "SIOCAX25DELUID", Value: 35298}, + {Name: "SIOCAX25GETINFO", Value: 35309}, + {Name: "SIOCAX25GETINFOOLD", Value: 35305}, + {Name: "SIOCAX25GETUID", Value: 35296}, + {Name: "SIOCAX25NOUID", Value: 35299}, + {Name: "SIOCAX25OPTRT", Value: 35303}, {Name: "SIOCBONDCHANGEACTIVE", Value: 35221}, {Name: "SIOCBONDENSLAVE", Value: 35216}, {Name: "SIOCBONDINFOQUERY", Value: 35220}, @@ -41427,10 +41933,17 @@ var consts_arm = []ConstValue{ {Name: "SIOCKCMATTACH", Value: 35296}, {Name: "SIOCKCMCLONE", Value: 35298}, {Name: "SIOCKCMUNATTACH", Value: 35297}, + {Name: "SIOCNRDECOBS", Value: 35298}, {Name: "SIOCOUTQ", Value: 21521}, {Name: "SIOCOUTQNSD", Value: 35147}, {Name: "SIOCPROTOPRIVATE_BEG", Value: 35296}, {Name: "SIOCPROTOPRIVATE_END", Value: 35311}, + {Name: "SIOCRSACCEPT", Value: 35299}, + {Name: "SIOCRSCLRRT", Value: 35300}, + {Name: "SIOCRSGCAUSE", Value: 35296}, + {Name: "SIOCRSGL2CALL", Value: 35301}, + {Name: "SIOCRSSCAUSE", Value: 35297}, + {Name: "SIOCRSSL2CALL", Value: 35298}, {Name: "SIOCRTMSG", Value: 35085}, {Name: "SIOCSARP", Value: 35157}, {Name: "SIOCSHWTSTAMP", Value: 35248}, @@ -44180,4 +44693,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "e3c52bae599e17c89cb1bb8f0f348459a4eb7768" +const revision_arm = "4b5d062dc3f8a75c9ea5284f3d77252021ba2e51" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index de72630fc..87e659735 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -157,6 +157,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "sock_pppox", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_pptp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pptp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_rds", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_rds"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "sock_rose", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_rose"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_sctp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_sctp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {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}}, @@ -195,6 +196,33 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "action_gd_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "action_gd_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_TAB, int16], array[nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_kind_index]]]"}, FldName: "TCA_ACT_TAB"}, }}}, + {Key: StructKey{Name: "address_netrom_dev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "address_netrom_dev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "address_netrom_dev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "alg_aead_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alg_aead_name", TypeSize: 64}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, }}}, @@ -407,13 +435,181 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, {Key: StructKey{Name: "ax25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default"}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null"}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev"}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev"}, FldName: "rose"}, }}}, {Key: StructKey{Name: "ax25_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7, ArgDir: 1}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7, ArgDir: 1}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote", Dir: 1}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast", Dir: 1}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default", Dir: 1}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null", Dir: 1}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev", Dir: 1}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 1}, FldName: "rose"}, }}}, {Key: StructKey{Name: "ax25_address", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7, ArgDir: 2}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7, ArgDir: 2}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote", Dir: 2}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast", Dir: 2}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default", Dir: 2}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null", Dir: 2}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev", Dir: 2}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 2}, FldName: "rose"}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ax25_address_default"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_default", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_default", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_null"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_null", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_null", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ax25_address_remote"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_address_remote", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_address_remote", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_ctl_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_ctl_struct", TypeSize: 104}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "source_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_ctl_cmd", FldName: "cmd", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 99}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "digi_count", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digi_addr", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_devname"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "ax25_devname_rose"}, FldName: "rose"}, + &StructType{Key: StructKey{Name: "ax25_devname_netrom"}, FldName: "netrom"}, + }}}, + {Key: StructKey{Name: "ax25_devname_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname_netrom", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 2}, Kind: 2, Values: []string{"nr"}, NoZ: true}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 1}}, ValuesStart: 48, ValuesPerProc: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "z", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 12}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_devname_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname_rose", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"rose"}, NoZ: true}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 1}}, ValuesStart: 48, ValuesPerProc: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "z", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 10}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_fwd_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_fwd_struct", TypeSize: 14}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_from"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_to"}, + }}}, + {Key: StructKey{Name: "ax25_route_opt_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_route_opt_struct", TypeSize: 24}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_route_ipmodes", FldName: "arg", TypeSize: 4}}, Vals: []uint64{32, 68, 86}}, + }}}, + {Key: StructKey{Name: "ax25_routes_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_routes_struct", TypeSize: 71}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "digi_count", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digi_addr", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, }}}, {Key: StructKey{Name: "bdaddr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bdaddr", TypeSize: 6}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "addr0", TypeSize: 1}}}, @@ -4888,11 +5084,29 @@ var structDescs_arm64 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "full_sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "fsa_ax25"}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &StructType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, }}}, {Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72, ArgDir: 1}, Fields: []Type{ &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "fsa_ax25"}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56, ArgDir: 1}, Type: &StructType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56, ArgDir: 1}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "full_sockaddr_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_rose", TypeSize: 64}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srose_ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "srose_digis", TypeSize: 42}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "full_sockaddr_rose", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_rose", TypeSize: 64, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2, ArgDir: 1}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address", Dir: 1}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srose_ndigis", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "srose_digis", TypeSize: 42, ArgDir: 1}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, {Key: StructKey{Name: "fuse_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fuse_attr", TypeSize: 88}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ino", TypeSize: 8}}, Kind: 2, RangeEnd: 6}, @@ -7689,6 +7903,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]"}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]"}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev"}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4}, ArgFormat: 1}, Val: 3758096386}, @@ -7700,6 +7915,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]", Dir: 1}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]", Dir: 1}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]", Dir: 1}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev", Dir: 1}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 3758096386}, @@ -7711,11 +7927,30 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]", Dir: 2}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]", Dir: 2}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]", Dir: 2}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev", Dir: 2}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 3758096386}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "broadcast", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 4294967295}, }}}, + {Key: StructKey{Name: "ipv4_addr_initdev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv4_addr_initdev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 1}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 1}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1, ArgDir: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv4_addr_initdev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 2}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 2}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1, ArgDir: 2}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_t[const[170, int8]]", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 172}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 20}, @@ -7874,6 +8109,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]"}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]"}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev"}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback"}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4"}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1"}, FldName: "mcast1"}, @@ -7884,6 +8120,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]", Dir: 1}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]", Dir: 1}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]", Dir: 1}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev", Dir: 1}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback", Dir: 1}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4", Dir: 1}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1", Dir: 1}, FldName: "mcast1"}, @@ -7894,6 +8131,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]", Dir: 2}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]", Dir: 2}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]", Dir: 2}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev", Dir: 2}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback", Dir: 2}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4", Dir: 2}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1", Dir: 2}, FldName: "mcast1"}, @@ -7908,6 +8146,27 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "ipv6_addr_empty", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_empty", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 16, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }}}, + {Key: StructKey{Name: "ipv6_addr_initdev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv6_addr_initdev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 1}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 1}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1, ArgDir: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv6_addr_initdev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 2}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 2}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1, ArgDir: 2}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "ipv6_addr_ipv4"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_ipv4", TypeSize: 16}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 10}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 10, RangeEnd: 10}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a1", TypeSize: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 255}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, @@ -10115,28 +10374,6 @@ 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_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", TypeSize: 56}, Fields: []Type{ - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Buf: "vec"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ctrl", TypeSize: 8, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cmsghdr"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "ctrllen", TypeSize: 8}}, 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}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, - }}}, - {Key: StructKey{Name: "msghdr_netrom", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", TypeSize: 56, ArgDir: 2}, Fields: []Type{ - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8, ArgDir: 2}}, Buf: "vec"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ctrl", TypeSize: 8, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cmsghdr"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "ctrllen", TypeSize: 8, ArgDir: 2}}, BitSize: 8, Buf: "ctrl"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4, ArgDir: 2}}, 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_nl_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_nl_netfilter", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, @@ -16182,6 +16419,20 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"vlan\", array[m_vlan_options]]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nr_route_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nr_route_struct", TypeSize: 120}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nr_route_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "callsign"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ax25_devname"}, FldName: "device"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "quality", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "mnemonic", TypeSize: 7}, Kind: 2, SubKind: "nr_route_mnemonics", Values: []string{"syz0\x00\x00\x00", "syz1\x00\x00\x00"}}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "neighbour"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "obs_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digipeaters", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 8}}, IsPad: true}, + }}}, {Key: StructKey{Name: "ntfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ntfs_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "fs_opt[\"uid\", fmt[hex, uid]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", fmt[hex, gid]]"}, FldName: "gid"}, @@ -17495,6 +17746,60 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "futex_offset", TypeSize: 8, ArgDir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "list_op_pending", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "robust_list"}}}, }}}, + {Key: StructKey{Name: "rose_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address", TypeSize: 5}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rose_address_remote"}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "rose_address_dev"}, FldName: "dev"}, + }}}, + {Key: StructKey{Name: "rose_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rose_address_remote", Dir: 1}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 1}, FldName: "dev"}, + }}}, + {Key: StructKey{Name: "rose_address_dev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_dev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_dev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_remote"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_remote", TypeSize: 5}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "rose_address_remote", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_remote", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "rose_route_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_route_struct", TypeSize: 108}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "address"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mask", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "neighbour"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 9}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ax25_devname"}, FldName: "device"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "ndigis", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digipeaters", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 11}}, IsPad: true}, + }}}, {Key: StructKey{Name: "rseq"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rseq", TypeSize: 32}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cpu_id_start", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cpu_id", TypeSize: 4}}}, @@ -18863,21 +19168,27 @@ var structDescs_arm64 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 8}, }}}, {Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16, ArgDir: 1}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2, ArgDir: 1}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 8}, }}}, {Key: StructKey{Name: "sockaddr_ax25", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2, ArgDir: 2}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address", Dir: 2}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 2}, FldName: "sax25_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "sockaddr_ax25_uid"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25_uid", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2}}, Val: 3}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "sax25_ndigis", TypeSize: 4}}, }}}, {Key: StructKey{Name: "sockaddr_can"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_can", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "can_family", TypeSize: 2}}, Val: 29}, @@ -19132,14 +19443,6 @@ var structDescs_arm64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "mac_addr", Dir: 2}, FldName: "sll_addr"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, - {Key: StructKey{Name: "sockaddr_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "ax25"}, - &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}, FldName: "full"}, - }}}, - {Key: StructKey{Name: "sockaddr_netrom", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", ArgDir: 1, IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "ax25"}, - &StructType{Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, FldName: "full"}, - }}}, {Key: StructKey{Name: "sockaddr_nfc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 39}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, @@ -19303,6 +19606,32 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, &StructType{Key: StructKey{Name: "sockaddr_ib"}, FldName: "ib"}, }}}, + {Key: StructKey{Name: "sockaddr_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose", TypeSize: 28}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_ndigis", TypeSize: 4}}, Val: 1}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_digi"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "sockaddr_rose", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose", TypeSize: 28, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2, ArgDir: 1}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address", Dir: 1}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_ndigis", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_digi"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "sockaddr_rose_any"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose_any", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_rose"}, FldName: "short"}, + &StructType{Key: StructKey{Name: "full_sockaddr_rose"}, FldName: "full"}, + }}}, + {Key: StructKey{Name: "sockaddr_rose_any", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose_any", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_rose", Dir: 1}, FldName: "short"}, + &StructType{Key: StructKey{Name: "full_sockaddr_rose", Dir: 1}, FldName: "full"}, + }}}, {Key: StructKey{Name: "sockaddr_sco"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 2}}, Val: 31}, &StructType{Key: StructKey{Name: "bdaddr"}, FldName: "addr"}, @@ -19322,7 +19651,7 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "sockaddr_storage"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", TypeSize: 128}, Fields: []Type{ &UnionType{Key: StructKey{Name: "sockaddr_un"}, FldName: "un"}, &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "in"}, - &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "ax25"}, + &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}, FldName: "ax25"}, &StructType{Key: StructKey{Name: "sockaddr_ipx"}, FldName: "ipx"}, &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, &UnionType{Key: StructKey{Name: "sockaddr_nl"}, FldName: "nl"}, @@ -19351,7 +19680,7 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "sockaddr_storage", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", TypeSize: 128, ArgDir: 1}, Fields: []Type{ &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}, FldName: "un"}, &StructType{Key: StructKey{Name: "sockaddr_in", Dir: 1}, FldName: "in"}, - &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "ax25"}, + &StructType{Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, FldName: "ax25"}, &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}, FldName: "ipx"}, &StructType{Key: StructKey{Name: "sockaddr_in6", Dir: 1}, FldName: "in6"}, &UnionType{Key: StructKey{Name: "sockaddr_nl", Dir: 1}, FldName: "nl"}, @@ -24920,7 +25249,7 @@ var syscalls_arm64 = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_algconn", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 202, Name: "accept$ax25", CallName: "accept", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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"}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 202, Name: "accept$inet", CallName: "accept", Args: []Type{ @@ -24940,7 +25269,7 @@ var syscalls_arm64 = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 202, Name: "accept$netrom", CallName: "accept", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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"}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 202, Name: "accept$nfc_llcp", CallName: "accept", Args: []Type{ @@ -24972,7 +25301,7 @@ var syscalls_arm64 = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_algconn", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 242, Name: "accept4$ax25", CallName: "accept4", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -25008,7 +25337,7 @@ var syscalls_arm64 = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 242, Name: "accept4$netrom", CallName: "accept4", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -25024,6 +25353,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$rose", CallName: "accept4", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any", 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_rose", 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}}}, @@ -25078,7 +25413,7 @@ var syscalls_arm64 = []*Syscall{ }}, {NR: 200, Name: "bind$ax25", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 200, Name: "bind$bt_hci", CallName: "bind", Args: []Type{ @@ -25133,7 +25468,7 @@ var syscalls_arm64 = []*Syscall{ }}, {NR: 200, Name: "bind$netrom", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 200, Name: "bind$nfc_llcp", CallName: "bind", Args: []Type{ @@ -25156,6 +25491,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$rose", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &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"}}}, @@ -25359,7 +25699,7 @@ var syscalls_arm64 = []*Syscall{ }}, {NR: 203, Name: "connect$ax25", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 203, Name: "connect$bt_l2cap", CallName: "connect", Args: []Type{ @@ -25414,7 +25754,7 @@ var syscalls_arm64 = []*Syscall{ }}, {NR: 203, Name: "connect$netrom", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 203, Name: "connect$nfc_llcp", CallName: "connect", Args: []Type{ @@ -25447,6 +25787,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$rose", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &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"}}}, @@ -25850,7 +26195,7 @@ var syscalls_arm64 = []*Syscall{ }}, {NR: 205, Name: "getpeername$ax25", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$inet", CallName: "getpeername", Args: []Type{ @@ -25880,7 +26225,7 @@ var syscalls_arm64 = []*Syscall{ }}, {NR: 205, Name: "getpeername$netrom", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$packet", CallName: "getpeername", Args: []Type{ @@ -25936,7 +26281,7 @@ var syscalls_arm64 = []*Syscall{ }}, {NR: 204, Name: "getsockname$ax25", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$inet", CallName: "getsockname", Args: []Type{ @@ -25966,7 +26311,7 @@ var syscalls_arm64 = []*Syscall{ }}, {NR: 204, Name: "getsockname$netrom", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$packet", CallName: "getsockname", Args: []Type{ @@ -26229,13 +26574,6 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 24, ArgDir: 1}, Kind: 1, RangeBegin: 24, RangeEnd: 24}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4}}, BitSize: 8, Buf: "val"}}, }}, - {NR: 209, Name: "getsockopt$ax25_buf", CallName: "getsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 257}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_option_types_buf", FldName: "optname", TypeSize: 8}}, Vals: []uint64{25}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, - &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$ax25_int", CallName: "getsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 257}, @@ -27293,6 +27631,13 @@ 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$rose", CallName: "getsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 260}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rose_sockopts", FldName: "opt", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "arg"}}, + }}, {NR: 209, Name: "getsockopt$sock_buf", CallName: "getsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 1}, @@ -29696,6 +30041,56 @@ 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$SIOCAX25ADDFWD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35306}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_fwd_struct"}}}, + }}, + {NR: 29, Name: "ioctl$SIOCAX25ADDUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", 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: "sockaddr_ax25_uid"}}}, + }}, + {NR: 29, Name: "ioctl$SIOCAX25CTLCON", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35304}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_ctl_struct"}}}, + }}, + {NR: 29, Name: "ioctl$SIOCAX25DELFWD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35307}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_fwd_struct"}}}, + }}, + {NR: 29, Name: "ioctl$SIOCAX25DELUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35298}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25_uid"}}}, + }}, + {NR: 29, Name: "ioctl$SIOCAX25GETINFO", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35309}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 76, ArgDir: 1}, Kind: 1, RangeBegin: 76, RangeEnd: 76}}, + }}, + {NR: 29, Name: "ioctl$SIOCAX25GETINFOOLD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35305}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 52, ArgDir: 1}, Kind: 1, RangeBegin: 52, RangeEnd: 52}}, + }}, + {NR: 29, Name: "ioctl$SIOCAX25GETUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", 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: "sockaddr_ax25_uid"}}}, + }}, + {NR: 29, Name: "ioctl$SIOCAX25NOUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35299}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}, Kind: 2, RangeEnd: 1}}, + }}, + {NR: 29, Name: "ioctl$SIOCAX25OPTRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35303}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_route_opt_struct"}}}, + }}, {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}, @@ -29716,6 +30111,44 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35105}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]", Dir: 1}}}, }}, + {NR: 29, Name: "ioctl$SIOCGSTAMP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35078}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timeval", Dir: 1}}}, + }}, + {NR: 29, Name: "ioctl$SIOCGSTAMPNS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35079}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec", Dir: 1}}}, + }}, + {NR: 29, Name: "ioctl$SIOCNRDECOBS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35298}, + }}, + {NR: 29, Name: "ioctl$SIOCRSACCEPT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35299}, + }}, + {NR: 29, Name: "ioctl$SIOCRSGCAUSE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", 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: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2, ArgDir: 1}}}}, + }}, + {NR: 29, Name: "ioctl$SIOCRSGL2CALL", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35301}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}}, + }}, + {NR: 29, Name: "ioctl$SIOCRSSCAUSE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", 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: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}}, + }}, + {NR: 29, Name: "ioctl$SIOCRSSL2CALL", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35298}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}}, + }}, {NR: 29, Name: "ioctl$SIOCSIFHWADDR", 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: 35108}, @@ -31336,10 +31769,25 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35074}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", TypeSize: 4}}}, }}, - {NR: 29, Name: "ioctl$sock_bt", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt", FldName: "fd", TypeSize: 4}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bt_ioctl", FldName: "cmd", TypeSize: 8}}, Vals: []uint64{21521, 21531, 35078, 35079}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 2, IsVarlen: true}}}, + {NR: 29, Name: "ioctl$sock_TIOCINQ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21531}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 29, Name: "ioctl$sock_TIOCOUTQ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21521}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 29, Name: "ioctl$sock_ax25_SIOCADDRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35083}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_routes_struct"}}}, + }}, + {NR: 29, Name: "ioctl$sock_ax25_SIOCDELRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_routes_struct"}}}, }}, {NR: 29, Name: "ioctl$sock_bt_bnep_BNEPCONNADD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt_bnep", FldName: "fd", TypeSize: 4}}, @@ -31644,33 +32092,32 @@ var syscalls_arm64 = []*Syscall{ {NR: 29, Name: "ioctl$sock_netrom_SIOCADDRT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35083}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 29, Name: "ioctl$sock_netrom_SIOCGSTAMP", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35078}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nr_route_struct"}}}, }}, - {NR: 29, Name: "ioctl$sock_netrom_SIOCGSTAMPNS", CallName: "ioctl", Args: []Type{ + {NR: 29, Name: "ioctl$sock_netrom_SIOCDELRT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35079}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 29, Name: "ioctl$sock_netrom_TIOCINQ", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21531}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 29, Name: "ioctl$sock_netrom_TIOCOUTQ", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21521}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nr_route_struct"}}}, }}, {NR: 29, Name: "ioctl$sock_proto_private", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cmd", TypeSize: 2}}, Kind: 2, RangeBegin: 35296, RangeEnd: 35311}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, }}, + {NR: 29, Name: "ioctl$sock_rose_SIOCADDRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35083}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rose_route_struct"}}}, + }}, + {NR: 29, Name: "ioctl$sock_rose_SIOCDELRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rose_route_struct"}}}, + }}, + {NR: 29, Name: "ioctl$sock_rose_SIOCRSCLRRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35300}, + }}, {NR: 29, Name: "ioctl$void", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ioctl_void", FldName: "cmd", TypeSize: 8}}, Vals: []uint64{21585, 21584, 3221510264}}, @@ -31864,10 +32311,6 @@ var syscalls_arm64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, }}, - {NR: 201, Name: "listen$netrom", CallName: "listen", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, - }}, {NR: 11, Name: "listxattr", CallName: "listxattr", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "list", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -33294,10 +33737,10 @@ var syscalls_arm64 = []*Syscall{ }}, {NR: 207, Name: "recvfrom$ax25", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 207, Name: "recvfrom$inet", CallName: "recvfrom", Args: []Type{ @@ -33332,6 +33775,14 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, + {NR: 207, Name: "recvfrom$netrom", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, + }}, {NR: 207, Name: "recvfrom$packet", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -33340,6 +33791,14 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, + {NR: 207, Name: "recvfrom$rose", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, + }}, {NR: 207, Name: "recvfrom$unix", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -33365,11 +33824,6 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "recv_msghdr", Dir: 2}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, }}, - {NR: 212, Name: "recvmsg$netrom", CallName: "recvmsg", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netrom", Dir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, - }}, {NR: 234, Name: "remap_file_pages", CallName: "remap_file_pages", Args: []Type{ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "addr"}, @@ -34007,11 +34461,6 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink_full[netlink_msg_t[netlink_random_msg_type, void, nl_generic_attr]]"}}}, &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$netrom", CallName: "sendmsg", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netrom"}}}, - &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$nfc_llcp", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nfc_llcp_send_msghdr"}}}, @@ -34077,10 +34526,10 @@ var syscalls_arm64 = []*Syscall{ }}, {NR: 206, Name: "sendto$ax25", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, &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}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 206, Name: "sendto$inet", CallName: "sendto", Args: []Type{ @@ -34115,6 +34564,14 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, + {NR: 206, Name: "sendto$netrom", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + &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}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, + }}, {NR: 206, Name: "sendto$packet", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, @@ -34123,6 +34580,14 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, + {NR: 206, Name: "sendto$rose", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + &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}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, + }}, {NR: 206, Name: "sendto$unix", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, @@ -34540,11 +35005,11 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "xdp_umem_reg"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"}, }}, - {NR: 208, Name: "setsockopt$ax25_buf", CallName: "setsockopt", Args: []Type{ + {NR: 208, Name: "setsockopt$ax25_SO_BINDTODEVICE", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 257}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_option_types_buf", FldName: "optname", TypeSize: 8}}, Vals: []uint64{25}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 25}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "ax25_devname"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Buf: "optval"}, }}, {NR: 208, Name: "setsockopt$ax25_int", CallName: "setsockopt", Args: []Type{ @@ -35975,6 +36440,13 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "tpacket_req_u"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Buf: "optval"}, }}, + {NR: 208, Name: "setsockopt$rose", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 260}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rose_sockopts", FldName: "opt", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", TypeSize: 8}}, Buf: "arg"}, + }}, {NR: 208, Name: "setsockopt$sock_attach_bpf", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 1}, @@ -36192,11 +36664,6 @@ 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_alg", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 198, Name: "socket$ax25", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 3}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_socket_types", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 5, 3}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_protocols", FldName: "proto", TypeSize: 8}}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 198, Name: "socket$bt_bnep", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 8}}, Val: 31}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -36337,11 +36804,6 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_proto", FldName: "proto", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 4, 22}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 198, Name: "socket$netrom", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 6}, - &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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 198, Name: "socket$nl_crypto", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -36514,6 +36976,11 @@ var syscalls_arm64 = []*Syscall{ {Name: "syz_genetlink_get_family_id$tipc2", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 7}, Kind: 2, Values: []string{"TIPCv2\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_tipc2_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_init_net_socket$ax25", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_socket_types", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 5, 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_protocols", FldName: "proto", TypeSize: 8}}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_init_net_socket$bt_hci", CallName: "syz_init_net_socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 8}}, Val: 31}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -36534,6 +37001,11 @@ var syscalls_arm64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "llc_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 1}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_init_net_socket$netrom", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 6}, + &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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_init_net_socket$nfc_llcp", CallName: "syz_init_net_socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 39}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfc_llcp_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 3}}, @@ -36544,6 +37016,11 @@ var syscalls_arm64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfc_raw_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_init_net_socket$rose", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 11}, + &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_rose", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_kvm_setup_cpu$arm64", CallName: "syz_kvm_setup_cpu", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "cpufd", TypeSize: 4}}, @@ -37726,6 +38203,7 @@ var consts_arm64 = []ConstValue{ {Name: "AF_PACKET", Value: 17}, {Name: "AF_PPPOX", Value: 24}, {Name: "AF_RDS", Value: 21}, + {Name: "AF_ROSE", Value: 11}, {Name: "AF_SMC", Value: 43}, {Name: "AF_TIPC", Value: 30}, {Name: "AF_UNIX", Value: 1}, @@ -37871,8 +38349,12 @@ var consts_arm64 = []ConstValue{ {Name: "AX25_EXTSEQ", Value: 7}, {Name: "AX25_IAMDIGI", Value: 12}, {Name: "AX25_IDLE", Value: 9}, + {Name: "AX25_INFO_OLD_SIZE", Value: 52}, + {Name: "AX25_INFO_SIZE", Value: 76}, + {Name: "AX25_KILL", Value: 99}, {Name: "AX25_MAX_DIGIS", Value: 8}, {Name: "AX25_N2", Value: 3}, + {Name: "AX25_NOUID_BLOCK", Value: 1}, {Name: "AX25_PACLEN", Value: 10}, {Name: "AX25_PIDINCL", Value: 8}, {Name: "AX25_P_ARP", Value: 205}, @@ -37888,6 +38370,7 @@ var consts_arm64 = []ConstValue{ {Name: "AX25_P_TEXT", Value: 240}, {Name: "AX25_P_VJCOMP", Value: 6}, {Name: "AX25_P_VJUNCOMP", Value: 7}, + {Name: "AX25_SET_RT_IPMODE", Value: 2}, {Name: "AX25_T1", Value: 2}, {Name: "AX25_T2", Value: 5}, {Name: "AX25_T3", Value: 4}, @@ -40591,6 +41074,8 @@ var consts_arm64 = []ConstValue{ {Name: "NETNSA_PID", Value: 2}, {Name: "NETROM_IDLE", Value: 7}, {Name: "NETROM_N2", Value: 3}, + {Name: "NETROM_NEIGH"}, + {Name: "NETROM_NODE", Value: 1}, {Name: "NETROM_T1", Value: 1}, {Name: "NETROM_T2", Value: 2}, {Name: "NETROM_T4", Value: 6}, @@ -41276,6 +41761,14 @@ var consts_arm64 = []ConstValue{ {Name: "RNDCLEARPOOL", Value: 20998}, {Name: "RNDGETENTCNT", Value: 2147766784}, {Name: "RNDZAPENTCNT", Value: 20996}, + {Name: "ROSE_DEFER", Value: 1}, + {Name: "ROSE_HOLDBACK", Value: 7}, + {Name: "ROSE_IDLE", Value: 5}, + {Name: "ROSE_MAX_DIGIS", Value: 6}, + {Name: "ROSE_QBITINCL", Value: 6}, + {Name: "ROSE_T1", Value: 2}, + {Name: "ROSE_T2", Value: 3}, + {Name: "ROSE_T3", Value: 4}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE", Value: 4}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT", Value: 1}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL", Value: 2}, @@ -41692,6 +42185,16 @@ var consts_arm64 = []ConstValue{ {Name: "SIOCAIPXITFCRT", Value: 35296}, {Name: "SIOCAIPXPRISLT", Value: 35297}, {Name: "SIOCATMARK", Value: 35077}, + {Name: "SIOCAX25ADDFWD", Value: 35306}, + {Name: "SIOCAX25ADDUID", Value: 35297}, + {Name: "SIOCAX25CTLCON", Value: 35304}, + {Name: "SIOCAX25DELFWD", Value: 35307}, + {Name: "SIOCAX25DELUID", Value: 35298}, + {Name: "SIOCAX25GETINFO", Value: 35309}, + {Name: "SIOCAX25GETINFOOLD", Value: 35305}, + {Name: "SIOCAX25GETUID", Value: 35296}, + {Name: "SIOCAX25NOUID", Value: 35299}, + {Name: "SIOCAX25OPTRT", Value: 35303}, {Name: "SIOCBONDCHANGEACTIVE", Value: 35221}, {Name: "SIOCBONDENSLAVE", Value: 35216}, {Name: "SIOCBONDINFOQUERY", Value: 35220}, @@ -41749,10 +42252,17 @@ var consts_arm64 = []ConstValue{ {Name: "SIOCKCMATTACH", Value: 35296}, {Name: "SIOCKCMCLONE", Value: 35298}, {Name: "SIOCKCMUNATTACH", Value: 35297}, + {Name: "SIOCNRDECOBS", Value: 35298}, {Name: "SIOCOUTQ", Value: 21521}, {Name: "SIOCOUTQNSD", Value: 35147}, {Name: "SIOCPROTOPRIVATE_BEG", Value: 35296}, {Name: "SIOCPROTOPRIVATE_END", Value: 35311}, + {Name: "SIOCRSACCEPT", Value: 35299}, + {Name: "SIOCRSCLRRT", Value: 35300}, + {Name: "SIOCRSGCAUSE", Value: 35296}, + {Name: "SIOCRSGL2CALL", Value: 35301}, + {Name: "SIOCRSSCAUSE", Value: 35297}, + {Name: "SIOCRSSL2CALL", Value: 35298}, {Name: "SIOCRTMSG", Value: 35085}, {Name: "SIOCSARP", Value: 35157}, {Name: "SIOCSHWTSTAMP", Value: 35248}, @@ -44487,4 +44997,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "41b4bac2c71c6484cc1bd571739baaecb92efc14" +const revision_arm64 = "658bd72c40dd65acf2c758310bb5a6c05e2fcbaa" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 3a536b8e1..9005c7b7f 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -150,6 +150,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "sock_pppox", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_pptp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pptp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_rds", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_rds"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "sock_rose", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_rose"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_sctp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_sctp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {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}}, @@ -186,6 +187,33 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "action_gd_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "action_gd_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ACT_TAB, int16], array[nlattr_t[int32[0:TCA_ACT_MAX_PRIO], tca_actions_kind_index]]]"}, FldName: "TCA_ACT_TAB"}, }}}, + {Key: StructKey{Name: "address_netrom_dev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "address_netrom_dev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "address_netrom_dev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "address_netrom_dev", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "alg_aead_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alg_aead_name", TypeSize: 64}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, }}}, @@ -398,13 +426,181 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, {Key: StructKey{Name: "ax25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default"}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null"}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev"}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev"}, FldName: "rose"}, }}}, {Key: StructKey{Name: "ax25_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7, ArgDir: 1}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7, ArgDir: 1}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote", Dir: 1}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast", Dir: 1}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default", Dir: 1}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null", Dir: 1}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev", Dir: 1}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 1}, FldName: "rose"}, }}}, {Key: StructKey{Name: "ax25_address", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7, ArgDir: 2}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "ax25_call", TypeSize: 7, ArgDir: 2}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &StructType{Key: StructKey{Name: "ax25_address_remote", Dir: 2}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "ax25_address_bcast", Dir: 2}, FldName: "bcast"}, + &StructType{Key: StructKey{Name: "ax25_address_default", Dir: 2}, FldName: "default"}, + &StructType{Key: StructKey{Name: "ax25_address_null", Dir: 2}, FldName: "null"}, + &StructType{Key: StructKey{Name: "address_netrom_dev", Dir: 2}, FldName: "netrom"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 2}, FldName: "rose"}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_bcast", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_bcast", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 162}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 166}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 168}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ax25_address_default"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_default", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_default", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_default", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 152}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 146}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 156}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 170}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 176}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}, Val: 2}, + }}}, + {Key: StructKey{Name: "ax25_address_null"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_null", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "ax25_address_null", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_null", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b6", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ax25_address_remote"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_address_remote", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_address_remote", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address_remote", TypeSize: 7, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b4", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b5", TypeSize: 1, ArgDir: 2}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b6", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "ax25_ctl_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_ctl_struct", TypeSize: 104}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "source_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_ctl_cmd", FldName: "cmd", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 99}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "digi_count", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digi_addr", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 7}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_devname"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname", TypeSize: 16}, Fields: []Type{ + &StructType{Key: StructKey{Name: "ax25_devname_rose"}, FldName: "rose"}, + &StructType{Key: StructKey{Name: "ax25_devname_netrom"}, FldName: "netrom"}, + }}}, + {Key: StructKey{Name: "ax25_devname_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname_netrom", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 2}, Kind: 2, Values: []string{"nr"}, NoZ: true}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 1}}, ValuesStart: 48, ValuesPerProc: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "z", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 12}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_devname_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_devname_rose", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"rose"}, NoZ: true}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "id", TypeSize: 1}}, ValuesStart: 48, ValuesPerProc: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "z", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 10}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ax25_fwd_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_fwd_struct", TypeSize: 14}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_from"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_to"}, + }}}, + {Key: StructKey{Name: "ax25_route_opt_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_route_opt_struct", TypeSize: 24}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_route_ipmodes", FldName: "arg", TypeSize: 4}}, Vals: []uint64{32, 68, 86}}, + }}}, + {Key: StructKey{Name: "ax25_routes_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_routes_struct", TypeSize: 71}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "port_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "dest_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "digi_count", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digi_addr", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, }}}, {Key: StructKey{Name: "bdaddr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bdaddr", TypeSize: 6}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "addr0", TypeSize: 1}}}, @@ -4879,11 +5075,29 @@ var structDescs_ppc64le = []*KeyedStruct{ }}}, {Key: StructKey{Name: "full_sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "fsa_ax25"}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &StructType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, }}}, {Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_ax25", TypeSize: 72, ArgDir: 1}, Fields: []Type{ &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "fsa_ax25"}, - &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56, ArgDir: 1}, Type: &StructType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "fsa_digipeater", TypeSize: 56, ArgDir: 1}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "full_sockaddr_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_rose", TypeSize: 64}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srose_ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "srose_digis", TypeSize: 42}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "full_sockaddr_rose", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "full_sockaddr_rose", TypeSize: 64, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2, ArgDir: 1}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address", Dir: 1}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srose_ndigis", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 6}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "srose_digis", TypeSize: 42, ArgDir: 1}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, {Key: StructKey{Name: "fuse_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fuse_attr", TypeSize: 88}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ino", TypeSize: 8}}, Kind: 2, RangeEnd: 6}, @@ -7667,6 +7881,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]"}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]"}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev"}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4}, ArgFormat: 1}, Val: 3758096386}, @@ -7678,6 +7893,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]", Dir: 1}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]", Dir: 1}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]", Dir: 1}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev", Dir: 1}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}, Val: 3758096386}, @@ -7689,11 +7905,30 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]", Dir: 2}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[const[187, int8]]", Dir: 2}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv4_addr_t[netdev_addr_id]", Dir: 2}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv4_addr_initdev", Dir: 2}, FldName: "initdev"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "loopback", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 2130706433}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast1", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 3758096385}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "multicast2", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 3758096386}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "broadcast", TypeSize: 4, ArgDir: 2}, ArgFormat: 1}, Val: 4294967295}, }}}, + {Key: StructKey{Name: "ipv4_addr_initdev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv4_addr_initdev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 1}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 1}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1, ArgDir: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv4_addr_initdev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_initdev", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 2}}, Val: 172}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 2}}, Val: 30}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a3", TypeSize: 1, ArgDir: 2}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "ipv4_addr_t[const[170, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv4_addr_t[const[170, int8]]", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 172}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 20}, @@ -7852,6 +8087,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]"}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]"}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev"}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback"}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4"}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1"}, FldName: "mcast1"}, @@ -7862,6 +8098,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]", Dir: 1}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]", Dir: 1}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]", Dir: 1}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev", Dir: 1}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback", Dir: 1}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4", Dir: 1}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1", Dir: 1}, FldName: "mcast1"}, @@ -7872,6 +8109,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xaa, int8]]", Dir: 2}, FldName: "local"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[const[0xbb, int8]]", Dir: 2}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ipv6_addr_t[netdev_addr_id]", Dir: 2}, FldName: "dev"}, + &StructType{Key: StructKey{Name: "ipv6_addr_initdev", Dir: 2}, FldName: "initdev"}, &StructType{Key: StructKey{Name: "ipv6_addr_loopback", Dir: 2}, FldName: "loopback"}, &StructType{Key: StructKey{Name: "ipv6_addr_ipv4", Dir: 2}, FldName: "ipv4"}, &StructType{Key: StructKey{Name: "ipv6_addr_multicast1", Dir: 2}, FldName: "mcast1"}, @@ -7886,6 +8124,27 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "ipv6_addr_empty", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_empty", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 16, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }}}, + {Key: StructKey{Name: "ipv6_addr_initdev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv6_addr_initdev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 1}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 1}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1, ArgDir: 1}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "ipv6_addr_initdev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_initdev", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a0", TypeSize: 1, ArgDir: 2}}, Val: 254}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a1", TypeSize: 1, ArgDir: 2}}, Val: 136}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a2", TypeSize: 12, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 12, RangeEnd: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a3", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a4", TypeSize: 1, ArgDir: 2}}, ValuesStart: 1, ValuesPerProc: 1}, + }}}, {Key: StructKey{Name: "ipv6_addr_ipv4"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipv6_addr_ipv4", TypeSize: 16}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 10}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 10, RangeEnd: 10}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a1", TypeSize: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 255}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, @@ -10038,28 +10297,6 @@ 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_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", TypeSize: 56}, Fields: []Type{ - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8}}, Buf: "vec"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ctrl", TypeSize: 8, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cmsghdr"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "ctrllen", TypeSize: 8}}, 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}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, - }}}, - {Key: StructKey{Name: "msghdr_netrom", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", TypeSize: 56, ArgDir: 2}, Fields: []Type{ - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4, ArgDir: 2}}, Buf: "addr"}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", TypeSize: 8, ArgDir: 2}}, Buf: "vec"}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ctrl", TypeSize: 8, IsOptional: true}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "cmsghdr"}}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "ctrllen", TypeSize: 8, ArgDir: 2}}, BitSize: 8, Buf: "ctrl"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4, ArgDir: 2}}, 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_nl_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_nl_netfilter", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Buf: "addr"}, @@ -16092,6 +16329,20 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nla_type", TypeSize: 4}}, Kind: 2, RangeEnd: 32}, &StructType{Key: StructKey{Name: "tca_actions_t[\"vlan\", array[m_vlan_options]]"}, FldName: "payload"}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nr_route_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nr_route_struct", TypeSize: 120}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nr_route_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{0, 1}, BitMask: true}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "callsign"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ax25_devname"}, FldName: "device"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "quality", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "mnemonic", TypeSize: 7}, Kind: 2, SubKind: "nr_route_mnemonics", Values: []string{"syz0\x00\x00\x00", "syz1\x00\x00\x00"}}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "neighbour"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "obs_count", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digipeaters", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 8}}, IsPad: true}, + }}}, {Key: StructKey{Name: "ntfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ntfs_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "fs_opt[\"uid\", fmt[hex, uid]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", fmt[hex, gid]]"}, FldName: "gid"}, @@ -17405,6 +17656,60 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "futex_offset", TypeSize: 8, ArgDir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "list_op_pending", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "robust_list"}}}, }}}, + {Key: StructKey{Name: "rose_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address", TypeSize: 5}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rose_address_remote"}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "rose_address_dev"}, FldName: "dev"}, + }}}, + {Key: StructKey{Name: "rose_address", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rose_address_remote", Dir: 1}, FldName: "remote"}, + &StructType{Key: StructKey{Name: "rose_address_dev", Dir: 1}, FldName: "dev"}, + }}}, + {Key: StructKey{Name: "rose_address_dev"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_dev", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_dev", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_dev", TypeSize: 5, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 2}}, Val: 187}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1}, + }}}, + {Key: StructKey{Name: "rose_address_remote"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_remote", TypeSize: 5}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "rose_address_remote", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_address_remote", TypeSize: 5, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b0", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b1", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b2", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "b3", TypeSize: 1, ArgDir: 1}}, Val: 204}, + &ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "b4", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 4}, + }}}, + {Key: StructKey{Name: "rose_route_struct"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rose_route_struct", TypeSize: 108}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "address"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mask", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "neighbour"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 9}}, IsPad: true}, + &UnionType{Key: StructKey{Name: "ax25_devname"}, FldName: "device"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "ndigis", TypeSize: 1}}, Kind: 2, RangeEnd: 8}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "digipeaters", TypeSize: 56}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 11}}, IsPad: true}, + }}}, {Key: StructKey{Name: "rseq"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rseq", TypeSize: 32}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cpu_id_start", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cpu_id", TypeSize: 4}}}, @@ -18745,21 +19050,27 @@ var structDescs_ppc64le = []*KeyedStruct{ }}}, {Key: StructKey{Name: "sockaddr_ax25"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4}}, Kind: 2, RangeEnd: 8}, }}}, {Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16, ArgDir: 1}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2, ArgDir: 1}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 8}, }}}, {Key: StructKey{Name: "sockaddr_ax25", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25", TypeSize: 16, ArgDir: 2}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2, ArgDir: 2}}, Val: 3}, - &StructType{Key: StructKey{Name: "ax25_address", Dir: 2}, FldName: "sax25_call"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 2}, FldName: "sax25_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 8}, + }}}, + {Key: StructKey{Name: "sockaddr_ax25_uid"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ax25_uid", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sax25_family", TypeSize: 2}}, Val: 3}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "sax25_call"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sax25_ndigis", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "sax25_ndigis", TypeSize: 4}}, }}}, {Key: StructKey{Name: "sockaddr_can"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_can", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "can_family", TypeSize: 2}}, Val: 29}, @@ -19014,14 +19325,6 @@ var structDescs_ppc64le = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "mac_addr", Dir: 2}, FldName: "sll_addr"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, - {Key: StructKey{Name: "sockaddr_netrom"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "ax25"}, - &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}, FldName: "full"}, - }}}, - {Key: StructKey{Name: "sockaddr_netrom", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", ArgDir: 1, IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "ax25"}, - &StructType{Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, FldName: "full"}, - }}}, {Key: StructKey{Name: "sockaddr_nfc"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 39}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, @@ -19185,6 +19488,32 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, &StructType{Key: StructKey{Name: "sockaddr_ib"}, FldName: "ib"}, }}}, + {Key: StructKey{Name: "sockaddr_rose"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose", TypeSize: 28}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address"}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_ndigis", TypeSize: 4}}, Val: 1}, + &UnionType{Key: StructKey{Name: "ax25_address"}, FldName: "srose_digi"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "sockaddr_rose", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose", TypeSize: 28, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_family", TypeSize: 2, ArgDir: 1}}, Val: 11}, + &UnionType{Key: StructKey{Name: "rose_address", Dir: 1}, FldName: "srose_addr"}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_call"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "srose_ndigis", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}, FldName: "srose_digi"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "sockaddr_rose_any"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose_any", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_rose"}, FldName: "short"}, + &StructType{Key: StructKey{Name: "full_sockaddr_rose"}, FldName: "full"}, + }}}, + {Key: StructKey{Name: "sockaddr_rose_any", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rose_any", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_rose", Dir: 1}, FldName: "short"}, + &StructType{Key: StructKey{Name: "full_sockaddr_rose", Dir: 1}, FldName: "full"}, + }}}, {Key: StructKey{Name: "sockaddr_sco"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 2}}, Val: 31}, &StructType{Key: StructKey{Name: "bdaddr"}, FldName: "addr"}, @@ -19204,7 +19533,7 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "sockaddr_storage"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", TypeSize: 128}, Fields: []Type{ &UnionType{Key: StructKey{Name: "sockaddr_un"}, FldName: "un"}, &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "in"}, - &StructType{Key: StructKey{Name: "sockaddr_ax25"}, FldName: "ax25"}, + &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}, FldName: "ax25"}, &StructType{Key: StructKey{Name: "sockaddr_ipx"}, FldName: "ipx"}, &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, &UnionType{Key: StructKey{Name: "sockaddr_nl"}, FldName: "nl"}, @@ -19233,7 +19562,7 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "sockaddr_storage", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", TypeSize: 128, ArgDir: 1}, Fields: []Type{ &UnionType{Key: StructKey{Name: "sockaddr_un", Dir: 1}, FldName: "un"}, &StructType{Key: StructKey{Name: "sockaddr_in", Dir: 1}, FldName: "in"}, - &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}, FldName: "ax25"}, + &StructType{Key: StructKey{Name: "full_sockaddr_ax25", Dir: 1}, FldName: "ax25"}, &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}, FldName: "ipx"}, &StructType{Key: StructKey{Name: "sockaddr_in6", Dir: 1}, FldName: "in6"}, &UnionType{Key: StructKey{Name: "sockaddr_nl", Dir: 1}, FldName: "nl"}, @@ -23931,7 +24260,7 @@ var syscalls_ppc64le = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_algconn", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 330, Name: "accept$ax25", CallName: "accept", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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"}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 330, Name: "accept$inet", CallName: "accept", Args: []Type{ @@ -23951,7 +24280,7 @@ var syscalls_ppc64le = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 330, Name: "accept$netrom", CallName: "accept", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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"}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 330, Name: "accept$nfc_llcp", CallName: "accept", Args: []Type{ @@ -23983,7 +24312,7 @@ var syscalls_ppc64le = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_algconn", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 344, Name: "accept4$ax25", CallName: "accept4", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -24019,7 +24348,7 @@ var syscalls_ppc64le = []*Syscall{ }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 344, Name: "accept4$netrom", CallName: "accept4", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, @@ -24035,6 +24364,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$rose", CallName: "accept4", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any", 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_rose", 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}}}, @@ -24092,7 +24427,7 @@ var syscalls_ppc64le = []*Syscall{ }}, {NR: 327, Name: "bind$ax25", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 327, Name: "bind$bt_hci", CallName: "bind", Args: []Type{ @@ -24147,7 +24482,7 @@ var syscalls_ppc64le = []*Syscall{ }}, {NR: 327, Name: "bind$netrom", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 327, Name: "bind$nfc_llcp", CallName: "bind", Args: []Type{ @@ -24170,6 +24505,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$rose", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &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"}}}, @@ -24382,7 +24722,7 @@ var syscalls_ppc64le = []*Syscall{ }}, {NR: 328, Name: "connect$ax25", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 328, Name: "connect$bt_l2cap", CallName: "connect", Args: []Type{ @@ -24437,7 +24777,7 @@ var syscalls_ppc64le = []*Syscall{ }}, {NR: 328, Name: "connect$netrom", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 328, Name: "connect$nfc_llcp", CallName: "connect", Args: []Type{ @@ -24470,6 +24810,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$rose", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &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"}}}, @@ -24903,7 +25248,7 @@ var syscalls_ppc64le = []*Syscall{ }}, {NR: 332, Name: "getpeername$ax25", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$inet", CallName: "getpeername", Args: []Type{ @@ -24933,7 +25278,7 @@ var syscalls_ppc64le = []*Syscall{ }}, {NR: 332, Name: "getpeername$netrom", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$packet", CallName: "getpeername", Args: []Type{ @@ -24992,7 +25337,7 @@ var syscalls_ppc64le = []*Syscall{ }}, {NR: 331, Name: "getsockname$ax25", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$inet", CallName: "getsockname", Args: []Type{ @@ -25022,7 +25367,7 @@ var syscalls_ppc64le = []*Syscall{ }}, {NR: 331, Name: "getsockname$netrom", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_netrom", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25", 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$packet", CallName: "getsockname", Args: []Type{ @@ -25285,13 +25630,6 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 24, ArgDir: 1}, Kind: 1, RangeBegin: 24, RangeEnd: 24}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "len", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", TypeSize: 4}}, BitSize: 8, Buf: "val"}}, }}, - {NR: 340, Name: "getsockopt$ax25_buf", CallName: "getsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 257}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_option_types_buf", FldName: "optname", TypeSize: 8}}, Vals: []uint64{25}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, - &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$ax25_int", CallName: "getsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 257}, @@ -26349,6 +26687,13 @@ 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$rose", CallName: "getsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 260}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rose_sockopts", FldName: "opt", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "arg"}}, + }}, {NR: 340, Name: "getsockopt$sock_buf", CallName: "getsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 1}, @@ -28738,6 +29083,56 @@ 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$SIOCAX25ADDFWD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35306}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_fwd_struct"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25ADDUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", 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: "sockaddr_ax25_uid"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25CTLCON", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35304}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_ctl_struct"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25DELFWD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35307}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_fwd_struct"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25DELUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35298}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25_uid"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25GETINFO", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35309}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 76, ArgDir: 1}, Kind: 1, RangeBegin: 76, RangeEnd: 76}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25GETINFOOLD", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35305}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 52, ArgDir: 1}, Kind: 1, RangeBegin: 52, RangeEnd: 52}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25GETUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", 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: "sockaddr_ax25_uid"}}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25NOUID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35299}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}, Kind: 2, RangeEnd: 1}}, + }}, + {NR: 54, Name: "ioctl$SIOCAX25OPTRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35303}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_route_opt_struct"}}}, + }}, {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}, @@ -28758,6 +29153,44 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35105}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]", Dir: 1}}}, }}, + {NR: 54, Name: "ioctl$SIOCGSTAMP", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35078}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timeval", Dir: 1}}}, + }}, + {NR: 54, Name: "ioctl$SIOCGSTAMPNS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35079}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "timespec", Dir: 1}}}, + }}, + {NR: 54, Name: "ioctl$SIOCNRDECOBS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35298}, + }}, + {NR: 54, Name: "ioctl$SIOCRSACCEPT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35299}, + }}, + {NR: 54, Name: "ioctl$SIOCRSGCAUSE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", 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: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$SIOCRSGL2CALL", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35301}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "ax25_address", Dir: 1}}}, + }}, + {NR: 54, Name: "ioctl$SIOCRSSCAUSE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", 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: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}}, + }}, + {NR: 54, Name: "ioctl$SIOCRSSL2CALL", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35298}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "ax25_address"}}}, + }}, {NR: 54, Name: "ioctl$SIOCSIFHWADDR", 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: 35108}, @@ -29803,10 +30236,25 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35074}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", TypeSize: 4}}}, }}, - {NR: 54, Name: "ioctl$sock_bt", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt", FldName: "fd", TypeSize: 4}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bt_ioctl", FldName: "cmd", TypeSize: 8}}, Vals: []uint64{1074033779, 1074030207, 35078, 35079}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 2, IsVarlen: true}}}, + {NR: 54, Name: "ioctl$sock_TIOCINQ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074030207}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$sock_TIOCOUTQ", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033779}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + }}, + {NR: 54, Name: "ioctl$sock_ax25_SIOCADDRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35083}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_routes_struct"}}}, + }}, + {NR: 54, Name: "ioctl$sock_ax25_SIOCDELRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ax25_routes_struct"}}}, }}, {NR: 54, Name: "ioctl$sock_bt_bnep_BNEPCONNADD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_bt_bnep", FldName: "fd", TypeSize: 4}}, @@ -30111,33 +30559,32 @@ var syscalls_ppc64le = []*Syscall{ {NR: 54, Name: "ioctl$sock_netrom_SIOCADDRT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35083}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 54, Name: "ioctl$sock_netrom_SIOCGSTAMP", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35078}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nr_route_struct"}}}, }}, - {NR: 54, Name: "ioctl$sock_netrom_SIOCGSTAMPNS", CallName: "ioctl", Args: []Type{ + {NR: 54, Name: "ioctl$sock_netrom_SIOCDELRT", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35079}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 54, Name: "ioctl$sock_netrom_TIOCINQ", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074030207}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, - {NR: 54, Name: "ioctl$sock_netrom_TIOCOUTQ", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033779}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nr_route_struct"}}}, }}, {NR: 54, Name: "ioctl$sock_proto_private", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cmd", TypeSize: 2}}, Kind: 2, RangeBegin: 35296, RangeEnd: 35311}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, }}, + {NR: 54, Name: "ioctl$sock_rose_SIOCADDRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35083}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rose_route_struct"}}}, + }}, + {NR: 54, Name: "ioctl$sock_rose_SIOCDELRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35084}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rose_route_struct"}}}, + }}, + {NR: 54, Name: "ioctl$sock_rose_SIOCRSCLRRT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35300}, + }}, {NR: 54, Name: "ioctl$void", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ioctl_void", FldName: "cmd", TypeSize: 8}}, Vals: []uint64{536897025, 536897026, 3221510264}}, @@ -30348,10 +30795,6 @@ var syscalls_ppc64le = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, }}, - {NR: 329, Name: "listen$netrom", CallName: "listen", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, - }}, {NR: 215, Name: "listxattr", CallName: "listxattr", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "list", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -31790,10 +32233,10 @@ var syscalls_ppc64le = []*Syscall{ }}, {NR: 337, Name: "recvfrom$ax25", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 337, Name: "recvfrom$inet", CallName: "recvfrom", Args: []Type{ @@ -31828,6 +32271,14 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, + {NR: 337, Name: "recvfrom$netrom", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, + }}, {NR: 337, Name: "recvfrom$packet", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -31836,6 +32287,14 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, + {NR: 337, Name: "recvfrom$rose", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, + }}, {NR: 337, Name: "recvfrom$unix", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, @@ -31861,11 +32320,6 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "recv_msghdr", Dir: 2}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, }}, - {NR: 342, Name: "recvmsg$netrom", CallName: "recvmsg", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netrom", Dir: 2}}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, - }}, {NR: 239, Name: "remap_file_pages", CallName: "remap_file_pages", Args: []Type{ &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "addr", TypeSize: 8}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "addr"}, @@ -32419,11 +32873,6 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink_full[netlink_msg_t[netlink_random_msg_type, void, nl_generic_attr]]"}}}, &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$netrom", CallName: "sendmsg", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netrom"}}}, - &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$nfc_llcp", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nfc_llcp_send_msghdr"}}}, @@ -32489,10 +32938,10 @@ var syscalls_ppc64le = []*Syscall{ }}, {NR: 335, Name: "sendto$ax25", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, &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}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ax25"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, {NR: 335, Name: "sendto$inet", CallName: "sendto", Args: []Type{ @@ -32527,6 +32976,14 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, + {NR: 335, Name: "sendto$netrom", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + &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}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "full_sockaddr_ax25"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, + }}, {NR: 335, Name: "sendto$packet", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, @@ -32535,6 +32992,14 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, }}, + {NR: 335, Name: "sendto$rose", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + &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}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &UnionType{Key: StructKey{Name: "sockaddr_rose_any"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Buf: "addr"}, + }}, {NR: 335, Name: "sendto$unix", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, @@ -32952,11 +33417,11 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "xdp_umem_reg"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "val"}, }}, - {NR: 339, Name: "setsockopt$ax25_buf", CallName: "setsockopt", Args: []Type{ + {NR: 339, Name: "setsockopt$ax25_SO_BINDTODEVICE", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 257}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_option_types_buf", FldName: "optname", TypeSize: 8}}, Vals: []uint64{25}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 25}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "ax25_devname"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Buf: "optval"}, }}, {NR: 339, Name: "setsockopt$ax25_int", CallName: "setsockopt", Args: []Type{ @@ -34387,6 +34852,13 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "tpacket_req_u"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Buf: "optval"}, }}, + {NR: 339, Name: "setsockopt$rose", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 260}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rose_sockopts", FldName: "opt", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", TypeSize: 8}}, Buf: "arg"}, + }}, {NR: 339, Name: "setsockopt$sock_attach_bpf", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 1}, @@ -34552,11 +35024,6 @@ 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_alg", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 326, Name: "socket$ax25", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 3}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_socket_types", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 5, 3}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_protocols", FldName: "proto", TypeSize: 8}}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 326, Name: "socket$bt_bnep", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 8}}, Val: 31}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -34697,11 +35164,6 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_proto", FldName: "proto", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 4, 22}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, - {NR: 326, Name: "socket$netrom", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 6}, - &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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 326, Name: "socket$nl_crypto", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -34888,6 +35350,11 @@ var syscalls_ppc64le = []*Syscall{ {Name: "syz_genetlink_get_family_id$tipc2", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 7}, Kind: 2, Values: []string{"TIPCv2\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_tipc2_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_init_net_socket$ax25", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_socket_types", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 5, 3}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ax25_protocols", FldName: "proto", TypeSize: 8}}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_init_net_socket$bt_hci", CallName: "syz_init_net_socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 8}}, Val: 31}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -34908,6 +35375,11 @@ var syscalls_ppc64le = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "llc_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{2, 1}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_init_net_socket$netrom", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 6}, + &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_netrom", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_init_net_socket$nfc_llcp", CallName: "syz_init_net_socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 39}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfc_llcp_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 2, 3}}, @@ -34918,6 +35390,11 @@ var syscalls_ppc64le = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "nfc_raw_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{1, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_init_net_socket$rose", CallName: "syz_init_net_socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 11}, + &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_rose", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_kvm_setup_cpu$arm64", CallName: "syz_kvm_setup_cpu", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmvm", FldName: "fd", TypeSize: 4}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_kvmcpu", FldName: "cpufd", TypeSize: 4}}, @@ -36121,6 +36598,7 @@ var consts_ppc64le = []ConstValue{ {Name: "AF_PACKET", Value: 17}, {Name: "AF_PPPOX", Value: 24}, {Name: "AF_RDS", Value: 21}, + {Name: "AF_ROSE", Value: 11}, {Name: "AF_SMC", Value: 43}, {Name: "AF_TIPC", Value: 30}, {Name: "AF_UNIX", Value: 1}, @@ -36266,8 +36744,12 @@ var consts_ppc64le = []ConstValue{ {Name: "AX25_EXTSEQ", Value: 7}, {Name: "AX25_IAMDIGI", Value: 12}, {Name: "AX25_IDLE", Value: 9}, + {Name: "AX25_INFO_OLD_SIZE", Value: 52}, + {Name: "AX25_INFO_SIZE", Value: 76}, + {Name: "AX25_KILL", Value: 99}, {Name: "AX25_MAX_DIGIS", Value: 8}, {Name: "AX25_N2", Value: 3}, + {Name: "AX25_NOUID_BLOCK", Value: 1}, {Name: "AX25_PACLEN", Value: 10}, {Name: "AX25_PIDINCL", Value: 8}, {Name: "AX25_P_ARP", Value: 205}, @@ -36283,6 +36765,7 @@ var consts_ppc64le = []ConstValue{ {Name: "AX25_P_TEXT", Value: 240}, {Name: "AX25_P_VJCOMP", Value: 6}, {Name: "AX25_P_VJUNCOMP", Value: 7}, + {Name: "AX25_SET_RT_IPMODE", Value: 2}, {Name: "AX25_T1", Value: 2}, {Name: "AX25_T2", Value: 5}, {Name: "AX25_T3", Value: 4}, @@ -38886,6 +39369,8 @@ var consts_ppc64le = []ConstValue{ {Name: "NETNSA_PID", Value: 2}, {Name: "NETROM_IDLE", Value: 7}, {Name: "NETROM_N2", Value: 3}, + {Name: "NETROM_NEIGH"}, + {Name: "NETROM_NODE", Value: 1}, {Name: "NETROM_T1", Value: 1}, {Name: "NETROM_T2", Value: 2}, {Name: "NETROM_T4", Value: 6}, @@ -39577,6 +40062,14 @@ var consts_ppc64le = []ConstValue{ {Name: "RNDCLEARPOOL", Value: 536891910}, {Name: "RNDGETENTCNT", Value: 1074024960}, {Name: "RNDZAPENTCNT", Value: 536891908}, + {Name: "ROSE_DEFER", Value: 1}, + {Name: "ROSE_HOLDBACK", Value: 7}, + {Name: "ROSE_IDLE", Value: 5}, + {Name: "ROSE_MAX_DIGIS", Value: 6}, + {Name: "ROSE_QBITINCL", Value: 6}, + {Name: "ROSE_T1", Value: 2}, + {Name: "ROSE_T2", Value: 3}, + {Name: "ROSE_T3", Value: 4}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE", Value: 4}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT", Value: 1}, {Name: "RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL", Value: 2}, @@ -39993,6 +40486,16 @@ var consts_ppc64le = []ConstValue{ {Name: "SIOCAIPXITFCRT", Value: 35296}, {Name: "SIOCAIPXPRISLT", Value: 35297}, {Name: "SIOCATMARK", Value: 35077}, + {Name: "SIOCAX25ADDFWD", Value: 35306}, + {Name: "SIOCAX25ADDUID", Value: 35297}, + {Name: "SIOCAX25CTLCON", Value: 35304}, + {Name: "SIOCAX25DELFWD", Value: 35307}, + {Name: "SIOCAX25DELUID", Value: 35298}, + {Name: "SIOCAX25GETINFO", Value: 35309}, + {Name: "SIOCAX25GETINFOOLD", Value: 35305}, + {Name: "SIOCAX25GETUID", Value: 35296}, + {Name: "SIOCAX25NOUID", Value: 35299}, + {Name: "SIOCAX25OPTRT", Value: 35303}, {Name: "SIOCBONDCHANGEACTIVE", Value: 35221}, {Name: "SIOCBONDENSLAVE", Value: 35216}, {Name: "SIOCBONDINFOQUERY", Value: 35220}, @@ -40050,10 +40553,17 @@ var consts_ppc64le = []ConstValue{ {Name: "SIOCKCMATTACH", Value: 35296}, {Name: "SIOCKCMCLONE", Value: 35298}, {Name: "SIOCKCMUNATTACH", Value: 35297}, + {Name: "SIOCNRDECOBS", Value: 35298}, {Name: "SIOCOUTQ", Value: 1074033779}, {Name: "SIOCOUTQNSD", Value: 35147}, {Name: "SIOCPROTOPRIVATE_BEG", Value: 35296}, {Name: "SIOCPROTOPRIVATE_END", Value: 35311}, + {Name: "SIOCRSACCEPT", Value: 35299}, + {Name: "SIOCRSCLRRT", Value: 35300}, + {Name: "SIOCRSGCAUSE", Value: 35296}, + {Name: "SIOCRSGL2CALL", Value: 35301}, + {Name: "SIOCRSSCAUSE", Value: 35297}, + {Name: "SIOCRSSL2CALL", Value: 35298}, {Name: "SIOCRTMSG", Value: 35085}, {Name: "SIOCSARP", Value: 35157}, {Name: "SIOCSHWTSTAMP", Value: 35248}, @@ -41845,4 +42355,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "445e99c70c6e89c9b1da7bcbeb3d25d5273b6a45" +const revision_ppc64le = "d37690dcd1627328512953a08c352eb41dab5de2" diff --git a/sys/linux/init.go b/sys/linux/init.go index cef483990..5c40e566f 100644 --- a/sys/linux/init.go +++ b/sys/linux/init.go @@ -30,6 +30,9 @@ func InitTarget(target *prog.Target) { AF_NFC: target.GetConst("AF_NFC"), AF_LLC: target.GetConst("AF_LLC"), AF_BLUETOOTH: target.GetConst("AF_BLUETOOTH"), + AF_AX25: target.GetConst("AF_AX25"), + AF_NETROM: target.GetConst("AF_NETROM"), + AF_ROSE: target.GetConst("AF_ROSE"), // These are not present on all arches. ARCH_SET_FS: target.ConstMap["ARCH_SET_FS"], ARCH_SET_GS: target.ConstMap["ARCH_SET_GS"], @@ -111,6 +114,9 @@ type arch struct { AF_NFC uint64 AF_LLC uint64 AF_BLUETOOTH uint64 + AF_AX25 uint64 + AF_NETROM uint64 + AF_ROSE uint64 } func (arch *arch) sanitizeCall(c *prog.Call) { @@ -176,7 +182,8 @@ func (arch *arch) sanitizeCall(c *prog.Call) { // Don't let it mess with arbitrary sockets in init namespace. family := c.Args[0].(*prog.ConstArg) switch uint64(uint32(family.Val)) { - case arch.AF_NFC, arch.AF_LLC, arch.AF_BLUETOOTH: + case arch.AF_NFC, arch.AF_LLC, arch.AF_BLUETOOTH, + arch.AF_AX25, arch.AF_NETROM, arch.AF_ROSE: default: family.Val = ^uint64(0) } diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt index 8cff8169c..38eafd18d 100644 --- a/sys/linux/socket.txt +++ b/sys/linux/socket.txt @@ -79,7 +79,7 @@ sockaddr [ sockaddr_storage [ un sockaddr_un in sockaddr_in - ax25 sockaddr_ax25 + ax25 full_sockaddr_ax25 ipx sockaddr_ipx in6 sockaddr_in6 nl sockaddr_nl @@ -197,7 +197,7 @@ sockopt_so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE, SOF_TIMESTAMPING_TX_SOFT # http://lxr.free-electrons.com/source/include/uapi/asm-generic/sockios.h -# TODO: add SIOCADDRT, SIOCDELRT, SIOCRTMSG, SIOCDRARP, SIOCGRARP, SIOCSRARP, SIOCGIFVLAN, SIOCSIFVLAN, SIOCGSTAMP, SIOCGSTAMPNS +# TODO: add SIOCADDRT, SIOCDELRT, SIOCRTMSG, SIOCDRARP, SIOCGRARP, SIOCSRARP, SIOCGIFVLAN, SIOCSIFVLAN ioctl$sock_SIOCETHTOOL(fd sock, cmd const[SIOCETHTOOL], arg ptr[inout, ifreq_t[ptr[inout, ethtool_cmd_u]]]) @@ -240,6 +240,11 @@ ioctl$sock_SIOCSPGRP(fd sock, cmd const[SIOCSPGRP], arg ptr[in, pid]) ioctl$sock_FIOGETOWN(fd sock, cmd const[FIOGETOWN], arg ptr[out, pid]) ioctl$sock_SIOCGPGRP(fd sock, cmd const[SIOCGPGRP], arg ptr[out, pid]) +ioctl$sock_TIOCOUTQ(fd sock, cmd const[TIOCOUTQ], arg ptr[out, int32]) +ioctl$sock_TIOCINQ(fd sock, cmd const[TIOCINQ], arg ptr[out, int32]) +ioctl$SIOCGSTAMP(fd sock, cmd const[SIOCGSTAMP], arg ptr[out, timeval]) +ioctl$SIOCGSTAMPNS(fd sock, cmd const[SIOCGSTAMPNS], arg ptr[out, timespec]) + resource ifindex[int32] type ifreq_dev_t[DEVNAME, ELEM] { diff --git a/sys/linux/socket_386.const b/sys/linux/socket_386.const index fbc8e6362..1ed4b4b8d 100644 --- a/sys/linux/socket_386.const +++ b/sys/linux/socket_386.const @@ -190,6 +190,8 @@ SIOCGMIIPHY = 35143 SIOCGMIIREG = 35144 SIOCGPGRP = 35076 SIOCGSKNS = 35148 +SIOCGSTAMP = 35078 +SIOCGSTAMPNS = 35079 SIOCINQ = 21531 SIOCOUTQ = 21521 SIOCOUTQNSD = 35147 @@ -327,6 +329,8 @@ SO_WIFI_STATUS = 41 SO_ZEROCOPY = 60 TCP_V4_FLOW = 1 TCP_V6_FLOW = 5 +TIOCINQ = 21531 +TIOCOUTQ = 21521 UDP_V4_FLOW = 2 UDP_V6_FLOW = 6 # __NR_accept is not set diff --git a/sys/linux/socket_amd64.const b/sys/linux/socket_amd64.const index 1f736100a..07bfbc6b9 100644 --- a/sys/linux/socket_amd64.const +++ b/sys/linux/socket_amd64.const @@ -190,6 +190,8 @@ SIOCGMIIPHY = 35143 SIOCGMIIREG = 35144 SIOCGPGRP = 35076 SIOCGSKNS = 35148 +SIOCGSTAMP = 35078 +SIOCGSTAMPNS = 35079 SIOCINQ = 21531 SIOCOUTQ = 21521 SIOCOUTQNSD = 35147 @@ -327,6 +329,8 @@ SO_WIFI_STATUS = 41 SO_ZEROCOPY = 60 TCP_V4_FLOW = 1 TCP_V6_FLOW = 5 +TIOCINQ = 21531 +TIOCOUTQ = 21521 UDP_V4_FLOW = 2 UDP_V6_FLOW = 6 __NR_accept = 43 diff --git a/sys/linux/socket_arm.const b/sys/linux/socket_arm.const index eab93e1ee..88c3991fd 100644 --- a/sys/linux/socket_arm.const +++ b/sys/linux/socket_arm.const @@ -190,6 +190,8 @@ SIOCGMIIPHY = 35143 SIOCGMIIREG = 35144 SIOCGPGRP = 35076 SIOCGSKNS = 35148 +SIOCGSTAMP = 35078 +SIOCGSTAMPNS = 35079 SIOCINQ = 21531 SIOCOUTQ = 21521 SIOCOUTQNSD = 35147 @@ -327,6 +329,8 @@ SO_WIFI_STATUS = 41 SO_ZEROCOPY = 60 TCP_V4_FLOW = 1 TCP_V6_FLOW = 5 +TIOCINQ = 21531 +TIOCOUTQ = 21521 UDP_V4_FLOW = 2 UDP_V6_FLOW = 6 __NR_accept = 285 diff --git a/sys/linux/socket_arm64.const b/sys/linux/socket_arm64.const index c1491049a..58dd67d3f 100644 --- a/sys/linux/socket_arm64.const +++ b/sys/linux/socket_arm64.const @@ -190,6 +190,8 @@ SIOCGMIIPHY = 35143 SIOCGMIIREG = 35144 SIOCGPGRP = 35076 SIOCGSKNS = 35148 +SIOCGSTAMP = 35078 +SIOCGSTAMPNS = 35079 SIOCINQ = 21531 SIOCOUTQ = 21521 SIOCOUTQNSD = 35147 @@ -327,6 +329,8 @@ SO_WIFI_STATUS = 41 SO_ZEROCOPY = 60 TCP_V4_FLOW = 1 TCP_V6_FLOW = 5 +TIOCINQ = 21531 +TIOCOUTQ = 21521 UDP_V4_FLOW = 2 UDP_V6_FLOW = 6 __NR_accept = 202 diff --git a/sys/linux/socket_ax25.txt b/sys/linux/socket_ax25.txt index 979890ca1..32d55bea4 100755 --- a/sys/linux/socket_ax25.txt +++ b/sys/linux/socket_ax25.txt @@ -2,7 +2,6 @@ # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. # AF_AX25 support. -# TODO: describe setsockopt options and ioctls. include <linux/socket.h> include <linux/net.h> @@ -13,28 +12,83 @@ include <net/ax25.h> resource sock_ax25[sock] -socket$ax25(domain const[AF_AX25], type flags[ax25_socket_types], proto flags[ax25_protocols]) sock_ax25 -bind$ax25(fd sock_ax25, addr ptr[in, sockaddr_ax25], addrlen len[addr]) -connect$ax25(fd sock_ax25, addr ptr[in, sockaddr_ax25], addrlen len[addr]) -accept$ax25(fd sock_ax25, peer ptr[out, sockaddr_ax25, opt], peerlen ptr[inout, len[peer, int32]]) sock_ax25 -accept4$ax25(fd sock_ax25, peer ptr[out, sockaddr_ax25, opt], peerlen ptr[inout, len[peer, int32]], flags flags[accept_flags]) sock_ax25 - -sendto$ax25(fd sock_ax25, buf buffer[in], len len[buf], f flags[send_flags], addr ptr[in, sockaddr_ax25, opt], addrlen len[addr]) -recvfrom$ax25(fd sock_ax25, buf buffer[out], len len[buf], f flags[recv_flags], addr ptr[in, sockaddr_ax25, opt], addrlen len[addr]) -getsockname$ax25(fd sock_ax25, addr ptr[out, sockaddr_ax25], addrlen ptr[inout, len[addr, int32]]) -getpeername$ax25(fd sock_ax25, peer ptr[out, sockaddr_ax25], peerlen ptr[inout, len[peer, int32]]) +syz_init_net_socket$ax25(domain const[AF_AX25], type flags[ax25_socket_types], proto flags[ax25_protocols]) sock_ax25 +bind$ax25(fd sock_ax25, addr ptr[in, full_sockaddr_ax25], addrlen len[addr]) +connect$ax25(fd sock_ax25, addr ptr[in, full_sockaddr_ax25], addrlen len[addr]) +accept$ax25(fd sock_ax25, peer ptr[out, full_sockaddr_ax25, opt], peerlen ptr[inout, len[peer, int32]]) sock_ax25 +accept4$ax25(fd sock_ax25, peer ptr[out, full_sockaddr_ax25, opt], peerlen ptr[inout, len[peer, int32]], flags flags[accept_flags]) sock_ax25 +sendto$ax25(fd sock_ax25, buf ptr[in, array[int8]], len len[buf], f flags[send_flags], addr ptr[in, full_sockaddr_ax25, opt], addrlen len[addr]) +recvfrom$ax25(fd sock_ax25, buf ptr[out, array[int8]], len len[buf], f flags[recv_flags], addr ptr[in, full_sockaddr_ax25, opt], addrlen len[addr]) +getsockname$ax25(fd sock_ax25, addr ptr[out, full_sockaddr_ax25], addrlen ptr[inout, len[addr, int32]]) +getpeername$ax25(fd sock_ax25, peer ptr[out, full_sockaddr_ax25], peerlen ptr[inout, len[peer, int32]]) ax25_socket_types = SOCK_DGRAM, SOCK_SEQPACKET, SOCK_RAW ax25_protocols = AX25_P_ROSE, AX25_P_VJCOMP, AX25_P_VJUNCOMP, AX25_P_SEGMENT, AX25_P_TEXNET, AX25_P_LQ, AX25_P_ATALK, AX25_P_ATALK_ARP, AX25_P_IP, AX25_P_ARP, AX25_P_FLEXNET, AX25_P_NETROM, AX25_P_TEXT -ax25_address { - ax25_call array[int8, 7] +ax25_address [ + remote ax25_address_remote + bcast ax25_address_bcast + default ax25_address_default + null ax25_address_null + netrom address_netrom_dev +# TODO: rose address is 5 bytes, ax25 is 7, should it even be here? + rose rose_address_dev +] [size[7]] + +# Just some address without special meaning. +ax25_address_remote { + b0 const[0xcc, int8] + b1 const[0xcc, int8] + b2 const[0xcc, int8] + b3 const[0xcc, int8] + b4 const[0xcc, int8] + b5 const[0xcc, int8] + b6 proc[0x0, 4, int8] +} + +# {{'Q' << 1, 'S' << 1, 'T' << 1, ' ' << 1, ' ' << 1, ' ' << 1, 0 << 1}} +ax25_address_bcast { + b0 const[0xa2, int8] + b1 const[0xa6, int8] + b2 const[0xa8, int8] + b3 const[0x40, int8] + b4 const[0x40, int8] + b5 const[0x40, int8] + b6 const[0x0, int8] +} + +# {{'L' << 1, 'I' << 1, 'N' << 1, 'U' << 1, 'X' << 1, ' ' << 1, 1 << 1}} +ax25_address_default { + b0 const[0x98, int8] + b1 const[0x92, int8] + b2 const[0x9c, int8] + b3 const[0xaa, int8] + b4 const[0xb0, int8] + b5 const[0x40, int8] + b6 const[0x2, int8] +} + +# {{' ' << 1, ' ' << 1, ' ' << 1, ' ' << 1, ' ' << 1, ' ' << 1, 0 << 1}} +ax25_address_null { + b0 const[0x40, int8] + b1 const[0x40, int8] + b2 const[0x40, int8] + b3 const[0x40, int8] + b4 const[0x40, int8] + b5 const[0x40, int8] + b6 const[0x0, int8] } sockaddr_ax25 { sax25_family const[AF_AX25, int16] sax25_call ax25_address - sax25_ndigis int32 + sax25_ndigis int32[0:AX25_MAX_DIGIS] +} + +sockaddr_ax25_uid { + sax25_family const[AF_AX25, int16] + sax25_call ax25_address + sax25_ndigis uid } full_sockaddr_ax25 { @@ -46,9 +100,73 @@ full_sockaddr_ax25 { ax25_option_types_int = AX25_WINDOW, AX25_T1, AX25_T2, AX25_N2, AX25_T3, AX25_IDLE, AX25_BACKOFF, AX25_EXTSEQ, AX25_PIDINCL, AX25_IAMDIGI, AX25_PACLEN -ax25_option_types_buf = SO_BINDTODEVICE - getsockopt$ax25_int(fd sock_ax25, level const[SOL_AX25], optname flags[ax25_option_types_int], optval ptr[out, int32], optlen ptr[inout, len[optval, int32]]) setsockopt$ax25_int(fd sock_ax25, level const[SOL_AX25], optname flags[ax25_option_types_int], optval ptr[in, int32], optlen len[optval]) -getsockopt$ax25_buf(fd sock_ax25, level const[SOL_AX25], optname flags[ax25_option_types_buf], optval buffer[out], optlen ptr[inout, len[optval, int32]]) -setsockopt$ax25_buf(fd sock_ax25, level const[SOL_AX25], optname flags[ax25_option_types_buf], optval buffer[in], optlen len[optval]) + +setsockopt$ax25_SO_BINDTODEVICE(fd sock_ax25, level const[SOL_AX25], optname const[SO_BINDTODEVICE], optval ptr[in, ax25_devname], optlen len[optval]) + +ax25_devname [ + rose ax25_devname_rose + netrom ax25_devname_netrom +] + +ax25_devname_rose { + name stringnoz["rose"] + id proc['0', 1, int8] + z const[0, int8] +} [size[IFNAMSIZ]] + +ax25_devname_netrom { + name stringnoz["nr"] + id proc['0', 1, int8] + z const[0, int8] +} [size[IFNAMSIZ]] + +ioctl$SIOCAX25ADDUID(fd sock_ax25, cmd const[SIOCAX25ADDUID], arg ptr[in, sockaddr_ax25_uid]) +ioctl$SIOCAX25DELUID(fd sock_ax25, cmd const[SIOCAX25DELUID], arg ptr[in, sockaddr_ax25_uid]) +ioctl$SIOCAX25GETUID(fd sock_ax25, cmd const[SIOCAX25GETUID], arg ptr[in, sockaddr_ax25_uid]) +ioctl$SIOCAX25NOUID(fd sock_ax25, cmd const[SIOCAX25NOUID], arg ptr[in, int64[0:AX25_NOUID_BLOCK]]) +ioctl$SIOCAX25CTLCON(fd sock_ax25, cmd const[SIOCAX25CTLCON], arg ptr[in, ax25_ctl_struct]) +ioctl$SIOCAX25GETINFO(fd sock_ax25, cmd const[SIOCAX25GETINFO], arg ptr[out, array[int8, AX25_INFO_SIZE]]) +ioctl$SIOCAX25GETINFOOLD(fd sock_ax25, cmd const[SIOCAX25GETINFOOLD], arg ptr[out, array[int8, AX25_INFO_OLD_SIZE]]) +ioctl$SIOCAX25ADDFWD(fd sock_ax25, cmd const[SIOCAX25ADDFWD], arg ptr[in, ax25_fwd_struct]) +ioctl$SIOCAX25DELFWD(fd sock_ax25, cmd const[SIOCAX25DELFWD], arg ptr[in, ax25_fwd_struct]) +ioctl$sock_ax25_SIOCADDRT(fd sock_ax25, cmd const[SIOCADDRT], arg ptr[in, ax25_routes_struct]) +ioctl$sock_ax25_SIOCDELRT(fd sock_ax25, cmd const[SIOCDELRT], arg ptr[in, ax25_routes_struct]) +ioctl$SIOCAX25OPTRT(fd sock_ax25, cmd const[SIOCAX25OPTRT], arg ptr[in, ax25_route_opt_struct]) + +define AX25_INFO_SIZE sizeof(struct ax25_info_struct) +define AX25_INFO_OLD_SIZE sizeof(struct ax25_info_struct_deprecated) + +ax25_ctl_struct { + port_addr ax25_address + source_addr ax25_address + dest_addr ax25_address + cmd flags[ax25_ctl_cmd, int32] + arg intptr + digi_count int8[0:AX25_MAX_DIGIS] + digi_addr array[ax25_address, AX25_MAX_DIGIS] +} + +ax25_ctl_cmd = AX25_WINDOW, AX25_T1, AX25_N2, AX25_T3, AX25_T2, AX25_BACKOFF, AX25_EXTSEQ, AX25_PIDINCL, AX25_IDLE, AX25_PACLEN, AX25_IAMDIGI, AX25_KILL + +ax25_fwd_struct { + port_from ax25_address + port_to ax25_address +} + +ax25_routes_struct { + port_addr ax25_address + dest_addr ax25_address + digi_count int8[0:AX25_MAX_DIGIS] + digi_addr array[ax25_address, AX25_MAX_DIGIS] +} + +ax25_route_opt_struct { + port_addr ax25_address + dest_addr ax25_address + cmd const[AX25_SET_RT_IPMODE, int32] + arg flags[ax25_route_ipmodes, int32] +} + +ax25_route_ipmodes = ' ', 'D', 'V' diff --git a/sys/linux/socket_ax25_386.const b/sys/linux/socket_ax25_386.const index 1f5d3fd2b..649fcec64 100644 --- a/sys/linux/socket_ax25_386.const +++ b/sys/linux/socket_ax25_386.const @@ -4,8 +4,12 @@ AX25_BACKOFF = 6 AX25_EXTSEQ = 7 AX25_IAMDIGI = 12 AX25_IDLE = 9 +AX25_INFO_OLD_SIZE = 52 +AX25_INFO_SIZE = 76 +AX25_KILL = 99 AX25_MAX_DIGIS = 8 AX25_N2 = 3 +AX25_NOUID_BLOCK = 1 AX25_PACLEN = 10 AX25_PIDINCL = 8 AX25_P_ARP = 205 @@ -21,10 +25,24 @@ AX25_P_TEXNET = 195 AX25_P_TEXT = 240 AX25_P_VJCOMP = 6 AX25_P_VJUNCOMP = 7 +AX25_SET_RT_IPMODE = 2 AX25_T1 = 2 AX25_T2 = 5 AX25_T3 = 4 AX25_WINDOW = 1 +IFNAMSIZ = 16 +SIOCADDRT = 35083 +SIOCAX25ADDFWD = 35306 +SIOCAX25ADDUID = 35297 +SIOCAX25CTLCON = 35304 +SIOCAX25DELFWD = 35307 +SIOCAX25DELUID = 35298 +SIOCAX25GETINFO = 35309 +SIOCAX25GETINFOOLD = 35305 +SIOCAX25GETUID = 35296 +SIOCAX25NOUID = 35299 +SIOCAX25OPTRT = 35303 +SIOCDELRT = 35084 SOCK_DGRAM = 2 SOCK_RAW = 3 SOCK_SEQPACKET = 5 @@ -37,7 +55,7 @@ __NR_connect = 362 __NR_getpeername = 368 __NR_getsockname = 367 __NR_getsockopt = 365 +__NR_ioctl = 54 __NR_recvfrom = 371 __NR_sendto = 369 __NR_setsockopt = 366 -__NR_socket = 359 diff --git a/sys/linux/socket_ax25_amd64.const b/sys/linux/socket_ax25_amd64.const index 771b08101..e7c00b2b5 100644 --- a/sys/linux/socket_ax25_amd64.const +++ b/sys/linux/socket_ax25_amd64.const @@ -4,8 +4,12 @@ AX25_BACKOFF = 6 AX25_EXTSEQ = 7 AX25_IAMDIGI = 12 AX25_IDLE = 9 +AX25_INFO_OLD_SIZE = 52 +AX25_INFO_SIZE = 76 +AX25_KILL = 99 AX25_MAX_DIGIS = 8 AX25_N2 = 3 +AX25_NOUID_BLOCK = 1 AX25_PACLEN = 10 AX25_PIDINCL = 8 AX25_P_ARP = 205 @@ -21,10 +25,24 @@ AX25_P_TEXNET = 195 AX25_P_TEXT = 240 AX25_P_VJCOMP = 6 AX25_P_VJUNCOMP = 7 +AX25_SET_RT_IPMODE = 2 AX25_T1 = 2 AX25_T2 = 5 AX25_T3 = 4 AX25_WINDOW = 1 +IFNAMSIZ = 16 +SIOCADDRT = 35083 +SIOCAX25ADDFWD = 35306 +SIOCAX25ADDUID = 35297 +SIOCAX25CTLCON = 35304 +SIOCAX25DELFWD = 35307 +SIOCAX25DELUID = 35298 +SIOCAX25GETINFO = 35309 +SIOCAX25GETINFOOLD = 35305 +SIOCAX25GETUID = 35296 +SIOCAX25NOUID = 35299 +SIOCAX25OPTRT = 35303 +SIOCDELRT = 35084 SOCK_DGRAM = 2 SOCK_RAW = 3 SOCK_SEQPACKET = 5 @@ -37,7 +55,7 @@ __NR_connect = 42 __NR_getpeername = 52 __NR_getsockname = 51 __NR_getsockopt = 55 +__NR_ioctl = 16 __NR_recvfrom = 45 __NR_sendto = 44 __NR_setsockopt = 54 -__NR_socket = 41 diff --git a/sys/linux/socket_ax25_arm.const b/sys/linux/socket_ax25_arm.const index 7fc178e37..c2c61c2ca 100644 --- a/sys/linux/socket_ax25_arm.const +++ b/sys/linux/socket_ax25_arm.const @@ -4,8 +4,12 @@ AX25_BACKOFF = 6 AX25_EXTSEQ = 7 AX25_IAMDIGI = 12 AX25_IDLE = 9 +AX25_INFO_OLD_SIZE = 52 +AX25_INFO_SIZE = 76 +AX25_KILL = 99 AX25_MAX_DIGIS = 8 AX25_N2 = 3 +AX25_NOUID_BLOCK = 1 AX25_PACLEN = 10 AX25_PIDINCL = 8 AX25_P_ARP = 205 @@ -21,10 +25,24 @@ AX25_P_TEXNET = 195 AX25_P_TEXT = 240 AX25_P_VJCOMP = 6 AX25_P_VJUNCOMP = 7 +AX25_SET_RT_IPMODE = 2 AX25_T1 = 2 AX25_T2 = 5 AX25_T3 = 4 AX25_WINDOW = 1 +IFNAMSIZ = 16 +SIOCADDRT = 35083 +SIOCAX25ADDFWD = 35306 +SIOCAX25ADDUID = 35297 +SIOCAX25CTLCON = 35304 +SIOCAX25DELFWD = 35307 +SIOCAX25DELUID = 35298 +SIOCAX25GETINFO = 35309 +SIOCAX25GETINFOOLD = 35305 +SIOCAX25GETUID = 35296 +SIOCAX25NOUID = 35299 +SIOCAX25OPTRT = 35303 +SIOCDELRT = 35084 SOCK_DGRAM = 2 SOCK_RAW = 3 SOCK_SEQPACKET = 5 @@ -37,7 +55,7 @@ __NR_connect = 283 __NR_getpeername = 287 __NR_getsockname = 286 __NR_getsockopt = 295 +__NR_ioctl = 54 __NR_recvfrom = 292 __NR_sendto = 290 __NR_setsockopt = 294 -__NR_socket = 281 diff --git a/sys/linux/socket_ax25_arm64.const b/sys/linux/socket_ax25_arm64.const index 62b84bab7..f327f0770 100644 --- a/sys/linux/socket_ax25_arm64.const +++ b/sys/linux/socket_ax25_arm64.const @@ -4,8 +4,12 @@ AX25_BACKOFF = 6 AX25_EXTSEQ = 7 AX25_IAMDIGI = 12 AX25_IDLE = 9 +AX25_INFO_OLD_SIZE = 52 +AX25_INFO_SIZE = 76 +AX25_KILL = 99 AX25_MAX_DIGIS = 8 AX25_N2 = 3 +AX25_NOUID_BLOCK = 1 AX25_PACLEN = 10 AX25_PIDINCL = 8 AX25_P_ARP = 205 @@ -21,10 +25,24 @@ AX25_P_TEXNET = 195 AX25_P_TEXT = 240 AX25_P_VJCOMP = 6 AX25_P_VJUNCOMP = 7 +AX25_SET_RT_IPMODE = 2 AX25_T1 = 2 AX25_T2 = 5 AX25_T3 = 4 AX25_WINDOW = 1 +IFNAMSIZ = 16 +SIOCADDRT = 35083 +SIOCAX25ADDFWD = 35306 +SIOCAX25ADDUID = 35297 +SIOCAX25CTLCON = 35304 +SIOCAX25DELFWD = 35307 +SIOCAX25DELUID = 35298 +SIOCAX25GETINFO = 35309 +SIOCAX25GETINFOOLD = 35305 +SIOCAX25GETUID = 35296 +SIOCAX25NOUID = 35299 +SIOCAX25OPTRT = 35303 +SIOCDELRT = 35084 SOCK_DGRAM = 2 SOCK_RAW = 3 SOCK_SEQPACKET = 5 @@ -37,7 +55,7 @@ __NR_connect = 203 __NR_getpeername = 205 __NR_getsockname = 204 __NR_getsockopt = 209 +__NR_ioctl = 29 __NR_recvfrom = 207 __NR_sendto = 206 __NR_setsockopt = 208 -__NR_socket = 198 diff --git a/sys/linux/socket_ax25_ppc64le.const b/sys/linux/socket_ax25_ppc64le.const index 18c6a734d..5b92aecb1 100644 --- a/sys/linux/socket_ax25_ppc64le.const +++ b/sys/linux/socket_ax25_ppc64le.const @@ -4,8 +4,12 @@ AX25_BACKOFF = 6 AX25_EXTSEQ = 7 AX25_IAMDIGI = 12 AX25_IDLE = 9 +AX25_INFO_OLD_SIZE = 52 +AX25_INFO_SIZE = 76 +AX25_KILL = 99 AX25_MAX_DIGIS = 8 AX25_N2 = 3 +AX25_NOUID_BLOCK = 1 AX25_PACLEN = 10 AX25_PIDINCL = 8 AX25_P_ARP = 205 @@ -21,10 +25,24 @@ AX25_P_TEXNET = 195 AX25_P_TEXT = 240 AX25_P_VJCOMP = 6 AX25_P_VJUNCOMP = 7 +AX25_SET_RT_IPMODE = 2 AX25_T1 = 2 AX25_T2 = 5 AX25_T3 = 4 AX25_WINDOW = 1 +IFNAMSIZ = 16 +SIOCADDRT = 35083 +SIOCAX25ADDFWD = 35306 +SIOCAX25ADDUID = 35297 +SIOCAX25CTLCON = 35304 +SIOCAX25DELFWD = 35307 +SIOCAX25DELUID = 35298 +SIOCAX25GETINFO = 35309 +SIOCAX25GETINFOOLD = 35305 +SIOCAX25GETUID = 35296 +SIOCAX25NOUID = 35299 +SIOCAX25OPTRT = 35303 +SIOCDELRT = 35084 SOCK_DGRAM = 2 SOCK_RAW = 3 SOCK_SEQPACKET = 5 @@ -37,7 +55,7 @@ __NR_connect = 328 __NR_getpeername = 332 __NR_getsockname = 331 __NR_getsockopt = 340 +__NR_ioctl = 54 __NR_recvfrom = 337 __NR_sendto = 335 __NR_setsockopt = 339 -__NR_socket = 326 diff --git a/sys/linux/socket_bluetooth.txt b/sys/linux/socket_bluetooth.txt index 2a01b5853..e8604d51d 100644 --- a/sys/linux/socket_bluetooth.txt +++ b/sys/linux/socket_bluetooth.txt @@ -83,7 +83,6 @@ ioctl$sock_bt_bnep_BNEPGETCONNLIST(fd sock_bt_bnep, cmd const[BNEPGETCONNLIST], ioctl$sock_bt_bnep_BNEPGETCONNINFO(fd sock_bt_bnep, cmd const[BNEPGETCONNINFO], arg ptr[in, bnep_conninfo]) ioctl$sock_bt_bnep_BNEPGETSUPPFEAT(fd sock_bt_bnep, cmd const[BNEPGETSUPPFEAT], arg ptr[in, int32]) -ioctl$sock_bt(fd sock_bt, cmd flags[bt_ioctl], arg buffer[inout]) setsockopt$bt_BT_SECURITY(fd sock_bt, level const[SOL_BLUETOOTH], opt const[BT_SECURITY], arg ptr[in, bt_security], arglen len[arg]) getsockopt$bt_BT_SECURITY(fd sock_bt, level const[SOL_BLUETOOTH], opt const[BT_SECURITY], arg ptr[out, bt_security], arglen len[arg]) setsockopt$bt_BT_DEFER_SETUP(fd sock_bt, level const[SOL_BLUETOOTH], opt const[BT_DEFER_SETUP], arg ptr[in, int32], arglen len[arg]) @@ -260,7 +259,6 @@ bnep_connlist_req { bt_chi_chan = HCI_CHANNEL_RAW, HCI_CHANNEL_USER, HCI_CHANNEL_MONITOR, HCI_CHANNEL_CONTROL bt_hci_ioctl = HCIDEVUP, HCIDEVDOWN, HCIDEVRESET, HCIDEVRESTAT, HCIGETDEVLIST, HCIGETDEVINFO, HCIGETCONNLIST, HCIGETCONNINFO, HCIGETAUTHINFO, HCISETRAW, HCISETSCAN, HCISETAUTH, HCISETENCRYPT, HCISETPTYPE, HCISETLINKPOL, HCISETLINKMODE, HCISETACLMTU, HCISETSCOMTU, HCIBLOCKADDR, HCIUNBLOCKADDR, HCIINQUIRY bt_hci_sockopt = HCI_DATA_DIR, HCI_TIME_STAMP, HCI_FILTER -bt_ioctl = TIOCOUTQ, TIOCINQ, SIOCGSTAMP, SIOCGSTAMPNS bt_l2cap_type = SOCK_SEQPACKET, SOCK_STREAM, SOCK_DGRAM, SOCK_RAW bt_l2cap_lm = L2CAP_LM_MASTER, L2CAP_LM_AUTH, L2CAP_LM_ENCRYPT, L2CAP_LM_TRUSTED, L2CAP_LM_RELIABLE, L2CAP_LM_SECURE, L2CAP_LM_FIPS bt_rfcomm_type = SOCK_STREAM, SOCK_RAW diff --git a/sys/linux/socket_bluetooth_386.const b/sys/linux/socket_bluetooth_386.const index e7242d33f..88650a31f 100644 --- a/sys/linux/socket_bluetooth_386.const +++ b/sys/linux/socket_bluetooth_386.const @@ -70,8 +70,6 @@ RFCOMM_CONNINFO = 2 RFCOMM_LM = 3 SCO_CONNINFO = 2 SCO_OPTIONS = 1 -SIOCGSTAMP = 35078 -SIOCGSTAMPNS = 35079 SOCK_DGRAM = 2 SOCK_RAW = 3 SOCK_SEQPACKET = 5 @@ -80,8 +78,6 @@ SOL_BLUETOOTH = 274 SOL_L2CAP = 6 SOL_RFCOMM = 18 SOL_SCO = 17 -TIOCINQ = 21531 -TIOCOUTQ = 21521 __NR_accept4 = 364 __NR_bind = 361 __NR_connect = 362 diff --git a/sys/linux/socket_bluetooth_amd64.const b/sys/linux/socket_bluetooth_amd64.const index 3cc4f9720..389133ae8 100644 --- a/sys/linux/socket_bluetooth_amd64.const +++ b/sys/linux/socket_bluetooth_amd64.const @@ -70,8 +70,6 @@ RFCOMM_CONNINFO = 2 RFCOMM_LM = 3 SCO_CONNINFO = 2 SCO_OPTIONS = 1 -SIOCGSTAMP = 35078 -SIOCGSTAMPNS = 35079 SOCK_DGRAM = 2 SOCK_RAW = 3 SOCK_SEQPACKET = 5 @@ -80,8 +78,6 @@ SOL_BLUETOOTH = 274 SOL_L2CAP = 6 SOL_RFCOMM = 18 SOL_SCO = 17 -TIOCINQ = 21531 -TIOCOUTQ = 21521 __NR_accept4 = 288 __NR_bind = 49 __NR_connect = 42 diff --git a/sys/linux/socket_bluetooth_arm.const b/sys/linux/socket_bluetooth_arm.const index 0a20c8247..38dd33b17 100644 --- a/sys/linux/socket_bluetooth_arm.const +++ b/sys/linux/socket_bluetooth_arm.const @@ -70,8 +70,6 @@ RFCOMM_CONNINFO = 2 RFCOMM_LM = 3 SCO_CONNINFO = 2 SCO_OPTIONS = 1 -SIOCGSTAMP = 35078 -SIOCGSTAMPNS = 35079 SOCK_DGRAM = 2 SOCK_RAW = 3 SOCK_SEQPACKET = 5 @@ -80,8 +78,6 @@ SOL_BLUETOOTH = 274 SOL_L2CAP = 6 SOL_RFCOMM = 18 SOL_SCO = 17 -TIOCINQ = 21531 -TIOCOUTQ = 21521 __NR_accept4 = 366 __NR_bind = 282 __NR_connect = 283 diff --git a/sys/linux/socket_bluetooth_arm64.const b/sys/linux/socket_bluetooth_arm64.const index 717d8f5ca..0cebdb7d8 100644 --- a/sys/linux/socket_bluetooth_arm64.const +++ b/sys/linux/socket_bluetooth_arm64.const @@ -70,8 +70,6 @@ RFCOMM_CONNINFO = 2 RFCOMM_LM = 3 SCO_CONNINFO = 2 SCO_OPTIONS = 1 -SIOCGSTAMP = 35078 -SIOCGSTAMPNS = 35079 SOCK_DGRAM = 2 SOCK_RAW = 3 SOCK_SEQPACKET = 5 @@ -80,8 +78,6 @@ SOL_BLUETOOTH = 274 SOL_L2CAP = 6 SOL_RFCOMM = 18 SOL_SCO = 17 -TIOCINQ = 21531 -TIOCOUTQ = 21521 __NR_accept4 = 242 __NR_bind = 200 __NR_connect = 203 diff --git a/sys/linux/socket_bluetooth_ppc64le.const b/sys/linux/socket_bluetooth_ppc64le.const index 62cf244f2..a655e4293 100644 --- a/sys/linux/socket_bluetooth_ppc64le.const +++ b/sys/linux/socket_bluetooth_ppc64le.const @@ -70,8 +70,6 @@ RFCOMM_CONNINFO = 2 RFCOMM_LM = 3 SCO_CONNINFO = 2 SCO_OPTIONS = 1 -SIOCGSTAMP = 35078 -SIOCGSTAMPNS = 35079 SOCK_DGRAM = 2 SOCK_RAW = 3 SOCK_SEQPACKET = 5 @@ -80,8 +78,6 @@ SOL_BLUETOOTH = 274 SOL_L2CAP = 6 SOL_RFCOMM = 18 SOL_SCO = 17 -TIOCINQ = 1074030207 -TIOCOUTQ = 1074033779 __NR_accept4 = 344 __NR_bind = 327 __NR_connect = 328 diff --git a/sys/linux/socket_netrom.txt b/sys/linux/socket_netrom.txt index 39897460c..84e687bb1 100755 --- a/sys/linux/socket_netrom.txt +++ b/sys/linux/socket_netrom.txt @@ -2,21 +2,21 @@ # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. include <linux/net.h> -include <linux/netrom.h> +include <uapi/linux/netrom.h> +include <uapi/linux/ax25.h> include <asm/ioctls.h> resource sock_netrom[sock] -socket$netrom(domain const[AF_NETROM], type const[SOCK_SEQPACKET], proto const[0]) sock_netrom -bind$netrom(fd sock_netrom, addr ptr[in, sockaddr_netrom], addrlen len[addr]) -connect$netrom(fd sock_netrom, addr ptr[in, sockaddr_netrom], addrlen len[addr]) -accept$netrom(fd sock_netrom, peer ptr[out, sockaddr_netrom, opt], peerlen ptr[inout, len[peer, int32]]) sock_netrom -accept4$netrom(fd sock_netrom, peer ptr[out, sockaddr_netrom, opt], peerlen ptr[inout, len[peer, int32]], flags flags[accept_flags]) sock_netrom -listen$netrom(fd sock_netrom, backlog int32) -sendmsg$netrom(fd sock_netrom, msg ptr[in, msghdr_netrom], f flags[send_flags]) -recvmsg$netrom(fd sock_netrom, msg ptr[inout, msghdr_netrom], f flags[recv_flags]) -getsockname$netrom(fd sock_netrom, addr ptr[out, sockaddr_netrom], addrlen ptr[inout, len[addr, int32]]) -getpeername$netrom(fd sock_netrom, peer ptr[out, sockaddr_netrom], peerlen ptr[inout, len[peer, int32]]) +syz_init_net_socket$netrom(domain const[AF_NETROM], type const[SOCK_SEQPACKET], proto const[0]) sock_netrom +bind$netrom(fd sock_netrom, addr ptr[in, full_sockaddr_ax25], addrlen len[addr]) +connect$netrom(fd sock_netrom, addr ptr[in, full_sockaddr_ax25], addrlen len[addr]) +accept$netrom(fd sock_netrom, peer ptr[out, full_sockaddr_ax25, opt], peerlen ptr[inout, len[peer, int32]]) sock_netrom +accept4$netrom(fd sock_netrom, peer ptr[out, full_sockaddr_ax25, opt], peerlen ptr[inout, len[peer, int32]], flags flags[accept_flags]) sock_netrom +sendto$netrom(fd sock_netrom, buf ptr[in, array[int8]], len len[buf], f flags[send_flags], addr ptr[in, full_sockaddr_ax25, opt], addrlen len[addr]) +recvfrom$netrom(fd sock_netrom, buf ptr[out, array[int8]], len len[buf], f flags[recv_flags], addr ptr[in, full_sockaddr_ax25, opt], addrlen len[addr]) +getsockname$netrom(fd sock_netrom, addr ptr[out, full_sockaddr_ax25], addrlen ptr[inout, len[addr, int32]]) +getpeername$netrom(fd sock_netrom, peer ptr[out, full_sockaddr_ax25], peerlen ptr[inout, len[peer, int32]]) setsockopt$netrom_NETROM_T1(fd sock_netrom, level const[SOL_NETROM], opt const[NETROM_T1], arg ptr[in, int32], arglen len[arg]) setsockopt$netrom_NETROM_T2(fd sock_netrom, level const[SOL_NETROM], opt const[NETROM_T2], arg ptr[in, int32], arglen len[arg]) @@ -30,24 +30,32 @@ getsockopt$netrom_NETROM_N2(fd sock_netrom, level const[SOL_NETROM], opt const[N getsockopt$netrom_NETROM_T4(fd sock_netrom, level const[SOL_NETROM], opt const[NETROM_T4], arg ptr[in, int32], arglen ptr[inout, len[arg, int32]]) getsockopt$netrom_NETROM_IDLE(fd sock_netrom, level const[SOL_NETROM], opt const[NETROM_IDLE], arg ptr[in, int32], arglen ptr[inout, len[arg, int32]]) -# TODO: make these more generic -ioctl$sock_netrom_TIOCOUTQ(fd sock_netrom, cmd const[TIOCOUTQ], arg ptr[out, int32]) -ioctl$sock_netrom_TIOCINQ(fd sock_netrom, cmd const[TIOCINQ], arg ptr[out, int32]) -ioctl$sock_netrom_SIOCGSTAMP(fd sock_netrom, cmd const[SIOCGSTAMP], arg ptr[out, int32]) -ioctl$sock_netrom_SIOCGSTAMPNS(fd sock_netrom, cmd const[SIOCGSTAMPNS], arg ptr[out, int32]) -ioctl$sock_netrom_SIOCADDRT(fd sock_netrom, cmd const[SIOCADDRT], arg ptr[out, int32]) - -sockaddr_netrom [ - ax25 sockaddr_ax25 - full full_sockaddr_ax25 -] [varlen] - -msghdr_netrom { - addr ptr[in, sockaddr_netrom] - addrlen len[addr, int32] - vec ptr[in, array[iovec_in]] - vlen len[vec, intptr] - ctrl ptr[in, array[cmsghdr], opt] - ctrllen bytesize[ctrl, intptr] - f flags[send_flags, int32] +ioctl$sock_netrom_SIOCADDRT(fd sock_netrom, cmd const[SIOCADDRT], arg ptr[in, nr_route_struct]) +ioctl$sock_netrom_SIOCDELRT(fd sock_netrom, cmd const[SIOCDELRT], arg ptr[in, nr_route_struct]) +ioctl$SIOCNRDECOBS(fd sock_netrom, cmd const[SIOCNRDECOBS]) + +# This is what we assign to nr* devices in initialize_netdevices_init: bb:bb:bb:bb:bb:00:%02hx +address_netrom_dev { + b0 const[0xbb, int8] + b1 const[0xbb, int8] + b2 const[0xbb, int8] + b3 const[0xbb, int8] + b4 const[0xbb, int8] + b5 const[0x0, int8] + b6 proc[0, 1, int8] } + +nr_route_struct { + type flags[nr_route_type, int32] + callsign ax25_address + device ax25_devname + quality int32 + mnemonic string[nr_route_mnemonics, 7] + neighbour ax25_address + obs_count int32 + ndigis int32[0:AX25_MAX_DIGIS] + digipeaters array[ax25_address, AX25_MAX_DIGIS] +} + +nr_route_type = NETROM_NEIGH, NETROM_NODE +nr_route_mnemonics = "syz0", "syz1" diff --git a/sys/linux/socket_netrom_386.const b/sys/linux/socket_netrom_386.const index 4acdbd067..f76b88949 100644 --- a/sys/linux/socket_netrom_386.const +++ b/sys/linux/socket_netrom_386.const @@ -1,17 +1,18 @@ # AUTOGENERATED FILE AF_NETROM = 6 +AX25_MAX_DIGIS = 8 NETROM_IDLE = 7 NETROM_N2 = 3 +NETROM_NEIGH = 0 +NETROM_NODE = 1 NETROM_T1 = 1 NETROM_T2 = 2 NETROM_T4 = 6 SIOCADDRT = 35083 -SIOCGSTAMP = 35078 -SIOCGSTAMPNS = 35079 +SIOCDELRT = 35084 +SIOCNRDECOBS = 35298 SOCK_SEQPACKET = 5 SOL_NETROM = 259 -TIOCINQ = 21531 -TIOCOUTQ = 21521 # __NR_accept is not set __NR_accept4 = 364 __NR_bind = 361 @@ -20,8 +21,6 @@ __NR_getpeername = 368 __NR_getsockname = 367 __NR_getsockopt = 365 __NR_ioctl = 54 -__NR_listen = 363 __NR_recvmsg = 372 __NR_sendmsg = 370 __NR_setsockopt = 366 -__NR_socket = 359 diff --git a/sys/linux/socket_netrom_amd64.const b/sys/linux/socket_netrom_amd64.const index 7e1766f79..d2548d10d 100644 --- a/sys/linux/socket_netrom_amd64.const +++ b/sys/linux/socket_netrom_amd64.const @@ -1,17 +1,18 @@ # AUTOGENERATED FILE AF_NETROM = 6 +AX25_MAX_DIGIS = 8 NETROM_IDLE = 7 NETROM_N2 = 3 +NETROM_NEIGH = 0 +NETROM_NODE = 1 NETROM_T1 = 1 NETROM_T2 = 2 NETROM_T4 = 6 SIOCADDRT = 35083 -SIOCGSTAMP = 35078 -SIOCGSTAMPNS = 35079 +SIOCDELRT = 35084 +SIOCNRDECOBS = 35298 SOCK_SEQPACKET = 5 SOL_NETROM = 259 -TIOCINQ = 21531 -TIOCOUTQ = 21521 __NR_accept = 43 __NR_accept4 = 288 __NR_bind = 49 @@ -20,8 +21,6 @@ __NR_getpeername = 52 __NR_getsockname = 51 __NR_getsockopt = 55 __NR_ioctl = 16 -__NR_listen = 50 __NR_recvmsg = 47 __NR_sendmsg = 46 __NR_setsockopt = 54 -__NR_socket = 41 diff --git a/sys/linux/socket_netrom_arm.const b/sys/linux/socket_netrom_arm.const index 337ee9685..90fd8bc3e 100644 --- a/sys/linux/socket_netrom_arm.const +++ b/sys/linux/socket_netrom_arm.const @@ -1,17 +1,18 @@ # AUTOGENERATED FILE AF_NETROM = 6 +AX25_MAX_DIGIS = 8 NETROM_IDLE = 7 NETROM_N2 = 3 +NETROM_NEIGH = 0 +NETROM_NODE = 1 NETROM_T1 = 1 NETROM_T2 = 2 NETROM_T4 = 6 SIOCADDRT = 35083 -SIOCGSTAMP = 35078 -SIOCGSTAMPNS = 35079 +SIOCDELRT = 35084 +SIOCNRDECOBS = 35298 SOCK_SEQPACKET = 5 SOL_NETROM = 259 -TIOCINQ = 21531 -TIOCOUTQ = 21521 __NR_accept = 285 __NR_accept4 = 366 __NR_bind = 282 @@ -20,8 +21,6 @@ __NR_getpeername = 287 __NR_getsockname = 286 __NR_getsockopt = 295 __NR_ioctl = 54 -__NR_listen = 284 __NR_recvmsg = 297 __NR_sendmsg = 296 __NR_setsockopt = 294 -__NR_socket = 281 diff --git a/sys/linux/socket_netrom_arm64.const b/sys/linux/socket_netrom_arm64.const index 2b749bc7c..836a8ada7 100644 --- a/sys/linux/socket_netrom_arm64.const +++ b/sys/linux/socket_netrom_arm64.const @@ -1,17 +1,18 @@ # AUTOGENERATED FILE AF_NETROM = 6 +AX25_MAX_DIGIS = 8 NETROM_IDLE = 7 NETROM_N2 = 3 +NETROM_NEIGH = 0 +NETROM_NODE = 1 NETROM_T1 = 1 NETROM_T2 = 2 NETROM_T4 = 6 SIOCADDRT = 35083 -SIOCGSTAMP = 35078 -SIOCGSTAMPNS = 35079 +SIOCDELRT = 35084 +SIOCNRDECOBS = 35298 SOCK_SEQPACKET = 5 SOL_NETROM = 259 -TIOCINQ = 21531 -TIOCOUTQ = 21521 __NR_accept = 202 __NR_accept4 = 242 __NR_bind = 200 @@ -20,8 +21,6 @@ __NR_getpeername = 205 __NR_getsockname = 204 __NR_getsockopt = 209 __NR_ioctl = 29 -__NR_listen = 201 __NR_recvmsg = 212 __NR_sendmsg = 211 __NR_setsockopt = 208 -__NR_socket = 198 diff --git a/sys/linux/socket_netrom_ppc64le.const b/sys/linux/socket_netrom_ppc64le.const index 9b9863b66..8706ca59a 100644 --- a/sys/linux/socket_netrom_ppc64le.const +++ b/sys/linux/socket_netrom_ppc64le.const @@ -1,17 +1,18 @@ # AUTOGENERATED FILE AF_NETROM = 6 +AX25_MAX_DIGIS = 8 NETROM_IDLE = 7 NETROM_N2 = 3 +NETROM_NEIGH = 0 +NETROM_NODE = 1 NETROM_T1 = 1 NETROM_T2 = 2 NETROM_T4 = 6 SIOCADDRT = 35083 -SIOCGSTAMP = 35078 -SIOCGSTAMPNS = 35079 +SIOCDELRT = 35084 +SIOCNRDECOBS = 35298 SOCK_SEQPACKET = 5 SOL_NETROM = 259 -TIOCINQ = 1074030207 -TIOCOUTQ = 1074033779 __NR_accept = 330 __NR_accept4 = 344 __NR_bind = 327 @@ -20,8 +21,6 @@ __NR_getpeername = 332 __NR_getsockname = 331 __NR_getsockopt = 340 __NR_ioctl = 54 -__NR_listen = 329 __NR_recvmsg = 342 __NR_sendmsg = 341 __NR_setsockopt = 339 -__NR_socket = 326 diff --git a/sys/linux/socket_ppc64le.const b/sys/linux/socket_ppc64le.const index 46b1d36e8..79566512f 100644 --- a/sys/linux/socket_ppc64le.const +++ b/sys/linux/socket_ppc64le.const @@ -190,6 +190,8 @@ SIOCGMIIPHY = 35143 SIOCGMIIREG = 35144 SIOCGPGRP = 35076 SIOCGSKNS = 35148 +SIOCGSTAMP = 35078 +SIOCGSTAMPNS = 35079 SIOCINQ = 1074030207 SIOCOUTQ = 1074033779 SIOCOUTQNSD = 35147 @@ -327,6 +329,8 @@ SO_WIFI_STATUS = 41 SO_ZEROCOPY = 60 TCP_V4_FLOW = 1 TCP_V6_FLOW = 5 +TIOCINQ = 1074030207 +TIOCOUTQ = 1074033779 UDP_V4_FLOW = 2 UDP_V6_FLOW = 6 __NR_accept = 330 diff --git a/sys/linux/socket_rose.txt b/sys/linux/socket_rose.txt new file mode 100644 index 000000000..ca9d930b2 --- /dev/null +++ b/sys/linux/socket_rose.txt @@ -0,0 +1,81 @@ +# Copyright 2018 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +include <linux/socket.h> +include <linux/net.h> +include <uapi/linux/rose.h> + +resource sock_rose[sock] + +syz_init_net_socket$rose(domain const[AF_ROSE], type const[SOCK_SEQPACKET], proto const[0]) sock_rose +bind$rose(fd sock_rose, addr ptr[in, sockaddr_rose_any], addrlen len[addr]) +connect$rose(fd sock_rose, addr ptr[in, sockaddr_rose_any], addrlen len[addr]) +accept4$rose(fd sock_rose, peer ptr[out, sockaddr_rose_any, opt], peerlen ptr[inout, len[peer, int32]], flags flags[accept_flags]) sock_rose +sendto$rose(fd sock_rose, buf ptr[in, array[int8]], len len[buf], f flags[send_flags], addr ptr[in, sockaddr_rose_any, opt], addrlen len[addr]) +recvfrom$rose(fd sock_rose, buf ptr[out, array[int8]], len len[buf], f flags[recv_flags], addr ptr[in, sockaddr_rose_any, opt], addrlen len[addr]) +setsockopt$rose(fd sock_rose, level const[SOL_ROSE], opt flags[rose_sockopts], arg ptr[in, int32], arglen len[arg]) +getsockopt$rose(fd sock_rose, level const[SOL_ROSE], opt flags[rose_sockopts], arg ptr[out, int32], arglen ptr[inout, len[arg, int32]]) + +rose_sockopts = ROSE_DEFER, ROSE_T1, ROSE_T2, ROSE_T3, ROSE_IDLE, ROSE_QBITINCL, ROSE_HOLDBACK + +ioctl$sock_rose_SIOCADDRT(fd sock_rose, cmd const[SIOCADDRT], arg ptr[in, rose_route_struct]) +ioctl$sock_rose_SIOCDELRT(fd sock_rose, cmd const[SIOCDELRT], arg ptr[in, rose_route_struct]) +ioctl$sock_rose_SIOCRSCLRRT(fd sock_rose, cmd const[SIOCRSCLRRT]) +ioctl$SIOCRSGCAUSE(fd sock_rose, cmd const[SIOCRSGCAUSE], arg ptr[out, int16]) +ioctl$SIOCRSSCAUSE(fd sock_rose, cmd const[SIOCRSSCAUSE], arg ptr[in, int16]) +ioctl$SIOCRSSL2CALL(fd sock_rose, cmd const[SIOCRSSL2CALL], arg ptr[in, ax25_address]) +ioctl$SIOCRSGL2CALL(fd sock_rose, cmd const[SIOCRSGL2CALL], arg ptr[out, ax25_address]) +ioctl$SIOCRSACCEPT(fd sock_rose, cmd const[SIOCRSACCEPT]) + +sockaddr_rose_any [ + short sockaddr_rose + full full_sockaddr_rose +] [varlen] + +sockaddr_rose { + srose_family const[AF_ROSE, int16] + srose_addr rose_address + srose_call ax25_address + srose_ndigis const[1, int32] + srose_digi ax25_address +} + +full_sockaddr_rose { + srose_family const[AF_ROSE, int16] + srose_addr rose_address + srose_call ax25_address + srose_ndigis int32[0:ROSE_MAX_DIGIS] + srose_digis array[ax25_address, ROSE_MAX_DIGIS] +} + +rose_address [ + remote rose_address_remote + dev rose_address_dev +] [size[5]] + +# Just some address without special meaning. +rose_address_remote { + b0 const[0xcc, int8] + b1 const[0xcc, int8] + b2 const[0xcc, int8] + b3 const[0xcc, int8] + b4 proc[0, 4, int8] +} + +# This is what we assign to rose* devices in initialize_netdevices_init: bb:bb:bb:01:%02hx +rose_address_dev { + b0 const[0xbb, int8] + b1 const[0xbb, int8] + b2 const[0xbb, int8] + b3 const[0x1, int8] + b4 proc[0, 1, int8] +} + +rose_route_struct { + address rose_address + mask int16 + neighbour ax25_address + device ax25_devname + ndigis int8[0:AX25_MAX_DIGIS] + digipeaters array[ax25_address, AX25_MAX_DIGIS] +} diff --git a/sys/linux/socket_rose_386.const b/sys/linux/socket_rose_386.const new file mode 100644 index 000000000..865bc1b4e --- /dev/null +++ b/sys/linux/socket_rose_386.const @@ -0,0 +1,29 @@ +# AUTOGENERATED FILE +AF_ROSE = 11 +AX25_MAX_DIGIS = 8 +ROSE_DEFER = 1 +ROSE_HOLDBACK = 7 +ROSE_IDLE = 5 +ROSE_MAX_DIGIS = 6 +ROSE_QBITINCL = 6 +ROSE_T1 = 2 +ROSE_T2 = 3 +ROSE_T3 = 4 +SIOCADDRT = 35083 +SIOCDELRT = 35084 +SIOCRSACCEPT = 35299 +SIOCRSCLRRT = 35300 +SIOCRSGCAUSE = 35296 +SIOCRSGL2CALL = 35301 +SIOCRSSCAUSE = 35297 +SIOCRSSL2CALL = 35298 +SOCK_SEQPACKET = 5 +SOL_ROSE = 260 +__NR_accept4 = 364 +__NR_bind = 361 +__NR_connect = 362 +__NR_getsockopt = 365 +__NR_ioctl = 54 +__NR_recvmsg = 372 +__NR_sendmsg = 370 +__NR_setsockopt = 366 diff --git a/sys/linux/socket_rose_amd64.const b/sys/linux/socket_rose_amd64.const new file mode 100644 index 000000000..426166b20 --- /dev/null +++ b/sys/linux/socket_rose_amd64.const @@ -0,0 +1,29 @@ +# AUTOGENERATED FILE +AF_ROSE = 11 +AX25_MAX_DIGIS = 8 +ROSE_DEFER = 1 +ROSE_HOLDBACK = 7 +ROSE_IDLE = 5 +ROSE_MAX_DIGIS = 6 +ROSE_QBITINCL = 6 +ROSE_T1 = 2 +ROSE_T2 = 3 +ROSE_T3 = 4 +SIOCADDRT = 35083 +SIOCDELRT = 35084 +SIOCRSACCEPT = 35299 +SIOCRSCLRRT = 35300 +SIOCRSGCAUSE = 35296 +SIOCRSGL2CALL = 35301 +SIOCRSSCAUSE = 35297 +SIOCRSSL2CALL = 35298 +SOCK_SEQPACKET = 5 +SOL_ROSE = 260 +__NR_accept4 = 288 +__NR_bind = 49 +__NR_connect = 42 +__NR_getsockopt = 55 +__NR_ioctl = 16 +__NR_recvmsg = 47 +__NR_sendmsg = 46 +__NR_setsockopt = 54 diff --git a/sys/linux/socket_rose_arm.const b/sys/linux/socket_rose_arm.const new file mode 100644 index 000000000..54745f220 --- /dev/null +++ b/sys/linux/socket_rose_arm.const @@ -0,0 +1,29 @@ +# AUTOGENERATED FILE +AF_ROSE = 11 +AX25_MAX_DIGIS = 8 +ROSE_DEFER = 1 +ROSE_HOLDBACK = 7 +ROSE_IDLE = 5 +ROSE_MAX_DIGIS = 6 +ROSE_QBITINCL = 6 +ROSE_T1 = 2 +ROSE_T2 = 3 +ROSE_T3 = 4 +SIOCADDRT = 35083 +SIOCDELRT = 35084 +SIOCRSACCEPT = 35299 +SIOCRSCLRRT = 35300 +SIOCRSGCAUSE = 35296 +SIOCRSGL2CALL = 35301 +SIOCRSSCAUSE = 35297 +SIOCRSSL2CALL = 35298 +SOCK_SEQPACKET = 5 +SOL_ROSE = 260 +__NR_accept4 = 366 +__NR_bind = 282 +__NR_connect = 283 +__NR_getsockopt = 295 +__NR_ioctl = 54 +__NR_recvmsg = 297 +__NR_sendmsg = 296 +__NR_setsockopt = 294 diff --git a/sys/linux/socket_rose_arm64.const b/sys/linux/socket_rose_arm64.const new file mode 100644 index 000000000..e2657648f --- /dev/null +++ b/sys/linux/socket_rose_arm64.const @@ -0,0 +1,29 @@ +# AUTOGENERATED FILE +AF_ROSE = 11 +AX25_MAX_DIGIS = 8 +ROSE_DEFER = 1 +ROSE_HOLDBACK = 7 +ROSE_IDLE = 5 +ROSE_MAX_DIGIS = 6 +ROSE_QBITINCL = 6 +ROSE_T1 = 2 +ROSE_T2 = 3 +ROSE_T3 = 4 +SIOCADDRT = 35083 +SIOCDELRT = 35084 +SIOCRSACCEPT = 35299 +SIOCRSCLRRT = 35300 +SIOCRSGCAUSE = 35296 +SIOCRSGL2CALL = 35301 +SIOCRSSCAUSE = 35297 +SIOCRSSL2CALL = 35298 +SOCK_SEQPACKET = 5 +SOL_ROSE = 260 +__NR_accept4 = 242 +__NR_bind = 200 +__NR_connect = 203 +__NR_getsockopt = 209 +__NR_ioctl = 29 +__NR_recvmsg = 212 +__NR_sendmsg = 211 +__NR_setsockopt = 208 diff --git a/sys/linux/socket_rose_ppc64le.const b/sys/linux/socket_rose_ppc64le.const new file mode 100644 index 000000000..24bd48413 --- /dev/null +++ b/sys/linux/socket_rose_ppc64le.const @@ -0,0 +1,29 @@ +# AUTOGENERATED FILE +AF_ROSE = 11 +AX25_MAX_DIGIS = 8 +ROSE_DEFER = 1 +ROSE_HOLDBACK = 7 +ROSE_IDLE = 5 +ROSE_MAX_DIGIS = 6 +ROSE_QBITINCL = 6 +ROSE_T1 = 2 +ROSE_T2 = 3 +ROSE_T3 = 4 +SIOCADDRT = 35083 +SIOCDELRT = 35084 +SIOCRSACCEPT = 35299 +SIOCRSCLRRT = 35300 +SIOCRSGCAUSE = 35296 +SIOCRSGL2CALL = 35301 +SIOCRSSCAUSE = 35297 +SIOCRSSL2CALL = 35298 +SOCK_SEQPACKET = 5 +SOL_ROSE = 260 +__NR_accept4 = 344 +__NR_bind = 327 +__NR_connect = 328 +__NR_getsockopt = 340 +__NR_ioctl = 54 +__NR_recvmsg = 342 +__NR_sendmsg = 341 +__NR_setsockopt = 339 diff --git a/sys/linux/test/netrom b/sys/linux/test/netrom new file mode 100644 index 000000000..f61e33e6b --- /dev/null +++ b/sys/linux/test/netrom @@ -0,0 +1,2 @@ +r0 = syz_init_net_socket$netrom(AUTO, AUTO, AUTO) +close(r0) diff --git a/sys/linux/vnet.txt b/sys/linux/vnet.txt index 8bb8d5e7f..e998f6ef6 100644 --- a/sys/linux/vnet.txt +++ b/sys/linux/vnet.txt @@ -316,6 +316,13 @@ type ipv4_addr_t[LAST] { a3 LAST } [packed] +ipv4_addr_initdev { + a0 const[0xac, int8] + a1 const[0x1e, int8] + a2 int8[0:1] + a3 proc[1, 1, int8] +} + ipv4_addr [ # random rand_addr int32be @@ -325,6 +332,7 @@ ipv4_addr [ local ipv4_addr_t[const[170, int8]] remote ipv4_addr_t[const[187, int8]] dev ipv4_addr_t[netdev_addr_id] + initdev ipv4_addr_initdev # 127.0.0.1 loopback const[0x7f000001, int32be] # 224.0.0.1 @@ -490,6 +498,14 @@ type ipv6_addr_t[LAST] { a3 LAST } [packed] +ipv6_addr_initdev { + a0 const[0xfe, int8] + a1 const[0x88, int8] + a2 array[const[0x0, int8], 12] + a3 int8[0:1] + a4 proc[1, 1, int8] +} + ipv6_addr_loopback { a0 const[0, int64be] a1 const[1, int64be] @@ -521,6 +537,7 @@ ipv6_addr [ local ipv6_addr_t[const[0xaa, int8]] remote ipv6_addr_t[const[0xbb, int8]] dev ipv6_addr_t[netdev_addr_id] + initdev ipv6_addr_initdev loopback ipv6_addr_loopback ipv4 ipv6_addr_ipv4 mcast1 ipv6_addr_multicast1 |
