diff options
Diffstat (limited to 'sys/linux/gen/mips64le.go')
| -rw-r--r-- | sys/linux/gen/mips64le.go | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go index e439d432d..df99105bb 100644 --- a/sys/linux/gen/mips64le.go +++ b/sys/linux/gen/mips64le.go @@ -38,6 +38,7 @@ var resources_mips64le = []*ResourceDesc{ {Name: "fd_binder", Kind: []string{"fd", "fd_binder"}, Values: []uint64{18446744073709551615}}, {Name: "fd_block", Kind: []string{"fd", "fd_block_trace", "fd_block"}, Values: []uint64{18446744073709551615}}, {Name: "fd_block_trace", Kind: []string{"fd", "fd_block_trace"}, Values: []uint64{18446744073709551615}}, + {Name: "fd_bpf_link", Kind: []string{"fd", "fd_bpf_link"}, Values: []uint64{18446744073709551615}}, {Name: "fd_bpf_map", Kind: []string{"fd", "fd_bpf_map"}, Values: []uint64{18446744073709551615, 1}}, {Name: "fd_bpf_prog", Kind: []string{"fd", "fd_bpf_prog"}, Values: []uint64{18446744073709551615}}, {Name: "fd_btf", Kind: []string{"fd", "fd_btf"}, Values: []uint64{18446744073709551615}}, @@ -1411,6 +1412,18 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "line_off", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "line_col", TypeSize: 4}}}, }}}, + {StructKey{Name: "bpf_link_create_arg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_link_create_arg", TypeSize: 16}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "prog_fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_cgroup", FldName: "target_fd", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_attach_types_link_create", FldName: "attach_type", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}}, + }}}, + {StructKey{Name: "bpf_link_update_arg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_link_update_arg", TypeSize: 16}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_link", FldName: "link_fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "new_prog_fd", TypeSize: 4}}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_link_update_flags", FldName: "flags", TypeSize: 4}}, []uint64{4}, true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "old_prog_fd", TypeSize: 4}}, + }}}, {StructKey{Name: "bpf_map_batch_arg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_map_batch_arg", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon{TypeName: "ptr64", FldName: "in_batch", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &PtrType{TypeCommon{TypeName: "ptr64", FldName: "out_batch", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -49684,6 +49697,16 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "bpf_get_prog_info_arg"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"arg"}}, }}, + {NR: 5315, Name: "bpf$BPF_LINK_CREATE", CallName: "bpf", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 28}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "bpf_link_create_arg"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"arg"}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_link", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 5315, Name: "bpf$BPF_LINK_UPDATE", CallName: "bpf", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 29}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "bpf_link_update_arg"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"arg"}}, + }}, {NR: 5315, Name: "bpf$BPF_MAP_FREEZE", CallName: "bpf", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 22}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_map", TypeSize: 4}}}, @@ -67083,6 +67106,8 @@ var consts_mips64le = []ConstValue{ {Name: "BPF_LD"}, {"BPF_LDX", 1}, {"BPF_LINE_INFO_SIZE", 16}, + {"BPF_LINK_CREATE", 28}, + {"BPF_LINK_UPDATE", 29}, {"BPF_LIRC_MODE2", 16}, {"BPF_LSH0", 6}, {"BPF_LSM_MAC", 27}, @@ -75640,4 +75665,4 @@ var consts_mips64le = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_mips64le = "443886bc9231d590efa55b3ba8affda399315b60" +const revision_mips64le = "d894bf0b5099cf647389d29ee95171dc93aa524d" |
