diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-01-02 21:47:42 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-01-04 15:56:18 +0100 |
| commit | 6838bb9a0f00b16cef61e197a66df03425ff8c39 (patch) | |
| tree | b6cf34f493c72c6427a2045848b24466739c37bc /sys/linux | |
| parent | 0127e3baa7b78ca59d4b1ebb3482a270c6c1c2af (diff) | |
sys/linux: add /dev/ppp descriptions
Diffstat (limited to 'sys/linux')
24 files changed, 1198 insertions, 17 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 41d140a11..f12231d23 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -65,6 +65,7 @@ var resources_386 = []*ResourceDesc{ {Name: "fd_nbd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_block_trace", "fd_block", "fd_nbd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_ppp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_ppp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -6290,6 +6291,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"veth\", IFLA_INFO_DATA, veth_policy]"}, FldName: "veth"}, &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"vti\", IFLA_INFO_DATA, array[vti_policy]]"}, FldName: "vti"}, &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"ip6vti\", IFLA_INFO_DATA, array[ip6vti_policy]]"}, FldName: "ip6vti"}, + &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]"}, FldName: "ppp"}, }}}, {Key: StructKey{Name: "ifla_info_policy_t[\"bond\", IFLA_INFO_DATA, array[bond_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"bond\", IFLA_INFO_DATA, array[bond_policy]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"bond\"]]"}, FldName: "IFLA_INFO_KIND"}, @@ -6347,6 +6349,10 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ipip\"]]"}, FldName: "IFLA_INFO_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[ipip_policy]]"}, FldName: "IFLA_INFO_DATA"}, }}}, + {Key: StructKey{Name: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]", TypeSize: 20}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]"}, FldName: "IFLA_INFO_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]"}, FldName: "IFLA_INFO_DATA"}, + }}}, {Key: StructKey{Name: "ifla_info_policy_t[\"sit\", IFLA_INFO_DATA, array[sit_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"sit\", IFLA_INFO_DATA, array[sit_policy]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]"}, FldName: "IFLA_INFO_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[sit_policy]]"}, FldName: "IFLA_INFO_DATA"}, @@ -13176,6 +13182,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], veth_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], veth_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -13258,6 +13269,11 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"ipip\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 4}, Kind: 2, Values: []string{"ppp\x00"}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -13487,6 +13503,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 30}, @@ -16681,6 +16702,10 @@ 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: "npioctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "npioctl", TypeSize: 8}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_proto", FldName: "protocol", TypeSize: 4}}, Vals: []uint64{33, 41, 43, 45, 47, 61, 87, 251, 253, 641, 643, 32801, 32809, 32811, 32855, 33019, 33021, 33021, 49185, 49187, 49189, 49699, 49193}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "NPmode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}, + }}}, {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"}, @@ -30395,16 +30420,50 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19306}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, }}, + {NR: 54, Name: "ioctl$PPPIOCATTACH", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033725}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCATTCHAN", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033720}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCCONNECT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033722}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCDISCONN", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 29753}, + }}, {NR: 54, Name: "ioctl$PPPIOCGCHAN", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147775543}, &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$PPPIOCGDEBUG", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147775553}, + &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$PPPIOCGFLAGS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147775578}, &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$PPPIOCGFLAGS1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147775578}, + &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$PPPIOCGIDLE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148037695}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, + }}, {NR: 54, Name: "ioctl$PPPIOCGL2TPSTATS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2152231990}, @@ -30415,16 +30474,75 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147775571}, &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$PPPIOCGNPMODE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3221779532}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "npioctl"}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCGUNIT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147775574}, + &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$PPPIOCNEWUNIT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3221517374}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSACTIVE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074295878}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sock_fprog"}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSCOMPRESS", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074558029}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSDEBUG", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033728}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, {NR: 54, Name: "ioctl$PPPIOCSFLAGS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033753}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304}, BitMask: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 134217728}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSFLAGS1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033753}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 134217728}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSMAXCID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033745}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSMRRU", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033723}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, }}, {NR: 54, Name: "ioctl$PPPIOCSMRU", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033746}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, }}, + {NR: 54, Name: "ioctl$PPPIOCSMRU1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033746}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSNPMODE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074295883}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "npioctl"}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSPASS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074295879}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sock_fprog"}}}, + }}, {NR: 54, Name: "ioctl$PPPOEIOCDFWD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppoe", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 45313}, @@ -33762,7 +33880,7 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/ppp\x00"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 16384, 65536, 128, 32768, 262144, 256, 131072, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 4}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 295, Name: "openat$proc_capi20", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 4}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 18}, Kind: 2, Values: []string{"/proc/capi/capi20\x00"}}}, @@ -38976,6 +39094,11 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "nbd_reply"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Buf: "data"}, }}, + {NR: 4, Name: "write$ppp", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 4}}, BitSize: 8, Buf: "data"}, + }}, {NR: 4, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -40863,6 +40986,7 @@ var consts_386 = []ConstValue{ {Name: "IFLA_PORT_REQUEST", Value: 6}, {Name: "IFLA_PORT_SELF", Value: 25}, {Name: "IFLA_PORT_VF", Value: 1}, + {Name: "IFLA_PPP_DEV_FD", Value: 1}, {Name: "IFLA_PROMISCUITY", Value: 30}, {Name: "IFLA_PROTO_DOWN", Value: 39}, {Name: "IFLA_STATS_AF_SPEC", Value: 5}, @@ -42280,6 +42404,10 @@ var consts_386 = []ConstValue{ {Name: "NLM_F_ROOT", Value: 256}, {Name: "NMAGIC", Value: 264}, {Name: "NO_CLIENT"}, + {Name: "NPMODE_DROP", Value: 1}, + {Name: "NPMODE_ERROR", Value: 2}, + {Name: "NPMODE_PASS"}, + {Name: "NPMODE_QUEUE", Value: 3}, {Name: "NTF_EXT_LEARNED", Value: 16}, {Name: "NTF_MASTER", Value: 4}, {Name: "NTF_OFFLOADED", Value: 32}, @@ -42596,12 +42724,28 @@ var consts_386 = []ConstValue{ {Name: "POSIX_FADV_RANDOM", Value: 1}, {Name: "POSIX_FADV_SEQUENTIAL", Value: 2}, {Name: "POSIX_FADV_WILLNEED", Value: 3}, + {Name: "PPPIOCATTACH", Value: 1074033725}, + {Name: "PPPIOCATTCHAN", Value: 1074033720}, + {Name: "PPPIOCCONNECT", Value: 1074033722}, + {Name: "PPPIOCDISCONN", Value: 29753}, {Name: "PPPIOCGCHAN", Value: 2147775543}, + {Name: "PPPIOCGDEBUG", Value: 2147775553}, {Name: "PPPIOCGFLAGS", Value: 2147775578}, + {Name: "PPPIOCGIDLE", Value: 2148037695}, {Name: "PPPIOCGL2TPSTATS", Value: 2152231990}, {Name: "PPPIOCGMRU", Value: 2147775571}, + {Name: "PPPIOCGNPMODE", Value: 3221779532}, + {Name: "PPPIOCGUNIT", Value: 2147775574}, + {Name: "PPPIOCNEWUNIT", Value: 3221517374}, + {Name: "PPPIOCSACTIVE", Value: 1074295878}, + {Name: "PPPIOCSCOMPRESS", Value: 1074558029}, + {Name: "PPPIOCSDEBUG", Value: 1074033728}, {Name: "PPPIOCSFLAGS", Value: 1074033753}, + {Name: "PPPIOCSMAXCID", Value: 1074033745}, + {Name: "PPPIOCSMRRU", Value: 1074033723}, {Name: "PPPIOCSMRU", Value: 1074033746}, + {Name: "PPPIOCSNPMODE", Value: 1074295883}, + {Name: "PPPIOCSPASS", Value: 1074295879}, {Name: "PPPOEIOCDFWD", Value: 45313}, {Name: "PPPOEIOCSFWD", Value: 1074049280}, {Name: "PPPOL2TP_SO_DEBUG", Value: 1}, @@ -42609,6 +42753,29 @@ var consts_386 = []ConstValue{ {Name: "PPPOL2TP_SO_RECVSEQ", Value: 2}, {Name: "PPPOL2TP_SO_REORDERTO", Value: 5}, {Name: "PPPOL2TP_SO_SENDSEQ", Value: 3}, + {Name: "PPP_AT", Value: 41}, + {Name: "PPP_ATCP", Value: 32809}, + {Name: "PPP_CBCP", Value: 49193}, + {Name: "PPP_CCP", Value: 33021}, + {Name: "PPP_CCPFRAG", Value: 33019}, + {Name: "PPP_CHAP", Value: 49699}, + {Name: "PPP_COMP", Value: 253}, + {Name: "PPP_COMPFRAG", Value: 251}, + {Name: "PPP_IP", Value: 33}, + {Name: "PPP_IPCP", Value: 32801}, + {Name: "PPP_IPV6", Value: 87}, + {Name: "PPP_IPV6CP", Value: 32855}, + {Name: "PPP_IPX", Value: 43}, + {Name: "PPP_IPXCP", Value: 32811}, + {Name: "PPP_LCP", Value: 49185}, + {Name: "PPP_LQR", Value: 49189}, + {Name: "PPP_MP", Value: 61}, + {Name: "PPP_MPLSCP", Value: 33021}, + {Name: "PPP_MPLS_MC", Value: 643}, + {Name: "PPP_MPLS_UC", Value: 641}, + {Name: "PPP_PAP", Value: 49187}, + {Name: "PPP_VJC_COMP", Value: 45}, + {Name: "PPP_VJC_UNCOMP", Value: 47}, {Name: "PRIO_PGRP", Value: 1}, {Name: "PRIO_PROCESS"}, {Name: "PRIO_USER", Value: 2}, @@ -43202,6 +43369,10 @@ var consts_386 = []ConstValue{ {Name: "SC_MULTILINK", Value: 1024}, {Name: "SC_MUST_COMP", Value: 4194304}, {Name: "SC_NO_TCP_CCID", Value: 8}, + {Name: "SC_RCV_B7_0", Value: 16777216}, + {Name: "SC_RCV_B7_1", Value: 33554432}, + {Name: "SC_RCV_EVNP", Value: 67108864}, + {Name: "SC_RCV_ODDP", Value: 134217728}, {Name: "SC_REJ_COMP_AC", Value: 16}, {Name: "SC_REJ_COMP_TCP", Value: 32}, {Name: "SC_SYNC", Value: 2097152}, @@ -46152,4 +46323,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "12dd9e4b7009eb8c43a4049dad2e4be6efea48a8" +const revision_386 = "0b8b18153bf3e112969a92c18c6852dd3ec32aed" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index aa47f8449..31d8ddffc 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -65,6 +65,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "fd_nbd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_block_trace", "fd_block", "fd_nbd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_ppp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_ppp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -6398,6 +6399,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"veth\", IFLA_INFO_DATA, veth_policy]"}, FldName: "veth"}, &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"vti\", IFLA_INFO_DATA, array[vti_policy]]"}, FldName: "vti"}, &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"ip6vti\", IFLA_INFO_DATA, array[ip6vti_policy]]"}, FldName: "ip6vti"}, + &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]"}, FldName: "ppp"}, }}}, {Key: StructKey{Name: "ifla_info_policy_t[\"bond\", IFLA_INFO_DATA, array[bond_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"bond\", IFLA_INFO_DATA, array[bond_policy]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"bond\"]]"}, FldName: "IFLA_INFO_KIND"}, @@ -6455,6 +6457,10 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ipip\"]]"}, FldName: "IFLA_INFO_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[ipip_policy]]"}, FldName: "IFLA_INFO_DATA"}, }}}, + {Key: StructKey{Name: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]", TypeSize: 20}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]"}, FldName: "IFLA_INFO_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]"}, FldName: "IFLA_INFO_DATA"}, + }}}, {Key: StructKey{Name: "ifla_info_policy_t[\"sit\", IFLA_INFO_DATA, array[sit_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"sit\", IFLA_INFO_DATA, array[sit_policy]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]"}, FldName: "IFLA_INFO_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[sit_policy]]"}, FldName: "IFLA_INFO_DATA"}, @@ -13495,6 +13501,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], veth_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], veth_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -13577,6 +13588,11 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"ipip\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 4}, Kind: 2, Values: []string{"ppp\x00"}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -13806,6 +13822,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 30}, @@ -17000,6 +17021,10 @@ 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: "npioctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "npioctl", TypeSize: 8}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_proto", FldName: "protocol", TypeSize: 4}}, Vals: []uint64{33, 41, 43, 45, 47, 61, 87, 251, 253, 641, 643, 32801, 32809, 32811, 32855, 33019, 33021, 33021, 49185, 49187, 49189, 49699, 49193}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "NPmode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}, + }}}, {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"}, @@ -30941,16 +30966,50 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19306}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, }}, + {NR: 16, Name: "ioctl$PPPIOCATTACH", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033725}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 16, Name: "ioctl$PPPIOCATTCHAN", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033720}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 16, Name: "ioctl$PPPIOCCONNECT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033722}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 16, Name: "ioctl$PPPIOCDISCONN", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 29753}, + }}, {NR: 16, Name: "ioctl$PPPIOCGCHAN", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775543}, &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$PPPIOCGDEBUG", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775553}, + &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$PPPIOCGFLAGS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775578}, &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$PPPIOCGFLAGS1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775578}, + &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$PPPIOCGIDLE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148561983}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, + }}, {NR: 16, Name: "ioctl$PPPIOCGL2TPSTATS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2152231990}, @@ -30961,16 +31020,75 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775571}, &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$PPPIOCGNPMODE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3221779532}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "npioctl"}}}, + }}, + {NR: 16, Name: "ioctl$PPPIOCGUNIT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775574}, + &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$PPPIOCNEWUNIT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3221517374}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 16, Name: "ioctl$PPPIOCSACTIVE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074820166}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sock_fprog"}}}, + }}, + {NR: 16, Name: "ioctl$PPPIOCSCOMPRESS", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074820173}, + }}, + {NR: 16, Name: "ioctl$PPPIOCSDEBUG", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033728}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, {NR: 16, Name: "ioctl$PPPIOCSFLAGS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033753}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304}, BitMask: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 134217728}, BitMask: true}}, + }}, + {NR: 16, Name: "ioctl$PPPIOCSFLAGS1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033753}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 134217728}, BitMask: true}}, + }}, + {NR: 16, Name: "ioctl$PPPIOCSMAXCID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033745}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, + {NR: 16, Name: "ioctl$PPPIOCSMRRU", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033723}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, }}, {NR: 16, Name: "ioctl$PPPIOCSMRU", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033746}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, }}, + {NR: 16, Name: "ioctl$PPPIOCSMRU1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033746}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, + {NR: 16, Name: "ioctl$PPPIOCSNPMODE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074295883}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "npioctl"}}}, + }}, + {NR: 16, Name: "ioctl$PPPIOCSPASS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074820167}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sock_fprog"}}}, + }}, {NR: 16, Name: "ioctl$PPPOEIOCDFWD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppoe", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 45313}, @@ -34378,7 +34496,7 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/ppp\x00"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 16384, 65536, 128, 32768, 262144, 256, 131072, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 257, Name: "openat$proc_capi20", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 18}, Kind: 2, Values: []string{"/proc/capi/capi20\x00"}}}, @@ -39741,6 +39859,11 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nbd_reply"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "data"}, }}, + {NR: 1, Name: "write$ppp", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 1, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -41628,6 +41751,7 @@ var consts_amd64 = []ConstValue{ {Name: "IFLA_PORT_REQUEST", Value: 6}, {Name: "IFLA_PORT_SELF", Value: 25}, {Name: "IFLA_PORT_VF", Value: 1}, + {Name: "IFLA_PPP_DEV_FD", Value: 1}, {Name: "IFLA_PROMISCUITY", Value: 30}, {Name: "IFLA_PROTO_DOWN", Value: 39}, {Name: "IFLA_STATS_AF_SPEC", Value: 5}, @@ -43045,6 +43169,10 @@ var consts_amd64 = []ConstValue{ {Name: "NLM_F_ROOT", Value: 256}, {Name: "NMAGIC", Value: 264}, {Name: "NO_CLIENT"}, + {Name: "NPMODE_DROP", Value: 1}, + {Name: "NPMODE_ERROR", Value: 2}, + {Name: "NPMODE_PASS"}, + {Name: "NPMODE_QUEUE", Value: 3}, {Name: "NTF_EXT_LEARNED", Value: 16}, {Name: "NTF_MASTER", Value: 4}, {Name: "NTF_OFFLOADED", Value: 32}, @@ -43361,12 +43489,28 @@ var consts_amd64 = []ConstValue{ {Name: "POSIX_FADV_RANDOM", Value: 1}, {Name: "POSIX_FADV_SEQUENTIAL", Value: 2}, {Name: "POSIX_FADV_WILLNEED", Value: 3}, + {Name: "PPPIOCATTACH", Value: 1074033725}, + {Name: "PPPIOCATTCHAN", Value: 1074033720}, + {Name: "PPPIOCCONNECT", Value: 1074033722}, + {Name: "PPPIOCDISCONN", Value: 29753}, {Name: "PPPIOCGCHAN", Value: 2147775543}, + {Name: "PPPIOCGDEBUG", Value: 2147775553}, {Name: "PPPIOCGFLAGS", Value: 2147775578}, + {Name: "PPPIOCGIDLE", Value: 2148561983}, {Name: "PPPIOCGL2TPSTATS", Value: 2152231990}, {Name: "PPPIOCGMRU", Value: 2147775571}, + {Name: "PPPIOCGNPMODE", Value: 3221779532}, + {Name: "PPPIOCGUNIT", Value: 2147775574}, + {Name: "PPPIOCNEWUNIT", Value: 3221517374}, + {Name: "PPPIOCSACTIVE", Value: 1074820166}, + {Name: "PPPIOCSCOMPRESS", Value: 1074820173}, + {Name: "PPPIOCSDEBUG", Value: 1074033728}, {Name: "PPPIOCSFLAGS", Value: 1074033753}, + {Name: "PPPIOCSMAXCID", Value: 1074033745}, + {Name: "PPPIOCSMRRU", Value: 1074033723}, {Name: "PPPIOCSMRU", Value: 1074033746}, + {Name: "PPPIOCSNPMODE", Value: 1074295883}, + {Name: "PPPIOCSPASS", Value: 1074820167}, {Name: "PPPOEIOCDFWD", Value: 45313}, {Name: "PPPOEIOCSFWD", Value: 1074311424}, {Name: "PPPOL2TP_SO_DEBUG", Value: 1}, @@ -43374,6 +43518,29 @@ var consts_amd64 = []ConstValue{ {Name: "PPPOL2TP_SO_RECVSEQ", Value: 2}, {Name: "PPPOL2TP_SO_REORDERTO", Value: 5}, {Name: "PPPOL2TP_SO_SENDSEQ", Value: 3}, + {Name: "PPP_AT", Value: 41}, + {Name: "PPP_ATCP", Value: 32809}, + {Name: "PPP_CBCP", Value: 49193}, + {Name: "PPP_CCP", Value: 33021}, + {Name: "PPP_CCPFRAG", Value: 33019}, + {Name: "PPP_CHAP", Value: 49699}, + {Name: "PPP_COMP", Value: 253}, + {Name: "PPP_COMPFRAG", Value: 251}, + {Name: "PPP_IP", Value: 33}, + {Name: "PPP_IPCP", Value: 32801}, + {Name: "PPP_IPV6", Value: 87}, + {Name: "PPP_IPV6CP", Value: 32855}, + {Name: "PPP_IPX", Value: 43}, + {Name: "PPP_IPXCP", Value: 32811}, + {Name: "PPP_LCP", Value: 49185}, + {Name: "PPP_LQR", Value: 49189}, + {Name: "PPP_MP", Value: 61}, + {Name: "PPP_MPLSCP", Value: 33021}, + {Name: "PPP_MPLS_MC", Value: 643}, + {Name: "PPP_MPLS_UC", Value: 641}, + {Name: "PPP_PAP", Value: 49187}, + {Name: "PPP_VJC_COMP", Value: 45}, + {Name: "PPP_VJC_UNCOMP", Value: 47}, {Name: "PRIO_PGRP", Value: 1}, {Name: "PRIO_PROCESS"}, {Name: "PRIO_USER", Value: 2}, @@ -43967,6 +44134,10 @@ var consts_amd64 = []ConstValue{ {Name: "SC_MULTILINK", Value: 1024}, {Name: "SC_MUST_COMP", Value: 4194304}, {Name: "SC_NO_TCP_CCID", Value: 8}, + {Name: "SC_RCV_B7_0", Value: 16777216}, + {Name: "SC_RCV_B7_1", Value: 33554432}, + {Name: "SC_RCV_EVNP", Value: 67108864}, + {Name: "SC_RCV_ODDP", Value: 134217728}, {Name: "SC_REJ_COMP_AC", Value: 16}, {Name: "SC_REJ_COMP_TCP", Value: 32}, {Name: "SC_SYNC", Value: 2097152}, @@ -46942,4 +47113,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "eff88f7e644b80ac279853925af8c7edfd13ff5b" +const revision_amd64 = "74c8a46e8881784d3c05d2958991827edb812738" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index d75b8f53e..468cf8b8e 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -65,6 +65,7 @@ var resources_arm = []*ResourceDesc{ {Name: "fd_nbd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_block_trace", "fd_block", "fd_nbd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_ppp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_ppp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -6295,6 +6296,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"veth\", IFLA_INFO_DATA, veth_policy]"}, FldName: "veth"}, &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"vti\", IFLA_INFO_DATA, array[vti_policy]]"}, FldName: "vti"}, &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"ip6vti\", IFLA_INFO_DATA, array[ip6vti_policy]]"}, FldName: "ip6vti"}, + &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]"}, FldName: "ppp"}, }}}, {Key: StructKey{Name: "ifla_info_policy_t[\"bond\", IFLA_INFO_DATA, array[bond_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"bond\", IFLA_INFO_DATA, array[bond_policy]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"bond\"]]"}, FldName: "IFLA_INFO_KIND"}, @@ -6352,6 +6354,10 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ipip\"]]"}, FldName: "IFLA_INFO_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[ipip_policy]]"}, FldName: "IFLA_INFO_DATA"}, }}}, + {Key: StructKey{Name: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]", TypeSize: 20}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]"}, FldName: "IFLA_INFO_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]"}, FldName: "IFLA_INFO_DATA"}, + }}}, {Key: StructKey{Name: "ifla_info_policy_t[\"sit\", IFLA_INFO_DATA, array[sit_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"sit\", IFLA_INFO_DATA, array[sit_policy]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]"}, FldName: "IFLA_INFO_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[sit_policy]]"}, FldName: "IFLA_INFO_DATA"}, @@ -13031,6 +13037,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], veth_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], veth_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -13113,6 +13124,11 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"ipip\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 4}, Kind: 2, Values: []string{"ppp\x00"}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -13342,6 +13358,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 30}, @@ -16536,6 +16557,10 @@ 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: "npioctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "npioctl", TypeSize: 8}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_proto", FldName: "protocol", TypeSize: 4}}, Vals: []uint64{33, 41, 43, 45, 47, 61, 87, 251, 253, 641, 643, 32801, 32809, 32811, 32855, 33019, 33021, 33021, 49185, 49187, 49189, 49699, 49193}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "NPmode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}, + }}}, {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"}, @@ -30148,16 +30173,50 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19306}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, }}, + {NR: 54, Name: "ioctl$PPPIOCATTACH", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033725}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCATTCHAN", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033720}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCCONNECT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033722}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCDISCONN", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 29753}, + }}, {NR: 54, Name: "ioctl$PPPIOCGCHAN", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147775543}, &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$PPPIOCGDEBUG", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147775553}, + &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$PPPIOCGFLAGS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147775578}, &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$PPPIOCGFLAGS1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147775578}, + &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$PPPIOCGIDLE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148037695}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, + }}, {NR: 54, Name: "ioctl$PPPIOCGL2TPSTATS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2152231990}, @@ -30168,16 +30227,75 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147775571}, &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$PPPIOCGNPMODE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3221779532}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "npioctl"}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCGUNIT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2147775574}, + &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$PPPIOCNEWUNIT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3221517374}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSACTIVE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074295878}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sock_fprog"}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSCOMPRESS", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074558029}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSDEBUG", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033728}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, {NR: 54, Name: "ioctl$PPPIOCSFLAGS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033753}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304}, BitMask: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 134217728}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSFLAGS1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033753}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 134217728}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSMAXCID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033745}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSMRRU", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033723}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, }}, {NR: 54, Name: "ioctl$PPPIOCSMRU", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033746}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, }}, + {NR: 54, Name: "ioctl$PPPIOCSMRU1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074033746}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSNPMODE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074295883}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "npioctl"}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSPASS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074295879}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sock_fprog"}}}, + }}, {NR: 54, Name: "ioctl$PPPOEIOCDFWD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppoe", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 45313}, @@ -33531,7 +33649,7 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/ppp\x00"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 65536, 16384, 128, 131072, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 4}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 322, Name: "openat$proc_capi20", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 4}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 18}, Kind: 2, Values: []string{"/proc/capi/capi20\x00"}}}, @@ -38877,6 +38995,11 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "nbd_reply"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 4}}, Buf: "data"}, }}, + {NR: 4, Name: "write$ppp", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 4}}, BitSize: 8, Buf: "data"}, + }}, {NR: 4, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -40755,6 +40878,7 @@ var consts_arm = []ConstValue{ {Name: "IFLA_PORT_REQUEST", Value: 6}, {Name: "IFLA_PORT_SELF", Value: 25}, {Name: "IFLA_PORT_VF", Value: 1}, + {Name: "IFLA_PPP_DEV_FD", Value: 1}, {Name: "IFLA_PROMISCUITY", Value: 30}, {Name: "IFLA_PROTO_DOWN", Value: 39}, {Name: "IFLA_STATS_AF_SPEC", Value: 5}, @@ -42122,6 +42246,10 @@ var consts_arm = []ConstValue{ {Name: "NLM_F_ROOT", Value: 256}, {Name: "NMAGIC", Value: 264}, {Name: "NO_CLIENT"}, + {Name: "NPMODE_DROP", Value: 1}, + {Name: "NPMODE_ERROR", Value: 2}, + {Name: "NPMODE_PASS"}, + {Name: "NPMODE_QUEUE", Value: 3}, {Name: "NTF_EXT_LEARNED", Value: 16}, {Name: "NTF_MASTER", Value: 4}, {Name: "NTF_OFFLOADED", Value: 32}, @@ -42438,12 +42566,28 @@ var consts_arm = []ConstValue{ {Name: "POSIX_FADV_RANDOM", Value: 1}, {Name: "POSIX_FADV_SEQUENTIAL", Value: 2}, {Name: "POSIX_FADV_WILLNEED", Value: 3}, + {Name: "PPPIOCATTACH", Value: 1074033725}, + {Name: "PPPIOCATTCHAN", Value: 1074033720}, + {Name: "PPPIOCCONNECT", Value: 1074033722}, + {Name: "PPPIOCDISCONN", Value: 29753}, {Name: "PPPIOCGCHAN", Value: 2147775543}, + {Name: "PPPIOCGDEBUG", Value: 2147775553}, {Name: "PPPIOCGFLAGS", Value: 2147775578}, + {Name: "PPPIOCGIDLE", Value: 2148037695}, {Name: "PPPIOCGL2TPSTATS", Value: 2152231990}, {Name: "PPPIOCGMRU", Value: 2147775571}, + {Name: "PPPIOCGNPMODE", Value: 3221779532}, + {Name: "PPPIOCGUNIT", Value: 2147775574}, + {Name: "PPPIOCNEWUNIT", Value: 3221517374}, + {Name: "PPPIOCSACTIVE", Value: 1074295878}, + {Name: "PPPIOCSCOMPRESS", Value: 1074558029}, + {Name: "PPPIOCSDEBUG", Value: 1074033728}, {Name: "PPPIOCSFLAGS", Value: 1074033753}, + {Name: "PPPIOCSMAXCID", Value: 1074033745}, + {Name: "PPPIOCSMRRU", Value: 1074033723}, {Name: "PPPIOCSMRU", Value: 1074033746}, + {Name: "PPPIOCSNPMODE", Value: 1074295883}, + {Name: "PPPIOCSPASS", Value: 1074295879}, {Name: "PPPOEIOCDFWD", Value: 45313}, {Name: "PPPOEIOCSFWD", Value: 1074049280}, {Name: "PPPOL2TP_SO_DEBUG", Value: 1}, @@ -42451,6 +42595,29 @@ var consts_arm = []ConstValue{ {Name: "PPPOL2TP_SO_RECVSEQ", Value: 2}, {Name: "PPPOL2TP_SO_REORDERTO", Value: 5}, {Name: "PPPOL2TP_SO_SENDSEQ", Value: 3}, + {Name: "PPP_AT", Value: 41}, + {Name: "PPP_ATCP", Value: 32809}, + {Name: "PPP_CBCP", Value: 49193}, + {Name: "PPP_CCP", Value: 33021}, + {Name: "PPP_CCPFRAG", Value: 33019}, + {Name: "PPP_CHAP", Value: 49699}, + {Name: "PPP_COMP", Value: 253}, + {Name: "PPP_COMPFRAG", Value: 251}, + {Name: "PPP_IP", Value: 33}, + {Name: "PPP_IPCP", Value: 32801}, + {Name: "PPP_IPV6", Value: 87}, + {Name: "PPP_IPV6CP", Value: 32855}, + {Name: "PPP_IPX", Value: 43}, + {Name: "PPP_IPXCP", Value: 32811}, + {Name: "PPP_LCP", Value: 49185}, + {Name: "PPP_LQR", Value: 49189}, + {Name: "PPP_MP", Value: 61}, + {Name: "PPP_MPLSCP", Value: 33021}, + {Name: "PPP_MPLS_MC", Value: 643}, + {Name: "PPP_MPLS_UC", Value: 641}, + {Name: "PPP_PAP", Value: 49187}, + {Name: "PPP_VJC_COMP", Value: 45}, + {Name: "PPP_VJC_UNCOMP", Value: 47}, {Name: "PRIO_PGRP", Value: 1}, {Name: "PRIO_PROCESS"}, {Name: "PRIO_USER", Value: 2}, @@ -43042,6 +43209,10 @@ var consts_arm = []ConstValue{ {Name: "SC_MULTILINK", Value: 1024}, {Name: "SC_MUST_COMP", Value: 4194304}, {Name: "SC_NO_TCP_CCID", Value: 8}, + {Name: "SC_RCV_B7_0", Value: 16777216}, + {Name: "SC_RCV_B7_1", Value: 33554432}, + {Name: "SC_RCV_EVNP", Value: 67108864}, + {Name: "SC_RCV_ODDP", Value: 134217728}, {Name: "SC_REJ_COMP_AC", Value: 16}, {Name: "SC_REJ_COMP_TCP", Value: 32}, {Name: "SC_SYNC", Value: 2097152}, @@ -45991,4 +46162,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "3a67ca62aecf19057b68c31831080fda1fc6d848" +const revision_arm = "efd63d806626af202831392e272313cd8a6ed149" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 6b05af1b9..1b15d9637 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -65,6 +65,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "fd_nbd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_block_trace", "fd_block", "fd_nbd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_ppp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_ppp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -6398,6 +6399,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"veth\", IFLA_INFO_DATA, veth_policy]"}, FldName: "veth"}, &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"vti\", IFLA_INFO_DATA, array[vti_policy]]"}, FldName: "vti"}, &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"ip6vti\", IFLA_INFO_DATA, array[ip6vti_policy]]"}, FldName: "ip6vti"}, + &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]"}, FldName: "ppp"}, }}}, {Key: StructKey{Name: "ifla_info_policy_t[\"bond\", IFLA_INFO_DATA, array[bond_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"bond\", IFLA_INFO_DATA, array[bond_policy]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"bond\"]]"}, FldName: "IFLA_INFO_KIND"}, @@ -6455,6 +6457,10 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ipip\"]]"}, FldName: "IFLA_INFO_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[ipip_policy]]"}, FldName: "IFLA_INFO_DATA"}, }}}, + {Key: StructKey{Name: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]", TypeSize: 20}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]"}, FldName: "IFLA_INFO_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]"}, FldName: "IFLA_INFO_DATA"}, + }}}, {Key: StructKey{Name: "ifla_info_policy_t[\"sit\", IFLA_INFO_DATA, array[sit_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"sit\", IFLA_INFO_DATA, array[sit_policy]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]"}, FldName: "IFLA_INFO_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[sit_policy]]"}, FldName: "IFLA_INFO_DATA"}, @@ -13312,6 +13318,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], veth_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], veth_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -13394,6 +13405,11 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"ipip\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 4}, Kind: 2, Values: []string{"ppp\x00"}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -13623,6 +13639,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 30}, @@ -16817,6 +16838,10 @@ 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: "npioctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "npioctl", TypeSize: 8}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_proto", FldName: "protocol", TypeSize: 4}}, Vals: []uint64{33, 41, 43, 45, 47, 61, 87, 251, 253, 641, 643, 32801, 32809, 32811, 32855, 33019, 33021, 33021, 49185, 49187, 49189, 49699, 49193}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "NPmode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}, + }}}, {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"}, @@ -30538,16 +30563,50 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19306}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, }}, + {NR: 29, Name: "ioctl$PPPIOCATTACH", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033725}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 29, Name: "ioctl$PPPIOCATTCHAN", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033720}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 29, Name: "ioctl$PPPIOCCONNECT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033722}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 29, Name: "ioctl$PPPIOCDISCONN", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 29753}, + }}, {NR: 29, Name: "ioctl$PPPIOCGCHAN", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775543}, &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$PPPIOCGDEBUG", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775553}, + &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$PPPIOCGFLAGS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775578}, &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$PPPIOCGFLAGS1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775578}, + &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$PPPIOCGIDLE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148561983}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, + }}, {NR: 29, Name: "ioctl$PPPIOCGL2TPSTATS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2152231990}, @@ -30558,16 +30617,75 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775571}, &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$PPPIOCGNPMODE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3221779532}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "npioctl"}}}, + }}, + {NR: 29, Name: "ioctl$PPPIOCGUNIT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775574}, + &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$PPPIOCNEWUNIT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3221517374}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 29, Name: "ioctl$PPPIOCSACTIVE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074820166}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sock_fprog"}}}, + }}, + {NR: 29, Name: "ioctl$PPPIOCSCOMPRESS", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074820173}, + }}, + {NR: 29, Name: "ioctl$PPPIOCSDEBUG", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033728}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, {NR: 29, Name: "ioctl$PPPIOCSFLAGS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033753}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304}, BitMask: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 134217728}, BitMask: true}}, + }}, + {NR: 29, Name: "ioctl$PPPIOCSFLAGS1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033753}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 134217728}, BitMask: true}}, + }}, + {NR: 29, Name: "ioctl$PPPIOCSMAXCID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033745}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, + {NR: 29, Name: "ioctl$PPPIOCSMRRU", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033723}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, }}, {NR: 29, Name: "ioctl$PPPIOCSMRU", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033746}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, }}, + {NR: 29, Name: "ioctl$PPPIOCSMRU1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033746}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, + {NR: 29, Name: "ioctl$PPPIOCSNPMODE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074295883}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "npioctl"}}}, + }}, + {NR: 29, Name: "ioctl$PPPIOCSPASS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074820167}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sock_fprog"}}}, + }}, {NR: 29, Name: "ioctl$PPPOEIOCDFWD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppoe", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 45313}, @@ -33910,7 +34028,7 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/ppp\x00"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 65536, 16384, 128, 131072, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 56, Name: "openat$proc_capi20", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 18}, Kind: 2, Values: []string{"/proc/capi/capi20\x00"}}}, @@ -39196,6 +39314,11 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nbd_reply"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "data"}, }}, + {NR: 64, Name: "write$ppp", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 64, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -41074,6 +41197,7 @@ var consts_arm64 = []ConstValue{ {Name: "IFLA_PORT_REQUEST", Value: 6}, {Name: "IFLA_PORT_SELF", Value: 25}, {Name: "IFLA_PORT_VF", Value: 1}, + {Name: "IFLA_PPP_DEV_FD", Value: 1}, {Name: "IFLA_PROMISCUITY", Value: 30}, {Name: "IFLA_PROTO_DOWN", Value: 39}, {Name: "IFLA_STATS_AF_SPEC", Value: 5}, @@ -42450,6 +42574,10 @@ var consts_arm64 = []ConstValue{ {Name: "NLM_F_ROOT", Value: 256}, {Name: "NMAGIC", Value: 264}, {Name: "NO_CLIENT"}, + {Name: "NPMODE_DROP", Value: 1}, + {Name: "NPMODE_ERROR", Value: 2}, + {Name: "NPMODE_PASS"}, + {Name: "NPMODE_QUEUE", Value: 3}, {Name: "NTF_EXT_LEARNED", Value: 16}, {Name: "NTF_MASTER", Value: 4}, {Name: "NTF_OFFLOADED", Value: 32}, @@ -42766,12 +42894,28 @@ var consts_arm64 = []ConstValue{ {Name: "POSIX_FADV_RANDOM", Value: 1}, {Name: "POSIX_FADV_SEQUENTIAL", Value: 2}, {Name: "POSIX_FADV_WILLNEED", Value: 3}, + {Name: "PPPIOCATTACH", Value: 1074033725}, + {Name: "PPPIOCATTCHAN", Value: 1074033720}, + {Name: "PPPIOCCONNECT", Value: 1074033722}, + {Name: "PPPIOCDISCONN", Value: 29753}, {Name: "PPPIOCGCHAN", Value: 2147775543}, + {Name: "PPPIOCGDEBUG", Value: 2147775553}, {Name: "PPPIOCGFLAGS", Value: 2147775578}, + {Name: "PPPIOCGIDLE", Value: 2148561983}, {Name: "PPPIOCGL2TPSTATS", Value: 2152231990}, {Name: "PPPIOCGMRU", Value: 2147775571}, + {Name: "PPPIOCGNPMODE", Value: 3221779532}, + {Name: "PPPIOCGUNIT", Value: 2147775574}, + {Name: "PPPIOCNEWUNIT", Value: 3221517374}, + {Name: "PPPIOCSACTIVE", Value: 1074820166}, + {Name: "PPPIOCSCOMPRESS", Value: 1074820173}, + {Name: "PPPIOCSDEBUG", Value: 1074033728}, {Name: "PPPIOCSFLAGS", Value: 1074033753}, + {Name: "PPPIOCSMAXCID", Value: 1074033745}, + {Name: "PPPIOCSMRRU", Value: 1074033723}, {Name: "PPPIOCSMRU", Value: 1074033746}, + {Name: "PPPIOCSNPMODE", Value: 1074295883}, + {Name: "PPPIOCSPASS", Value: 1074820167}, {Name: "PPPOEIOCDFWD", Value: 45313}, {Name: "PPPOEIOCSFWD", Value: 1074311424}, {Name: "PPPOL2TP_SO_DEBUG", Value: 1}, @@ -42779,6 +42923,29 @@ var consts_arm64 = []ConstValue{ {Name: "PPPOL2TP_SO_RECVSEQ", Value: 2}, {Name: "PPPOL2TP_SO_REORDERTO", Value: 5}, {Name: "PPPOL2TP_SO_SENDSEQ", Value: 3}, + {Name: "PPP_AT", Value: 41}, + {Name: "PPP_ATCP", Value: 32809}, + {Name: "PPP_CBCP", Value: 49193}, + {Name: "PPP_CCP", Value: 33021}, + {Name: "PPP_CCPFRAG", Value: 33019}, + {Name: "PPP_CHAP", Value: 49699}, + {Name: "PPP_COMP", Value: 253}, + {Name: "PPP_COMPFRAG", Value: 251}, + {Name: "PPP_IP", Value: 33}, + {Name: "PPP_IPCP", Value: 32801}, + {Name: "PPP_IPV6", Value: 87}, + {Name: "PPP_IPV6CP", Value: 32855}, + {Name: "PPP_IPX", Value: 43}, + {Name: "PPP_IPXCP", Value: 32811}, + {Name: "PPP_LCP", Value: 49185}, + {Name: "PPP_LQR", Value: 49189}, + {Name: "PPP_MP", Value: 61}, + {Name: "PPP_MPLSCP", Value: 33021}, + {Name: "PPP_MPLS_MC", Value: 643}, + {Name: "PPP_MPLS_UC", Value: 641}, + {Name: "PPP_PAP", Value: 49187}, + {Name: "PPP_VJC_COMP", Value: 45}, + {Name: "PPP_VJC_UNCOMP", Value: 47}, {Name: "PRIO_PGRP", Value: 1}, {Name: "PRIO_PROCESS"}, {Name: "PRIO_USER", Value: 2}, @@ -43366,6 +43533,10 @@ var consts_arm64 = []ConstValue{ {Name: "SC_MULTILINK", Value: 1024}, {Name: "SC_MUST_COMP", Value: 4194304}, {Name: "SC_NO_TCP_CCID", Value: 8}, + {Name: "SC_RCV_B7_0", Value: 16777216}, + {Name: "SC_RCV_B7_1", Value: 33554432}, + {Name: "SC_RCV_EVNP", Value: 67108864}, + {Name: "SC_RCV_ODDP", Value: 134217728}, {Name: "SC_REJ_COMP_AC", Value: 16}, {Name: "SC_REJ_COMP_TCP", Value: 32}, {Name: "SC_SYNC", Value: 2097152}, @@ -46300,4 +46471,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "24f4f130b90aa6400cba5d7d583eebfe27dfb762" +const revision_arm64 = "d5ff510b64488e830d28225ecbb0f39f6c91fb4a" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index f235ac247..21b3432c0 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -64,6 +64,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "fd_nbd", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_block_trace", "fd_block", "fd_nbd"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_ppp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_ppp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -6389,6 +6390,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"veth\", IFLA_INFO_DATA, veth_policy]"}, FldName: "veth"}, &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"vti\", IFLA_INFO_DATA, array[vti_policy]]"}, FldName: "vti"}, &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"ip6vti\", IFLA_INFO_DATA, array[ip6vti_policy]]"}, FldName: "ip6vti"}, + &StructType{Key: StructKey{Name: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]"}, FldName: "ppp"}, }}}, {Key: StructKey{Name: "ifla_info_policy_t[\"bond\", IFLA_INFO_DATA, array[bond_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"bond\", IFLA_INFO_DATA, array[bond_policy]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"bond\"]]"}, FldName: "IFLA_INFO_KIND"}, @@ -6446,6 +6448,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ipip\"]]"}, FldName: "IFLA_INFO_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[ipip_policy]]"}, FldName: "IFLA_INFO_DATA"}, }}}, + {Key: StructKey{Name: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"ppp\", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]]", TypeSize: 20}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]"}, FldName: "IFLA_INFO_KIND"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]"}, FldName: "IFLA_INFO_DATA"}, + }}}, {Key: StructKey{Name: "ifla_info_policy_t[\"sit\", IFLA_INFO_DATA, array[sit_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_info_policy_t[\"sit\", IFLA_INFO_DATA, array[sit_policy]]", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]"}, FldName: "IFLA_INFO_KIND"}, &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], array[sit_policy]]"}, FldName: "IFLA_INFO_DATA"}, @@ -13222,6 +13228,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], nlattr[IFLA_PPP_DEV_FD, fd]]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_DATA, int16], veth_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_DATA, int16], veth_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, @@ -13304,6 +13315,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 5}, Kind: 2, Values: []string{"ipip\x00"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"ppp\"]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 4}, Kind: 2, Values: []string{"ppp\x00"}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_INFO_KIND, int16], string[\"sit\"]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -13533,6 +13549,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PPP_DEV_FD, int16], fd]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 30}, @@ -16727,6 +16748,10 @@ 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: "npioctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "npioctl", TypeSize: 8}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_proto", FldName: "protocol", TypeSize: 4}}, Vals: []uint64{33, 41, 43, 45, 47, 61, 87, 251, 253, 641, 643, 32801, 32809, 32811, 32855, 33019, 33021, 33021, 49185, 49187, 49189, 49699, 49193}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "NPmode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3}}, + }}}, {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"}, @@ -29580,16 +29605,50 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 19306}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, }}, + {NR: 54, Name: "ioctl$PPPIOCATTACH", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775549}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCATTCHAN", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775544}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCCONNECT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775546}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCDISCONN", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536900665}, + }}, {NR: 54, Name: "ioctl$PPPIOCGCHAN", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033719}, &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$PPPIOCGDEBUG", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033729}, + &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$PPPIOCGFLAGS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033754}, &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$PPPIOCGFLAGS1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033754}, + &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$PPPIOCGIDLE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074820159}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, + }}, {NR: 54, Name: "ioctl$PPPIOCGL2TPSTATS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1078490166}, @@ -29600,16 +29659,75 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033747}, &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$PPPIOCGNPMODE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3221779532}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "npioctl"}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCGUNIT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074033750}, + &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$PPPIOCNEWUNIT", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3221517374}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 4}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSACTIVE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148561990}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sock_fprog"}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSCOMPRESS", CallName: "ioctl", MissingArgs: 1, Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148561997}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSDEBUG", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775552}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, {NR: 54, Name: "ioctl$PPPIOCSFLAGS", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775577}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304}, BitMask: true}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 134217728}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSFLAGS1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775577}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ppp_flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 16777216, 33554432, 67108864, 134217728}, BitMask: true}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSMAXCID", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775569}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSMRRU", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775547}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, }}, {NR: 54, Name: "ioctl$PPPIOCSMRU", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppox", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775570}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, }}, + {NR: 54, Name: "ioctl$PPPIOCSMRU1", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147775570}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSNPMODE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148037707}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "npioctl"}}}, + }}, + {NR: 54, Name: "ioctl$PPPIOCSPASS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148561991}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sock_fprog"}}}, + }}, {NR: 54, Name: "ioctl$PPPOEIOCDFWD", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppoe", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536916225}, @@ -32392,7 +32510,7 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 9}, Kind: 2, Values: []string{"/dev/ppp\x00"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 131072, 16384, 128, 65536, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 286, Name: "openat$proc_capi20", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 18}, Kind: 2, Values: []string{"/proc/capi/capi20\x00"}}}, @@ -37591,6 +37709,11 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "nbd_reply"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Buf: "data"}, }}, + {NR: 4, Name: "write$ppp", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_ppp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 4, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -39469,6 +39592,7 @@ var consts_ppc64le = []ConstValue{ {Name: "IFLA_PORT_REQUEST", Value: 6}, {Name: "IFLA_PORT_SELF", Value: 25}, {Name: "IFLA_PORT_VF", Value: 1}, + {Name: "IFLA_PPP_DEV_FD", Value: 1}, {Name: "IFLA_PROMISCUITY", Value: 30}, {Name: "IFLA_PROTO_DOWN", Value: 39}, {Name: "IFLA_STATS_AF_SPEC", Value: 5}, @@ -40745,6 +40869,10 @@ var consts_ppc64le = []ConstValue{ {Name: "NLM_F_ROOT", Value: 256}, {Name: "NMAGIC", Value: 264}, {Name: "NO_CLIENT"}, + {Name: "NPMODE_DROP", Value: 1}, + {Name: "NPMODE_ERROR", Value: 2}, + {Name: "NPMODE_PASS"}, + {Name: "NPMODE_QUEUE", Value: 3}, {Name: "NTF_EXT_LEARNED", Value: 16}, {Name: "NTF_MASTER", Value: 4}, {Name: "NTF_OFFLOADED", Value: 32}, @@ -41061,12 +41189,28 @@ var consts_ppc64le = []ConstValue{ {Name: "POSIX_FADV_RANDOM", Value: 1}, {Name: "POSIX_FADV_SEQUENTIAL", Value: 2}, {Name: "POSIX_FADV_WILLNEED", Value: 3}, + {Name: "PPPIOCATTACH", Value: 2147775549}, + {Name: "PPPIOCATTCHAN", Value: 2147775544}, + {Name: "PPPIOCCONNECT", Value: 2147775546}, + {Name: "PPPIOCDISCONN", Value: 536900665}, {Name: "PPPIOCGCHAN", Value: 1074033719}, + {Name: "PPPIOCGDEBUG", Value: 1074033729}, {Name: "PPPIOCGFLAGS", Value: 1074033754}, + {Name: "PPPIOCGIDLE", Value: 1074820159}, {Name: "PPPIOCGL2TPSTATS", Value: 1078490166}, {Name: "PPPIOCGMRU", Value: 1074033747}, + {Name: "PPPIOCGNPMODE", Value: 3221779532}, + {Name: "PPPIOCGUNIT", Value: 1074033750}, + {Name: "PPPIOCNEWUNIT", Value: 3221517374}, + {Name: "PPPIOCSACTIVE", Value: 2148561990}, + {Name: "PPPIOCSCOMPRESS", Value: 2148561997}, + {Name: "PPPIOCSDEBUG", Value: 2147775552}, {Name: "PPPIOCSFLAGS", Value: 2147775577}, + {Name: "PPPIOCSMAXCID", Value: 2147775569}, + {Name: "PPPIOCSMRRU", Value: 2147775547}, {Name: "PPPIOCSMRU", Value: 2147775570}, + {Name: "PPPIOCSNPMODE", Value: 2148037707}, + {Name: "PPPIOCSPASS", Value: 2148561991}, {Name: "PPPOEIOCDFWD", Value: 536916225}, {Name: "PPPOEIOCSFWD", Value: 2148053248}, {Name: "PPPOL2TP_SO_DEBUG", Value: 1}, @@ -41074,6 +41218,29 @@ var consts_ppc64le = []ConstValue{ {Name: "PPPOL2TP_SO_RECVSEQ", Value: 2}, {Name: "PPPOL2TP_SO_REORDERTO", Value: 5}, {Name: "PPPOL2TP_SO_SENDSEQ", Value: 3}, + {Name: "PPP_AT", Value: 41}, + {Name: "PPP_ATCP", Value: 32809}, + {Name: "PPP_CBCP", Value: 49193}, + {Name: "PPP_CCP", Value: 33021}, + {Name: "PPP_CCPFRAG", Value: 33019}, + {Name: "PPP_CHAP", Value: 49699}, + {Name: "PPP_COMP", Value: 253}, + {Name: "PPP_COMPFRAG", Value: 251}, + {Name: "PPP_IP", Value: 33}, + {Name: "PPP_IPCP", Value: 32801}, + {Name: "PPP_IPV6", Value: 87}, + {Name: "PPP_IPV6CP", Value: 32855}, + {Name: "PPP_IPX", Value: 43}, + {Name: "PPP_IPXCP", Value: 32811}, + {Name: "PPP_LCP", Value: 49185}, + {Name: "PPP_LQR", Value: 49189}, + {Name: "PPP_MP", Value: 61}, + {Name: "PPP_MPLSCP", Value: 33021}, + {Name: "PPP_MPLS_MC", Value: 643}, + {Name: "PPP_MPLS_UC", Value: 641}, + {Name: "PPP_PAP", Value: 49187}, + {Name: "PPP_VJC_COMP", Value: 45}, + {Name: "PPP_VJC_UNCOMP", Value: 47}, {Name: "PRIO_PGRP", Value: 1}, {Name: "PRIO_PROCESS"}, {Name: "PRIO_USER", Value: 2}, @@ -41667,6 +41834,10 @@ var consts_ppc64le = []ConstValue{ {Name: "SC_MULTILINK", Value: 1024}, {Name: "SC_MUST_COMP", Value: 4194304}, {Name: "SC_NO_TCP_CCID", Value: 8}, + {Name: "SC_RCV_B7_0", Value: 16777216}, + {Name: "SC_RCV_B7_1", Value: 33554432}, + {Name: "SC_RCV_EVNP", Value: 67108864}, + {Name: "SC_RCV_ODDP", Value: 134217728}, {Name: "SC_REJ_COMP_AC", Value: 16}, {Name: "SC_REJ_COMP_TCP", Value: 32}, {Name: "SC_SYNC", Value: 2097152}, @@ -43658,4 +43829,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "25cb9525176dffb7fb13394435cf760d3a50fe65" +const revision_ppc64le = "2fdcd443045495b8b9a58f75296652d86530db67" diff --git a/sys/linux/ppp.txt b/sys/linux/ppp.txt new file mode 100644 index 000000000..2d1f9249a --- /dev/null +++ b/sys/linux/ppp.txt @@ -0,0 +1,45 @@ +# 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/ioctl.h> +include <uapi/linux/filter.h> +include <uapi/linux/ppp-ioctl.h> +include <uapi/linux/ppp_defs.h> + +resource fd_ppp[fd] +# TODO: what is this? +type ppp_unit int32[0:4] + +openat$ppp(fd const[AT_FDCWD], file ptr[in, string["/dev/ppp"]], flags flags[open_flags], mode const[0]) fd_ppp +write$ppp(fd fd_ppp, data ptr[in, ppp_packet], size bytesize[data]) + +ioctl$PPPIOCNEWUNIT(fd fd_ppp, cmd const[PPPIOCNEWUNIT], arg ptr[in, ppp_unit]) +ioctl$PPPIOCATTACH(fd fd_ppp, cmd const[PPPIOCATTACH], arg ptr[in, ppp_unit]) +ioctl$PPPIOCATTCHAN(fd fd_ppp, cmd const[PPPIOCATTCHAN], arg ptr[in, ppp_unit]) +ioctl$PPPIOCCONNECT(fd fd_ppp, cmd const[PPPIOCCONNECT], arg ptr[in, ppp_unit]) +ioctl$PPPIOCDISCONN(fd fd_ppp, cmd const[PPPIOCDISCONN]) +ioctl$PPPIOCSCOMPRESS(fd fd_ppp, cmd const[PPPIOCSCOMPRESS]) +ioctl$PPPIOCGUNIT(fd fd_ppp, cmd const[PPPIOCGUNIT], arg ptr[out, int32]) +ioctl$PPPIOCSDEBUG(fd fd_ppp, cmd const[PPPIOCSDEBUG], arg ptr[in, int32]) +ioctl$PPPIOCGDEBUG(fd fd_ppp, cmd const[PPPIOCGDEBUG], arg ptr[out, int32]) +ioctl$PPPIOCGIDLE(fd fd_ppp, cmd const[PPPIOCGIDLE], arg ptr[out, array[int64, 2]]) +ioctl$PPPIOCSMAXCID(fd fd_ppp, cmd const[PPPIOCSMAXCID], arg ptr[in, int32]) +ioctl$PPPIOCGNPMODE(fd fd_ppp, cmd const[PPPIOCGNPMODE], arg ptr[in, npioctl]) +ioctl$PPPIOCSNPMODE(fd fd_ppp, cmd const[PPPIOCSNPMODE], arg ptr[in, npioctl]) +ioctl$PPPIOCSPASS(fd fd_ppp, cmd const[PPPIOCSPASS], arg ptr[in, sock_fprog]) +ioctl$PPPIOCSACTIVE(fd fd_ppp, cmd const[PPPIOCSACTIVE], arg ptr[in, sock_fprog]) +ioctl$PPPIOCSMRRU(fd fd_ppp, cmd const[PPPIOCSMRRU], arg ptr[in, int32]) + +# TODO: these ioctl's are also defined for sock_pppox. +# We need multiple inheritance here (#322). +ioctl$PPPIOCSMRU1(fd fd_ppp, cmd const[PPPIOCSMRU], arg ptr[in, int32]) +ioctl$PPPIOCSFLAGS1(fd fd_ppp, cmd const[PPPIOCSFLAGS], arg ptr[in, flags[ppp_flags, int32]]) +ioctl$PPPIOCGFLAGS1(fd fd_ppp, cmd const[PPPIOCGFLAGS], arg ptr[out, int32]) + +ppp_proto = PPP_IP, PPP_AT, PPP_IPX, PPP_VJC_COMP, PPP_VJC_UNCOMP, PPP_MP, PPP_IPV6, PPP_COMPFRAG, PPP_COMP, PPP_MPLS_UC, PPP_MPLS_MC, PPP_IPCP, PPP_ATCP, PPP_IPXCP, PPP_IPV6CP, PPP_CCPFRAG, PPP_CCP, PPP_MPLSCP, PPP_LCP, PPP_PAP, PPP_LQR, PPP_CHAP, PPP_CBCP +NPmode = NPMODE_PASS, NPMODE_DROP, NPMODE_ERROR, NPMODE_QUEUE + +npioctl { + protocol flags[ppp_proto, int32] + mode flags[NPmode, int32] +} diff --git a/sys/linux/ppp_386.const b/sys/linux/ppp_386.const new file mode 100644 index 000000000..662fb0f35 --- /dev/null +++ b/sys/linux/ppp_386.const @@ -0,0 +1,51 @@ +# AUTOGENERATED FILE +# AT_FDCWD is not set +NPMODE_DROP = 1 +NPMODE_ERROR = 2 +NPMODE_PASS = 0 +NPMODE_QUEUE = 3 +PPPIOCATTACH = 1074033725 +PPPIOCATTCHAN = 1074033720 +PPPIOCCONNECT = 1074033722 +PPPIOCDISCONN = 29753 +PPPIOCGDEBUG = 2147775553 +PPPIOCGFLAGS = 2147775578 +PPPIOCGIDLE = 2148037695 +PPPIOCGNPMODE = 3221779532 +PPPIOCGUNIT = 2147775574 +PPPIOCNEWUNIT = 3221517374 +PPPIOCSACTIVE = 1074295878 +PPPIOCSCOMPRESS = 1074558029 +PPPIOCSDEBUG = 1074033728 +PPPIOCSFLAGS = 1074033753 +PPPIOCSMAXCID = 1074033745 +PPPIOCSMRRU = 1074033723 +PPPIOCSMRU = 1074033746 +PPPIOCSNPMODE = 1074295883 +PPPIOCSPASS = 1074295879 +PPP_AT = 41 +PPP_ATCP = 32809 +PPP_CBCP = 49193 +PPP_CCP = 33021 +PPP_CCPFRAG = 33019 +PPP_CHAP = 49699 +PPP_COMP = 253 +PPP_COMPFRAG = 251 +PPP_IP = 33 +PPP_IPCP = 32801 +PPP_IPV6 = 87 +PPP_IPV6CP = 32855 +PPP_IPX = 43 +PPP_IPXCP = 32811 +PPP_LCP = 49185 +PPP_LQR = 49189 +PPP_MP = 61 +PPP_MPLSCP = 33021 +PPP_MPLS_MC = 643 +PPP_MPLS_UC = 641 +PPP_PAP = 49187 +PPP_VJC_COMP = 45 +PPP_VJC_UNCOMP = 47 +__NR_ioctl = 54 +__NR_openat = 295 +__NR_write = 4 diff --git a/sys/linux/ppp_amd64.const b/sys/linux/ppp_amd64.const new file mode 100644 index 000000000..451617c87 --- /dev/null +++ b/sys/linux/ppp_amd64.const @@ -0,0 +1,51 @@ +# AUTOGENERATED FILE +# AT_FDCWD is not set +NPMODE_DROP = 1 +NPMODE_ERROR = 2 +NPMODE_PASS = 0 +NPMODE_QUEUE = 3 +PPPIOCATTACH = 1074033725 +PPPIOCATTCHAN = 1074033720 +PPPIOCCONNECT = 1074033722 +PPPIOCDISCONN = 29753 +PPPIOCGDEBUG = 2147775553 +PPPIOCGFLAGS = 2147775578 +PPPIOCGIDLE = 2148561983 +PPPIOCGNPMODE = 3221779532 +PPPIOCGUNIT = 2147775574 +PPPIOCNEWUNIT = 3221517374 +PPPIOCSACTIVE = 1074820166 +PPPIOCSCOMPRESS = 1074820173 +PPPIOCSDEBUG = 1074033728 +PPPIOCSFLAGS = 1074033753 +PPPIOCSMAXCID = 1074033745 +PPPIOCSMRRU = 1074033723 +PPPIOCSMRU = 1074033746 +PPPIOCSNPMODE = 1074295883 +PPPIOCSPASS = 1074820167 +PPP_AT = 41 +PPP_ATCP = 32809 +PPP_CBCP = 49193 +PPP_CCP = 33021 +PPP_CCPFRAG = 33019 +PPP_CHAP = 49699 +PPP_COMP = 253 +PPP_COMPFRAG = 251 +PPP_IP = 33 +PPP_IPCP = 32801 +PPP_IPV6 = 87 +PPP_IPV6CP = 32855 +PPP_IPX = 43 +PPP_IPXCP = 32811 +PPP_LCP = 49185 +PPP_LQR = 49189 +PPP_MP = 61 +PPP_MPLSCP = 33021 +PPP_MPLS_MC = 643 +PPP_MPLS_UC = 641 +PPP_PAP = 49187 +PPP_VJC_COMP = 45 +PPP_VJC_UNCOMP = 47 +__NR_ioctl = 16 +__NR_openat = 257 +__NR_write = 1 diff --git a/sys/linux/ppp_arm.const b/sys/linux/ppp_arm.const new file mode 100644 index 000000000..ddeb9ee94 --- /dev/null +++ b/sys/linux/ppp_arm.const @@ -0,0 +1,51 @@ +# AUTOGENERATED FILE +# AT_FDCWD is not set +NPMODE_DROP = 1 +NPMODE_ERROR = 2 +NPMODE_PASS = 0 +NPMODE_QUEUE = 3 +PPPIOCATTACH = 1074033725 +PPPIOCATTCHAN = 1074033720 +PPPIOCCONNECT = 1074033722 +PPPIOCDISCONN = 29753 +PPPIOCGDEBUG = 2147775553 +PPPIOCGFLAGS = 2147775578 +PPPIOCGIDLE = 2148037695 +PPPIOCGNPMODE = 3221779532 +PPPIOCGUNIT = 2147775574 +PPPIOCNEWUNIT = 3221517374 +PPPIOCSACTIVE = 1074295878 +PPPIOCSCOMPRESS = 1074558029 +PPPIOCSDEBUG = 1074033728 +PPPIOCSFLAGS = 1074033753 +PPPIOCSMAXCID = 1074033745 +PPPIOCSMRRU = 1074033723 +PPPIOCSMRU = 1074033746 +PPPIOCSNPMODE = 1074295883 +PPPIOCSPASS = 1074295879 +PPP_AT = 41 +PPP_ATCP = 32809 +PPP_CBCP = 49193 +PPP_CCP = 33021 +PPP_CCPFRAG = 33019 +PPP_CHAP = 49699 +PPP_COMP = 253 +PPP_COMPFRAG = 251 +PPP_IP = 33 +PPP_IPCP = 32801 +PPP_IPV6 = 87 +PPP_IPV6CP = 32855 +PPP_IPX = 43 +PPP_IPXCP = 32811 +PPP_LCP = 49185 +PPP_LQR = 49189 +PPP_MP = 61 +PPP_MPLSCP = 33021 +PPP_MPLS_MC = 643 +PPP_MPLS_UC = 641 +PPP_PAP = 49187 +PPP_VJC_COMP = 45 +PPP_VJC_UNCOMP = 47 +__NR_ioctl = 54 +__NR_openat = 322 +__NR_write = 4 diff --git a/sys/linux/ppp_arm64.const b/sys/linux/ppp_arm64.const new file mode 100644 index 000000000..c147127a5 --- /dev/null +++ b/sys/linux/ppp_arm64.const @@ -0,0 +1,51 @@ +# AUTOGENERATED FILE +# AT_FDCWD is not set +NPMODE_DROP = 1 +NPMODE_ERROR = 2 +NPMODE_PASS = 0 +NPMODE_QUEUE = 3 +PPPIOCATTACH = 1074033725 +PPPIOCATTCHAN = 1074033720 +PPPIOCCONNECT = 1074033722 +PPPIOCDISCONN = 29753 +PPPIOCGDEBUG = 2147775553 +PPPIOCGFLAGS = 2147775578 +PPPIOCGIDLE = 2148561983 +PPPIOCGNPMODE = 3221779532 +PPPIOCGUNIT = 2147775574 +PPPIOCNEWUNIT = 3221517374 +PPPIOCSACTIVE = 1074820166 +PPPIOCSCOMPRESS = 1074820173 +PPPIOCSDEBUG = 1074033728 +PPPIOCSFLAGS = 1074033753 +PPPIOCSMAXCID = 1074033745 +PPPIOCSMRRU = 1074033723 +PPPIOCSMRU = 1074033746 +PPPIOCSNPMODE = 1074295883 +PPPIOCSPASS = 1074820167 +PPP_AT = 41 +PPP_ATCP = 32809 +PPP_CBCP = 49193 +PPP_CCP = 33021 +PPP_CCPFRAG = 33019 +PPP_CHAP = 49699 +PPP_COMP = 253 +PPP_COMPFRAG = 251 +PPP_IP = 33 +PPP_IPCP = 32801 +PPP_IPV6 = 87 +PPP_IPV6CP = 32855 +PPP_IPX = 43 +PPP_IPXCP = 32811 +PPP_LCP = 49185 +PPP_LQR = 49189 +PPP_MP = 61 +PPP_MPLSCP = 33021 +PPP_MPLS_MC = 643 +PPP_MPLS_UC = 641 +PPP_PAP = 49187 +PPP_VJC_COMP = 45 +PPP_VJC_UNCOMP = 47 +__NR_ioctl = 29 +__NR_openat = 56 +__NR_write = 64 diff --git a/sys/linux/ppp_ppc64le.const b/sys/linux/ppp_ppc64le.const new file mode 100644 index 000000000..4bab4e32f --- /dev/null +++ b/sys/linux/ppp_ppc64le.const @@ -0,0 +1,51 @@ +# AUTOGENERATED FILE +# AT_FDCWD is not set +NPMODE_DROP = 1 +NPMODE_ERROR = 2 +NPMODE_PASS = 0 +NPMODE_QUEUE = 3 +PPPIOCATTACH = 2147775549 +PPPIOCATTCHAN = 2147775544 +PPPIOCCONNECT = 2147775546 +PPPIOCDISCONN = 536900665 +PPPIOCGDEBUG = 1074033729 +PPPIOCGFLAGS = 1074033754 +PPPIOCGIDLE = 1074820159 +PPPIOCGNPMODE = 3221779532 +PPPIOCGUNIT = 1074033750 +PPPIOCNEWUNIT = 3221517374 +PPPIOCSACTIVE = 2148561990 +PPPIOCSCOMPRESS = 2148561997 +PPPIOCSDEBUG = 2147775552 +PPPIOCSFLAGS = 2147775577 +PPPIOCSMAXCID = 2147775569 +PPPIOCSMRRU = 2147775547 +PPPIOCSMRU = 2147775570 +PPPIOCSNPMODE = 2148037707 +PPPIOCSPASS = 2148561991 +PPP_AT = 41 +PPP_ATCP = 32809 +PPP_CBCP = 49193 +PPP_CCP = 33021 +PPP_CCPFRAG = 33019 +PPP_CHAP = 49699 +PPP_COMP = 253 +PPP_COMPFRAG = 251 +PPP_IP = 33 +PPP_IPCP = 32801 +PPP_IPV6 = 87 +PPP_IPV6CP = 32855 +PPP_IPX = 43 +PPP_IPXCP = 32811 +PPP_LCP = 49185 +PPP_LQR = 49189 +PPP_MP = 61 +PPP_MPLSCP = 33021 +PPP_MPLS_MC = 643 +PPP_MPLS_UC = 641 +PPP_PAP = 49187 +PPP_VJC_COMP = 45 +PPP_VJC_UNCOMP = 47 +__NR_ioctl = 54 +__NR_openat = 286 +__NR_write = 4 diff --git a/sys/linux/socket_netlink_route.txt b/sys/linux/socket_netlink_route.txt index c47adb0fa..9eb3d9978 100644 --- a/sys/linux/socket_netlink_route.txt +++ b/sys/linux/socket_netlink_route.txt @@ -212,6 +212,8 @@ ifla_info_policy [ veth ifla_info_policy_t["veth", IFLA_INFO_DATA, veth_policy] vti ifla_info_policy_t["vti", IFLA_INFO_DATA, array[vti_policy]] ip6vti ifla_info_policy_t["ip6vti", IFLA_INFO_DATA, array[ip6vti_policy]] +# TODO: this should be a net device fd. How does one even obtain these? + ppp ifla_info_policy_t["ppp", IFLA_INFO_DATA, nlattr[IFLA_PPP_DEV_FD, fd]] ] [varlen] bond_policy [ diff --git a/sys/linux/socket_netlink_route_386.const b/sys/linux/socket_netlink_route_386.const index e95b7c8a2..34c6829a8 100644 --- a/sys/linux/socket_netlink_route_386.const +++ b/sys/linux/socket_netlink_route_386.const @@ -245,6 +245,7 @@ IFLA_PORT_PROFILE = 2 IFLA_PORT_REQUEST = 6 IFLA_PORT_SELF = 25 IFLA_PORT_VF = 1 +IFLA_PPP_DEV_FD = 1 IFLA_PROMISCUITY = 30 IFLA_PROTO_DOWN = 39 IFLA_STATS_AF_SPEC = 5 diff --git a/sys/linux/socket_netlink_route_amd64.const b/sys/linux/socket_netlink_route_amd64.const index 3c504da80..2422eaceb 100644 --- a/sys/linux/socket_netlink_route_amd64.const +++ b/sys/linux/socket_netlink_route_amd64.const @@ -245,6 +245,7 @@ IFLA_PORT_PROFILE = 2 IFLA_PORT_REQUEST = 6 IFLA_PORT_SELF = 25 IFLA_PORT_VF = 1 +IFLA_PPP_DEV_FD = 1 IFLA_PROMISCUITY = 30 IFLA_PROTO_DOWN = 39 IFLA_STATS_AF_SPEC = 5 diff --git a/sys/linux/socket_netlink_route_arm.const b/sys/linux/socket_netlink_route_arm.const index d983c545a..6cb8989d0 100644 --- a/sys/linux/socket_netlink_route_arm.const +++ b/sys/linux/socket_netlink_route_arm.const @@ -245,6 +245,7 @@ IFLA_PORT_PROFILE = 2 IFLA_PORT_REQUEST = 6 IFLA_PORT_SELF = 25 IFLA_PORT_VF = 1 +IFLA_PPP_DEV_FD = 1 IFLA_PROMISCUITY = 30 IFLA_PROTO_DOWN = 39 IFLA_STATS_AF_SPEC = 5 diff --git a/sys/linux/socket_netlink_route_arm64.const b/sys/linux/socket_netlink_route_arm64.const index 39206e9ac..8346d6c88 100644 --- a/sys/linux/socket_netlink_route_arm64.const +++ b/sys/linux/socket_netlink_route_arm64.const @@ -245,6 +245,7 @@ IFLA_PORT_PROFILE = 2 IFLA_PORT_REQUEST = 6 IFLA_PORT_SELF = 25 IFLA_PORT_VF = 1 +IFLA_PPP_DEV_FD = 1 IFLA_PROMISCUITY = 30 IFLA_PROTO_DOWN = 39 IFLA_STATS_AF_SPEC = 5 diff --git a/sys/linux/socket_netlink_route_ppc64le.const b/sys/linux/socket_netlink_route_ppc64le.const index 2ab6aa6d9..7f23f42fe 100644 --- a/sys/linux/socket_netlink_route_ppc64le.const +++ b/sys/linux/socket_netlink_route_ppc64le.const @@ -245,6 +245,7 @@ IFLA_PORT_PROFILE = 2 IFLA_PORT_REQUEST = 6 IFLA_PORT_SELF = 25 IFLA_PORT_VF = 1 +IFLA_PPP_DEV_FD = 1 IFLA_PROMISCUITY = 30 IFLA_PROTO_DOWN = 39 IFLA_STATS_AF_SPEC = 5 diff --git a/sys/linux/socket_pppox.txt b/sys/linux/socket_pppox.txt index 2fd98c772..bf59bad7c 100644 --- a/sys/linux/socket_pppox.txt +++ b/sys/linux/socket_pppox.txt @@ -127,4 +127,4 @@ pptp_addr { sin_addr ipv4_addr } -ppp_flags = SC_COMP_PROT, SC_COMP_AC, SC_COMP_TCP, SC_NO_TCP_CCID, SC_REJ_COMP_AC, SC_REJ_COMP_TCP, SC_CCP_OPEN, SC_CCP_UP, SC_ENABLE_IP, SC_LOOP_TRAFFIC, SC_MULTILINK, SC_MP_SHORTSEQ, SC_COMP_RUN, SC_DECOMP_RUN, SC_MP_XSHORTSEQ, SC_DEBUG, SC_LOG_INPKT, SC_LOG_OUTPKT, SC_LOG_RAWIN, SC_LOG_FLUSH, SC_SYNC, SC_MUST_COMP +ppp_flags = SC_COMP_PROT, SC_COMP_AC, SC_COMP_TCP, SC_NO_TCP_CCID, SC_REJ_COMP_AC, SC_REJ_COMP_TCP, SC_CCP_OPEN, SC_CCP_UP, SC_ENABLE_IP, SC_LOOP_TRAFFIC, SC_MULTILINK, SC_MP_SHORTSEQ, SC_COMP_RUN, SC_DECOMP_RUN, SC_MP_XSHORTSEQ, SC_DEBUG, SC_LOG_INPKT, SC_LOG_OUTPKT, SC_LOG_RAWIN, SC_LOG_FLUSH, SC_SYNC, SC_MUST_COMP, SC_RCV_B7_0, SC_RCV_B7_1, SC_RCV_EVNP, SC_RCV_ODDP diff --git a/sys/linux/socket_pppox_386.const b/sys/linux/socket_pppox_386.const index bbc23ec07..702908632 100644 --- a/sys/linux/socket_pppox_386.const +++ b/sys/linux/socket_pppox_386.const @@ -35,6 +35,10 @@ SC_MP_XSHORTSEQ = 16384 SC_MULTILINK = 1024 SC_MUST_COMP = 4194304 SC_NO_TCP_CCID = 8 +SC_RCV_B7_0 = 16777216 +SC_RCV_B7_1 = 33554432 +SC_RCV_EVNP = 67108864 +SC_RCV_ODDP = 134217728 SC_REJ_COMP_AC = 16 SC_REJ_COMP_TCP = 32 SC_SYNC = 2097152 diff --git a/sys/linux/socket_pppox_amd64.const b/sys/linux/socket_pppox_amd64.const index 2826c6d86..9315cae4f 100644 --- a/sys/linux/socket_pppox_amd64.const +++ b/sys/linux/socket_pppox_amd64.const @@ -35,6 +35,10 @@ SC_MP_XSHORTSEQ = 16384 SC_MULTILINK = 1024 SC_MUST_COMP = 4194304 SC_NO_TCP_CCID = 8 +SC_RCV_B7_0 = 16777216 +SC_RCV_B7_1 = 33554432 +SC_RCV_EVNP = 67108864 +SC_RCV_ODDP = 134217728 SC_REJ_COMP_AC = 16 SC_REJ_COMP_TCP = 32 SC_SYNC = 2097152 diff --git a/sys/linux/socket_pppox_arm.const b/sys/linux/socket_pppox_arm.const index 2a1d37961..8ae44f8a5 100644 --- a/sys/linux/socket_pppox_arm.const +++ b/sys/linux/socket_pppox_arm.const @@ -35,6 +35,10 @@ SC_MP_XSHORTSEQ = 16384 SC_MULTILINK = 1024 SC_MUST_COMP = 4194304 SC_NO_TCP_CCID = 8 +SC_RCV_B7_0 = 16777216 +SC_RCV_B7_1 = 33554432 +SC_RCV_EVNP = 67108864 +SC_RCV_ODDP = 134217728 SC_REJ_COMP_AC = 16 SC_REJ_COMP_TCP = 32 SC_SYNC = 2097152 diff --git a/sys/linux/socket_pppox_arm64.const b/sys/linux/socket_pppox_arm64.const index e5fe04a7c..61a544b58 100644 --- a/sys/linux/socket_pppox_arm64.const +++ b/sys/linux/socket_pppox_arm64.const @@ -35,6 +35,10 @@ SC_MP_XSHORTSEQ = 16384 SC_MULTILINK = 1024 SC_MUST_COMP = 4194304 SC_NO_TCP_CCID = 8 +SC_RCV_B7_0 = 16777216 +SC_RCV_B7_1 = 33554432 +SC_RCV_EVNP = 67108864 +SC_RCV_ODDP = 134217728 SC_REJ_COMP_AC = 16 SC_REJ_COMP_TCP = 32 SC_SYNC = 2097152 diff --git a/sys/linux/socket_pppox_ppc64le.const b/sys/linux/socket_pppox_ppc64le.const index e8ad720c2..e9478135b 100644 --- a/sys/linux/socket_pppox_ppc64le.const +++ b/sys/linux/socket_pppox_ppc64le.const @@ -35,6 +35,10 @@ SC_MP_XSHORTSEQ = 16384 SC_MULTILINK = 1024 SC_MUST_COMP = 4194304 SC_NO_TCP_CCID = 8 +SC_RCV_B7_0 = 16777216 +SC_RCV_B7_1 = 33554432 +SC_RCV_EVNP = 67108864 +SC_RCV_ODDP = 134217728 SC_REJ_COMP_AC = 16 SC_REJ_COMP_TCP = 32 SC_SYNC = 2097152 diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index 90773be49..8b675517b 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -477,7 +477,6 @@ openat$vga_arbiter(fd const[AT_FDCWD], file ptr[in, string["/dev/vga_arbiter"]], openat$rtc(fd const[AT_FDCWD], file ptr[in, string["/dev/rtc0"]], flags flags[open_flags], mode const[0]) fd openat$rfkill(fd const[AT_FDCWD], file ptr[in, string["/dev/rfkill"]], flags flags[open_flags], mode const[0]) fd openat$qat_adf_ctl(fd const[AT_FDCWD], file ptr[in, string["/dev/qat_adf_ctl"]], flags flags[open_flags], mode const[0]) fd -openat$ppp(fd const[AT_FDCWD], file ptr[in, string["/dev/ppp"]], flags flags[open_flags], mode const[0]) fd openat$mixer(fd const[AT_FDCWD], file ptr[in, string["/dev/mixer"]], flags flags[open_flags], mode const[0]) fd openat$irnet(fd const[AT_FDCWD], file ptr[in, string["/dev/irnet"]], flags flags[open_flags], mode const[0]) fd openat$hwrng(fd const[AT_FDCWD], file ptr[in, string["/dev/hwrng"]], flags flags[open_flags], mode const[0]) fd |
