diff options
| author | Shankara Pailoor <shankarapailoor@gmail.com> | 2018-10-29 19:30:58 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-10-30 11:31:42 +0100 |
| commit | 8dbb755a2ec29c46434f3fb35b7bef3aac0c6b3e (patch) | |
| tree | 3f7d87df75a87bb11c6aff27fd5b9f4ee7bed616 /sys/linux/gen | |
| parent | 12b38f22c18c6109a5cc1c0238d015eef121b9b7 (diff) | |
sys/linux: add additional constants for trace2syz to bpf
Fixes #783
Diffstat (limited to 'sys/linux/gen')
| -rw-r--r-- | sys/linux/gen/386.go | 65 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 65 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 65 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 65 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 65 |
5 files changed, 285 insertions, 40 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index f4674cdf2..ecb98dc89 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -794,8 +794,8 @@ var structDescs_386 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_alu_insn", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Vals: []uint64{4, 7}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "code_s", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 1, BitfieldMdl: true}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_alu_op", FldName: "code_op", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, @@ -832,8 +832,8 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Val: 5}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "code_s", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 1, BitfieldMdl: true}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_jmp_op", FldName: "code_op", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, @@ -841,14 +841,14 @@ var structDescs_386 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_insn", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_size", FldName: "code_size", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 2, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_mode", FldName: "code_mode", TypeSize: 1}, BitfieldOff: 5, BitfieldLen: 3}, Vals: []uint64{0, 1, 2, 3, 6}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, {Key: StructKey{Name: "bpf_insn_map"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_map", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 24}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_map", FldName: "imm", TypeSize: 4}}, @@ -35381,16 +35381,22 @@ var consts_386 = []ConstValue{ {Name: "BNEPGETCONNINFO", Value: 2147762899}, {Name: "BNEPGETCONNLIST", Value: 2147762898}, {Name: "BNEPGETSUPPFEAT", Value: 2147762900}, + {Name: "BPF_ABS", Value: 32}, {Name: "BPF_ABS0", Value: 1}, + {Name: "BPF_ADD"}, {Name: "BPF_ADD0"}, {Name: "BPF_ALU", Value: 4}, {Name: "BPF_ALU64", Value: 7}, + {Name: "BPF_AND", Value: 80}, {Name: "BPF_AND0", Value: 5}, {Name: "BPF_ANY"}, + {Name: "BPF_ARSH", Value: 192}, {Name: "BPF_ARSH0", Value: 12}, + {Name: "BPF_B", Value: 16}, {Name: "BPF_B0", Value: 2}, {Name: "BPF_BTF_GET_FD_BY_ID", Value: 19}, {Name: "BPF_BTF_LOAD", Value: 18}, + {Name: "BPF_CALL", Value: 128}, {Name: "BPF_CALL0", Value: 8}, {Name: "BPF_CGROUP_DEVICE", Value: 6}, {Name: "BPF_CGROUP_INET4_BIND", Value: 8}, @@ -35403,11 +35409,17 @@ var consts_386 = []ConstValue{ {Name: "BPF_CGROUP_INET_INGRESS"}, {Name: "BPF_CGROUP_INET_SOCK_CREATE", Value: 2}, {Name: "BPF_CGROUP_SOCK_OPS", Value: 3}, + {Name: "BPF_DIV", Value: 48}, {Name: "BPF_DIV0", Value: 3}, + {Name: "BPF_DW", Value: 24}, {Name: "BPF_DW0", Value: 3}, + {Name: "BPF_END", Value: 208}, {Name: "BPF_END0", Value: 13}, {Name: "BPF_EXIST", Value: 2}, + {Name: "BPF_EXIT", Value: 144}, {Name: "BPF_EXIT0", Value: 9}, + {Name: "BPF_FROM_BE", Value: 8}, + {Name: "BPF_FROM_LE"}, {Name: "BPF_F_ALLOW_MULTI", Value: 2}, {Name: "BPF_F_ALLOW_OVERRIDE", Value: 1}, {Name: "BPF_F_NO_COMMON_LRU", Value: 2}, @@ -35418,24 +35430,42 @@ var consts_386 = []ConstValue{ {Name: "BPF_F_STACK_BUILD_ID", Value: 32}, {Name: "BPF_F_STRICT_ALIGNMENT", Value: 1}, {Name: "BPF_F_WRONLY", Value: 16}, + {Name: "BPF_H", Value: 8}, {Name: "BPF_H0", Value: 1}, + {Name: "BPF_IMM"}, {Name: "BPF_IMM0"}, + {Name: "BPF_IND", Value: 64}, {Name: "BPF_IND0", Value: 2}, + {Name: "BPF_JA"}, {Name: "BPF_JA0"}, + {Name: "BPF_JEQ", Value: 16}, {Name: "BPF_JEQ0", Value: 1}, + {Name: "BPF_JGE", Value: 48}, {Name: "BPF_JGE0", Value: 3}, + {Name: "BPF_JGT", Value: 32}, {Name: "BPF_JGT0", Value: 2}, + {Name: "BPF_JLE", Value: 176}, {Name: "BPF_JLE0", Value: 11}, + {Name: "BPF_JLT", Value: 160}, {Name: "BPF_JLT0", Value: 10}, {Name: "BPF_JMP", Value: 5}, + {Name: "BPF_JNE", Value: 80}, {Name: "BPF_JNE0", Value: 5}, + {Name: "BPF_JSET", Value: 64}, {Name: "BPF_JSET0", Value: 4}, + {Name: "BPF_JSGE", Value: 112}, {Name: "BPF_JSGE0", Value: 7}, + {Name: "BPF_JSGT", Value: 96}, {Name: "BPF_JSGT0", Value: 6}, + {Name: "BPF_JSLE", Value: 208}, {Name: "BPF_JSLE0", Value: 13}, + {Name: "BPF_JSLT", Value: 192}, {Name: "BPF_JSLT0", Value: 12}, + {Name: "BPF_K"}, {Name: "BPF_LD"}, {Name: "BPF_LDX", Value: 1}, + {Name: "BPF_LEN", Value: 128}, + {Name: "BPF_LSH", Value: 96}, {Name: "BPF_LSH0", Value: 6}, {Name: "BPF_MAP_CREATE"}, {Name: "BPF_MAP_DELETE_ELEM", Value: 3}, @@ -35460,16 +35490,24 @@ var consts_386 = []ConstValue{ {Name: "BPF_MAP_TYPE_SOCKMAP", Value: 15}, {Name: "BPF_MAP_TYPE_STACK_TRACE", Value: 7}, {Name: "BPF_MAP_UPDATE_ELEM", Value: 2}, + {Name: "BPF_MEM", Value: 96}, {Name: "BPF_MEM0", Value: 3}, + {Name: "BPF_MISC", Value: 7}, + {Name: "BPF_MOD", Value: 144}, {Name: "BPF_MOD0", Value: 9}, + {Name: "BPF_MOV", Value: 176}, {Name: "BPF_MOV0", Value: 11}, + {Name: "BPF_MSH", Value: 160}, + {Name: "BPF_MUL", Value: 32}, {Name: "BPF_MUL0", Value: 2}, + {Name: "BPF_NEG", Value: 128}, {Name: "BPF_NEG0", Value: 8}, {Name: "BPF_NOEXIST", Value: 1}, {Name: "BPF_OBJ_GET", Value: 7}, {Name: "BPF_OBJ_GET_INFO_BY_FD", Value: 15}, {Name: "BPF_OBJ_NAME_LEN", Value: 16}, {Name: "BPF_OBJ_PIN", Value: 6}, + {Name: "BPF_OR", Value: 64}, {Name: "BPF_OR0", Value: 4}, {Name: "BPF_PROG_ATTACH", Value: 8}, {Name: "BPF_PROG_DETACH", Value: 9}, @@ -35509,16 +35547,25 @@ var consts_386 = []ConstValue{ {Name: "BPF_REG_7", Value: 7}, {Name: "BPF_REG_8", Value: 8}, {Name: "BPF_REG_9", Value: 9}, + {Name: "BPF_RET", Value: 6}, + {Name: "BPF_RSH", Value: 112}, {Name: "BPF_RSH0", Value: 7}, {Name: "BPF_SK_MSG_VERDICT", Value: 7}, {Name: "BPF_SK_SKB_STREAM_PARSER", Value: 4}, {Name: "BPF_SK_SKB_STREAM_VERDICT", Value: 5}, {Name: "BPF_ST", Value: 2}, {Name: "BPF_STX", Value: 3}, + {Name: "BPF_SUB", Value: 16}, {Name: "BPF_SUB0", Value: 1}, {Name: "BPF_TASK_FD_QUERY", Value: 20}, + {Name: "BPF_TO_BE", Value: 8}, + {Name: "BPF_TO_LE"}, + {Name: "BPF_W"}, {Name: "BPF_W0"}, + {Name: "BPF_X", Value: 8}, + {Name: "BPF_XADD", Value: 192}, {Name: "BPF_XADD0", Value: 6}, + {Name: "BPF_XOR", Value: 160}, {Name: "BPF_XOR0", Value: 10}, {Name: "BRCTL_ADD_BRIDGE", Value: 2}, {Name: "BRCTL_DEL_BRIDGE", Value: 3}, @@ -37747,6 +37794,7 @@ var consts_386 = []ConstValue{ {Name: "MASK_PROTO", Value: 1}, {Name: "MASK_ROUTING", Value: 32}, {Name: "MAXGENRELEN", Value: 32}, + {Name: "MAX_BPF_REG", Value: 11}, {Name: "MAX_HEAP_NAME", Value: 32}, {Name: "MAX_IDLETIMER_LABEL_SIZE", Value: 28}, {Name: "MAX_NUM_QUEUE", Value: 4096}, @@ -41527,6 +41575,7 @@ var consts_386 = []ConstValue{ {Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798}, {Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514}, {Name: "__BPF_FUNC_MAX_ID", Value: 91}, + {Name: "__MAX_BPF_REG", Value: 11}, {Name: "__NR_accept4", Value: 364}, {Name: "__NR_acct", Value: 51}, {Name: "__NR_add_key", Value: 286}, @@ -41821,4 +41870,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "04e9cbcb38476060a6fa864496ead5a8919f75f6" +const revision_386 = "7fb5c007b3a5752e0b11efe0cb3c008d97e0ab20" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index fd8321cb2..fa7cc954d 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -802,8 +802,8 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_alu_insn", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Vals: []uint64{4, 7}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "code_s", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 1, BitfieldMdl: true}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_alu_op", FldName: "code_op", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, @@ -840,8 +840,8 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Val: 5}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "code_s", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 1, BitfieldMdl: true}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_jmp_op", FldName: "code_op", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, @@ -849,14 +849,14 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_insn", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_size", FldName: "code_size", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 2, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_mode", FldName: "code_mode", TypeSize: 1}, BitfieldOff: 5, BitfieldLen: 3}, Vals: []uint64{0, 1, 2, 3, 6}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, {Key: StructKey{Name: "bpf_insn_map"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_map", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 24}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_map", FldName: "imm", TypeSize: 4}}, @@ -36059,16 +36059,22 @@ var consts_amd64 = []ConstValue{ {Name: "BNEPGETCONNINFO", Value: 2147762899}, {Name: "BNEPGETCONNLIST", Value: 2147762898}, {Name: "BNEPGETSUPPFEAT", Value: 2147762900}, + {Name: "BPF_ABS", Value: 32}, {Name: "BPF_ABS0", Value: 1}, + {Name: "BPF_ADD"}, {Name: "BPF_ADD0"}, {Name: "BPF_ALU", Value: 4}, {Name: "BPF_ALU64", Value: 7}, + {Name: "BPF_AND", Value: 80}, {Name: "BPF_AND0", Value: 5}, {Name: "BPF_ANY"}, + {Name: "BPF_ARSH", Value: 192}, {Name: "BPF_ARSH0", Value: 12}, + {Name: "BPF_B", Value: 16}, {Name: "BPF_B0", Value: 2}, {Name: "BPF_BTF_GET_FD_BY_ID", Value: 19}, {Name: "BPF_BTF_LOAD", Value: 18}, + {Name: "BPF_CALL", Value: 128}, {Name: "BPF_CALL0", Value: 8}, {Name: "BPF_CGROUP_DEVICE", Value: 6}, {Name: "BPF_CGROUP_INET4_BIND", Value: 8}, @@ -36081,11 +36087,17 @@ var consts_amd64 = []ConstValue{ {Name: "BPF_CGROUP_INET_INGRESS"}, {Name: "BPF_CGROUP_INET_SOCK_CREATE", Value: 2}, {Name: "BPF_CGROUP_SOCK_OPS", Value: 3}, + {Name: "BPF_DIV", Value: 48}, {Name: "BPF_DIV0", Value: 3}, + {Name: "BPF_DW", Value: 24}, {Name: "BPF_DW0", Value: 3}, + {Name: "BPF_END", Value: 208}, {Name: "BPF_END0", Value: 13}, {Name: "BPF_EXIST", Value: 2}, + {Name: "BPF_EXIT", Value: 144}, {Name: "BPF_EXIT0", Value: 9}, + {Name: "BPF_FROM_BE", Value: 8}, + {Name: "BPF_FROM_LE"}, {Name: "BPF_F_ALLOW_MULTI", Value: 2}, {Name: "BPF_F_ALLOW_OVERRIDE", Value: 1}, {Name: "BPF_F_NO_COMMON_LRU", Value: 2}, @@ -36096,24 +36108,42 @@ var consts_amd64 = []ConstValue{ {Name: "BPF_F_STACK_BUILD_ID", Value: 32}, {Name: "BPF_F_STRICT_ALIGNMENT", Value: 1}, {Name: "BPF_F_WRONLY", Value: 16}, + {Name: "BPF_H", Value: 8}, {Name: "BPF_H0", Value: 1}, + {Name: "BPF_IMM"}, {Name: "BPF_IMM0"}, + {Name: "BPF_IND", Value: 64}, {Name: "BPF_IND0", Value: 2}, + {Name: "BPF_JA"}, {Name: "BPF_JA0"}, + {Name: "BPF_JEQ", Value: 16}, {Name: "BPF_JEQ0", Value: 1}, + {Name: "BPF_JGE", Value: 48}, {Name: "BPF_JGE0", Value: 3}, + {Name: "BPF_JGT", Value: 32}, {Name: "BPF_JGT0", Value: 2}, + {Name: "BPF_JLE", Value: 176}, {Name: "BPF_JLE0", Value: 11}, + {Name: "BPF_JLT", Value: 160}, {Name: "BPF_JLT0", Value: 10}, {Name: "BPF_JMP", Value: 5}, + {Name: "BPF_JNE", Value: 80}, {Name: "BPF_JNE0", Value: 5}, + {Name: "BPF_JSET", Value: 64}, {Name: "BPF_JSET0", Value: 4}, + {Name: "BPF_JSGE", Value: 112}, {Name: "BPF_JSGE0", Value: 7}, + {Name: "BPF_JSGT", Value: 96}, {Name: "BPF_JSGT0", Value: 6}, + {Name: "BPF_JSLE", Value: 208}, {Name: "BPF_JSLE0", Value: 13}, + {Name: "BPF_JSLT", Value: 192}, {Name: "BPF_JSLT0", Value: 12}, + {Name: "BPF_K"}, {Name: "BPF_LD"}, {Name: "BPF_LDX", Value: 1}, + {Name: "BPF_LEN", Value: 128}, + {Name: "BPF_LSH", Value: 96}, {Name: "BPF_LSH0", Value: 6}, {Name: "BPF_MAP_CREATE"}, {Name: "BPF_MAP_DELETE_ELEM", Value: 3}, @@ -36138,16 +36168,24 @@ var consts_amd64 = []ConstValue{ {Name: "BPF_MAP_TYPE_SOCKMAP", Value: 15}, {Name: "BPF_MAP_TYPE_STACK_TRACE", Value: 7}, {Name: "BPF_MAP_UPDATE_ELEM", Value: 2}, + {Name: "BPF_MEM", Value: 96}, {Name: "BPF_MEM0", Value: 3}, + {Name: "BPF_MISC", Value: 7}, + {Name: "BPF_MOD", Value: 144}, {Name: "BPF_MOD0", Value: 9}, + {Name: "BPF_MOV", Value: 176}, {Name: "BPF_MOV0", Value: 11}, + {Name: "BPF_MSH", Value: 160}, + {Name: "BPF_MUL", Value: 32}, {Name: "BPF_MUL0", Value: 2}, + {Name: "BPF_NEG", Value: 128}, {Name: "BPF_NEG0", Value: 8}, {Name: "BPF_NOEXIST", Value: 1}, {Name: "BPF_OBJ_GET", Value: 7}, {Name: "BPF_OBJ_GET_INFO_BY_FD", Value: 15}, {Name: "BPF_OBJ_NAME_LEN", Value: 16}, {Name: "BPF_OBJ_PIN", Value: 6}, + {Name: "BPF_OR", Value: 64}, {Name: "BPF_OR0", Value: 4}, {Name: "BPF_PROG_ATTACH", Value: 8}, {Name: "BPF_PROG_DETACH", Value: 9}, @@ -36187,16 +36225,25 @@ var consts_amd64 = []ConstValue{ {Name: "BPF_REG_7", Value: 7}, {Name: "BPF_REG_8", Value: 8}, {Name: "BPF_REG_9", Value: 9}, + {Name: "BPF_RET", Value: 6}, + {Name: "BPF_RSH", Value: 112}, {Name: "BPF_RSH0", Value: 7}, {Name: "BPF_SK_MSG_VERDICT", Value: 7}, {Name: "BPF_SK_SKB_STREAM_PARSER", Value: 4}, {Name: "BPF_SK_SKB_STREAM_VERDICT", Value: 5}, {Name: "BPF_ST", Value: 2}, {Name: "BPF_STX", Value: 3}, + {Name: "BPF_SUB", Value: 16}, {Name: "BPF_SUB0", Value: 1}, {Name: "BPF_TASK_FD_QUERY", Value: 20}, + {Name: "BPF_TO_BE", Value: 8}, + {Name: "BPF_TO_LE"}, + {Name: "BPF_W"}, {Name: "BPF_W0"}, + {Name: "BPF_X", Value: 8}, + {Name: "BPF_XADD", Value: 192}, {Name: "BPF_XADD0", Value: 6}, + {Name: "BPF_XOR", Value: 160}, {Name: "BPF_XOR0", Value: 10}, {Name: "BRCTL_ADD_BRIDGE", Value: 2}, {Name: "BRCTL_DEL_BRIDGE", Value: 3}, @@ -38425,6 +38472,7 @@ var consts_amd64 = []ConstValue{ {Name: "MASK_PROTO", Value: 1}, {Name: "MASK_ROUTING", Value: 32}, {Name: "MAXGENRELEN", Value: 32}, + {Name: "MAX_BPF_REG", Value: 11}, {Name: "MAX_HEAP_NAME", Value: 32}, {Name: "MAX_IDLETIMER_LABEL_SIZE", Value: 28}, {Name: "MAX_NUM_QUEUE", Value: 4096}, @@ -42219,6 +42267,7 @@ var consts_amd64 = []ConstValue{ {Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798}, {Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514}, {Name: "__BPF_FUNC_MAX_ID", Value: 91}, + {Name: "__MAX_BPF_REG", Value: 11}, {Name: "__NR_accept", Value: 43}, {Name: "__NR_accept4", Value: 288}, {Name: "__NR_acct", Value: 163}, @@ -42524,4 +42573,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "9d1f6b4d7780d30f7f54abd8d89b00a6a6aa769c" +const revision_amd64 = "4855e03b654e7feeb28523b32498c4d4d88f192c" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 569720bb7..7e1ca3d58 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -799,8 +799,8 @@ var structDescs_arm = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_alu_insn", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Vals: []uint64{4, 7}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "code_s", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 1, BitfieldMdl: true}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_alu_op", FldName: "code_op", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, @@ -837,8 +837,8 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Val: 5}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "code_s", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 1, BitfieldMdl: true}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_jmp_op", FldName: "code_op", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, @@ -846,14 +846,14 @@ var structDescs_arm = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_insn", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_size", FldName: "code_size", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 2, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_mode", FldName: "code_mode", TypeSize: 1}, BitfieldOff: 5, BitfieldLen: 3}, Vals: []uint64{0, 1, 2, 3, 6}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, {Key: StructKey{Name: "bpf_insn_map"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_map", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 24}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_map", FldName: "imm", TypeSize: 4}}, @@ -35305,16 +35305,22 @@ var consts_arm = []ConstValue{ {Name: "BNEPGETCONNINFO", Value: 2147762899}, {Name: "BNEPGETCONNLIST", Value: 2147762898}, {Name: "BNEPGETSUPPFEAT", Value: 2147762900}, + {Name: "BPF_ABS", Value: 32}, {Name: "BPF_ABS0", Value: 1}, + {Name: "BPF_ADD"}, {Name: "BPF_ADD0"}, {Name: "BPF_ALU", Value: 4}, {Name: "BPF_ALU64", Value: 7}, + {Name: "BPF_AND", Value: 80}, {Name: "BPF_AND0", Value: 5}, {Name: "BPF_ANY"}, + {Name: "BPF_ARSH", Value: 192}, {Name: "BPF_ARSH0", Value: 12}, + {Name: "BPF_B", Value: 16}, {Name: "BPF_B0", Value: 2}, {Name: "BPF_BTF_GET_FD_BY_ID", Value: 19}, {Name: "BPF_BTF_LOAD", Value: 18}, + {Name: "BPF_CALL", Value: 128}, {Name: "BPF_CALL0", Value: 8}, {Name: "BPF_CGROUP_DEVICE", Value: 6}, {Name: "BPF_CGROUP_INET4_BIND", Value: 8}, @@ -35327,11 +35333,17 @@ var consts_arm = []ConstValue{ {Name: "BPF_CGROUP_INET_INGRESS"}, {Name: "BPF_CGROUP_INET_SOCK_CREATE", Value: 2}, {Name: "BPF_CGROUP_SOCK_OPS", Value: 3}, + {Name: "BPF_DIV", Value: 48}, {Name: "BPF_DIV0", Value: 3}, + {Name: "BPF_DW", Value: 24}, {Name: "BPF_DW0", Value: 3}, + {Name: "BPF_END", Value: 208}, {Name: "BPF_END0", Value: 13}, {Name: "BPF_EXIST", Value: 2}, + {Name: "BPF_EXIT", Value: 144}, {Name: "BPF_EXIT0", Value: 9}, + {Name: "BPF_FROM_BE", Value: 8}, + {Name: "BPF_FROM_LE"}, {Name: "BPF_F_ALLOW_MULTI", Value: 2}, {Name: "BPF_F_ALLOW_OVERRIDE", Value: 1}, {Name: "BPF_F_NO_COMMON_LRU", Value: 2}, @@ -35342,24 +35354,42 @@ var consts_arm = []ConstValue{ {Name: "BPF_F_STACK_BUILD_ID", Value: 32}, {Name: "BPF_F_STRICT_ALIGNMENT", Value: 1}, {Name: "BPF_F_WRONLY", Value: 16}, + {Name: "BPF_H", Value: 8}, {Name: "BPF_H0", Value: 1}, + {Name: "BPF_IMM"}, {Name: "BPF_IMM0"}, + {Name: "BPF_IND", Value: 64}, {Name: "BPF_IND0", Value: 2}, + {Name: "BPF_JA"}, {Name: "BPF_JA0"}, + {Name: "BPF_JEQ", Value: 16}, {Name: "BPF_JEQ0", Value: 1}, + {Name: "BPF_JGE", Value: 48}, {Name: "BPF_JGE0", Value: 3}, + {Name: "BPF_JGT", Value: 32}, {Name: "BPF_JGT0", Value: 2}, + {Name: "BPF_JLE", Value: 176}, {Name: "BPF_JLE0", Value: 11}, + {Name: "BPF_JLT", Value: 160}, {Name: "BPF_JLT0", Value: 10}, {Name: "BPF_JMP", Value: 5}, + {Name: "BPF_JNE", Value: 80}, {Name: "BPF_JNE0", Value: 5}, + {Name: "BPF_JSET", Value: 64}, {Name: "BPF_JSET0", Value: 4}, + {Name: "BPF_JSGE", Value: 112}, {Name: "BPF_JSGE0", Value: 7}, + {Name: "BPF_JSGT", Value: 96}, {Name: "BPF_JSGT0", Value: 6}, + {Name: "BPF_JSLE", Value: 208}, {Name: "BPF_JSLE0", Value: 13}, + {Name: "BPF_JSLT", Value: 192}, {Name: "BPF_JSLT0", Value: 12}, + {Name: "BPF_K"}, {Name: "BPF_LD"}, {Name: "BPF_LDX", Value: 1}, + {Name: "BPF_LEN", Value: 128}, + {Name: "BPF_LSH", Value: 96}, {Name: "BPF_LSH0", Value: 6}, {Name: "BPF_MAP_CREATE"}, {Name: "BPF_MAP_DELETE_ELEM", Value: 3}, @@ -35384,16 +35414,24 @@ var consts_arm = []ConstValue{ {Name: "BPF_MAP_TYPE_SOCKMAP", Value: 15}, {Name: "BPF_MAP_TYPE_STACK_TRACE", Value: 7}, {Name: "BPF_MAP_UPDATE_ELEM", Value: 2}, + {Name: "BPF_MEM", Value: 96}, {Name: "BPF_MEM0", Value: 3}, + {Name: "BPF_MISC", Value: 7}, + {Name: "BPF_MOD", Value: 144}, {Name: "BPF_MOD0", Value: 9}, + {Name: "BPF_MOV", Value: 176}, {Name: "BPF_MOV0", Value: 11}, + {Name: "BPF_MSH", Value: 160}, + {Name: "BPF_MUL", Value: 32}, {Name: "BPF_MUL0", Value: 2}, + {Name: "BPF_NEG", Value: 128}, {Name: "BPF_NEG0", Value: 8}, {Name: "BPF_NOEXIST", Value: 1}, {Name: "BPF_OBJ_GET", Value: 7}, {Name: "BPF_OBJ_GET_INFO_BY_FD", Value: 15}, {Name: "BPF_OBJ_NAME_LEN", Value: 16}, {Name: "BPF_OBJ_PIN", Value: 6}, + {Name: "BPF_OR", Value: 64}, {Name: "BPF_OR0", Value: 4}, {Name: "BPF_PROG_ATTACH", Value: 8}, {Name: "BPF_PROG_DETACH", Value: 9}, @@ -35433,16 +35471,25 @@ var consts_arm = []ConstValue{ {Name: "BPF_REG_7", Value: 7}, {Name: "BPF_REG_8", Value: 8}, {Name: "BPF_REG_9", Value: 9}, + {Name: "BPF_RET", Value: 6}, + {Name: "BPF_RSH", Value: 112}, {Name: "BPF_RSH0", Value: 7}, {Name: "BPF_SK_MSG_VERDICT", Value: 7}, {Name: "BPF_SK_SKB_STREAM_PARSER", Value: 4}, {Name: "BPF_SK_SKB_STREAM_VERDICT", Value: 5}, {Name: "BPF_ST", Value: 2}, {Name: "BPF_STX", Value: 3}, + {Name: "BPF_SUB", Value: 16}, {Name: "BPF_SUB0", Value: 1}, {Name: "BPF_TASK_FD_QUERY", Value: 20}, + {Name: "BPF_TO_BE", Value: 8}, + {Name: "BPF_TO_LE"}, + {Name: "BPF_W"}, {Name: "BPF_W0"}, + {Name: "BPF_X", Value: 8}, + {Name: "BPF_XADD", Value: 192}, {Name: "BPF_XADD0", Value: 6}, + {Name: "BPF_XOR", Value: 160}, {Name: "BPF_XOR0", Value: 10}, {Name: "BRCTL_ADD_BRIDGE", Value: 2}, {Name: "BRCTL_DEL_BRIDGE", Value: 3}, @@ -37634,6 +37681,7 @@ var consts_arm = []ConstValue{ {Name: "MASK_PROTO", Value: 1}, {Name: "MASK_ROUTING", Value: 32}, {Name: "MAXGENRELEN", Value: 32}, + {Name: "MAX_BPF_REG", Value: 11}, {Name: "MAX_HEAP_NAME", Value: 32}, {Name: "MAX_IDLETIMER_LABEL_SIZE", Value: 28}, {Name: "MAX_NUM_QUEUE", Value: 4096}, @@ -41399,6 +41447,7 @@ var consts_arm = []ConstValue{ {Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798}, {Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514}, {Name: "__BPF_FUNC_MAX_ID", Value: 91}, + {Name: "__MAX_BPF_REG", Value: 11}, {Name: "__NR_accept", Value: 285}, {Name: "__NR_accept4", Value: 366}, {Name: "__NR_acct", Value: 51}, @@ -41692,4 +41741,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "291a0ad48303072ab9340f5797cda65be4ff8de2" +const revision_arm = "d4fc4f826d86c86e7c111bd34546f89de47541f1" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index d12fa1bf9..6726c5eab 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -802,8 +802,8 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_alu_insn", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Vals: []uint64{4, 7}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "code_s", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 1, BitfieldMdl: true}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_alu_op", FldName: "code_op", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, @@ -840,8 +840,8 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Val: 5}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "code_s", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 1, BitfieldMdl: true}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_jmp_op", FldName: "code_op", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, @@ -849,14 +849,14 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_insn", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_size", FldName: "code_size", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 2, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_mode", FldName: "code_mode", TypeSize: 1}, BitfieldOff: 5, BitfieldLen: 3}, Vals: []uint64{0, 1, 2, 3, 6}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, {Key: StructKey{Name: "bpf_insn_map"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_map", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 24}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_map", FldName: "imm", TypeSize: 4}}, @@ -35537,16 +35537,22 @@ var consts_arm64 = []ConstValue{ {Name: "BNEPGETCONNINFO", Value: 2147762899}, {Name: "BNEPGETCONNLIST", Value: 2147762898}, {Name: "BNEPGETSUPPFEAT", Value: 2147762900}, + {Name: "BPF_ABS", Value: 32}, {Name: "BPF_ABS0", Value: 1}, + {Name: "BPF_ADD"}, {Name: "BPF_ADD0"}, {Name: "BPF_ALU", Value: 4}, {Name: "BPF_ALU64", Value: 7}, + {Name: "BPF_AND", Value: 80}, {Name: "BPF_AND0", Value: 5}, {Name: "BPF_ANY"}, + {Name: "BPF_ARSH", Value: 192}, {Name: "BPF_ARSH0", Value: 12}, + {Name: "BPF_B", Value: 16}, {Name: "BPF_B0", Value: 2}, {Name: "BPF_BTF_GET_FD_BY_ID", Value: 19}, {Name: "BPF_BTF_LOAD", Value: 18}, + {Name: "BPF_CALL", Value: 128}, {Name: "BPF_CALL0", Value: 8}, {Name: "BPF_CGROUP_DEVICE", Value: 6}, {Name: "BPF_CGROUP_INET4_BIND", Value: 8}, @@ -35559,11 +35565,17 @@ var consts_arm64 = []ConstValue{ {Name: "BPF_CGROUP_INET_INGRESS"}, {Name: "BPF_CGROUP_INET_SOCK_CREATE", Value: 2}, {Name: "BPF_CGROUP_SOCK_OPS", Value: 3}, + {Name: "BPF_DIV", Value: 48}, {Name: "BPF_DIV0", Value: 3}, + {Name: "BPF_DW", Value: 24}, {Name: "BPF_DW0", Value: 3}, + {Name: "BPF_END", Value: 208}, {Name: "BPF_END0", Value: 13}, {Name: "BPF_EXIST", Value: 2}, + {Name: "BPF_EXIT", Value: 144}, {Name: "BPF_EXIT0", Value: 9}, + {Name: "BPF_FROM_BE", Value: 8}, + {Name: "BPF_FROM_LE"}, {Name: "BPF_F_ALLOW_MULTI", Value: 2}, {Name: "BPF_F_ALLOW_OVERRIDE", Value: 1}, {Name: "BPF_F_NO_COMMON_LRU", Value: 2}, @@ -35574,24 +35586,42 @@ var consts_arm64 = []ConstValue{ {Name: "BPF_F_STACK_BUILD_ID", Value: 32}, {Name: "BPF_F_STRICT_ALIGNMENT", Value: 1}, {Name: "BPF_F_WRONLY", Value: 16}, + {Name: "BPF_H", Value: 8}, {Name: "BPF_H0", Value: 1}, + {Name: "BPF_IMM"}, {Name: "BPF_IMM0"}, + {Name: "BPF_IND", Value: 64}, {Name: "BPF_IND0", Value: 2}, + {Name: "BPF_JA"}, {Name: "BPF_JA0"}, + {Name: "BPF_JEQ", Value: 16}, {Name: "BPF_JEQ0", Value: 1}, + {Name: "BPF_JGE", Value: 48}, {Name: "BPF_JGE0", Value: 3}, + {Name: "BPF_JGT", Value: 32}, {Name: "BPF_JGT0", Value: 2}, + {Name: "BPF_JLE", Value: 176}, {Name: "BPF_JLE0", Value: 11}, + {Name: "BPF_JLT", Value: 160}, {Name: "BPF_JLT0", Value: 10}, {Name: "BPF_JMP", Value: 5}, + {Name: "BPF_JNE", Value: 80}, {Name: "BPF_JNE0", Value: 5}, + {Name: "BPF_JSET", Value: 64}, {Name: "BPF_JSET0", Value: 4}, + {Name: "BPF_JSGE", Value: 112}, {Name: "BPF_JSGE0", Value: 7}, + {Name: "BPF_JSGT", Value: 96}, {Name: "BPF_JSGT0", Value: 6}, + {Name: "BPF_JSLE", Value: 208}, {Name: "BPF_JSLE0", Value: 13}, + {Name: "BPF_JSLT", Value: 192}, {Name: "BPF_JSLT0", Value: 12}, + {Name: "BPF_K"}, {Name: "BPF_LD"}, {Name: "BPF_LDX", Value: 1}, + {Name: "BPF_LEN", Value: 128}, + {Name: "BPF_LSH", Value: 96}, {Name: "BPF_LSH0", Value: 6}, {Name: "BPF_MAP_CREATE"}, {Name: "BPF_MAP_DELETE_ELEM", Value: 3}, @@ -35616,16 +35646,24 @@ var consts_arm64 = []ConstValue{ {Name: "BPF_MAP_TYPE_SOCKMAP", Value: 15}, {Name: "BPF_MAP_TYPE_STACK_TRACE", Value: 7}, {Name: "BPF_MAP_UPDATE_ELEM", Value: 2}, + {Name: "BPF_MEM", Value: 96}, {Name: "BPF_MEM0", Value: 3}, + {Name: "BPF_MISC", Value: 7}, + {Name: "BPF_MOD", Value: 144}, {Name: "BPF_MOD0", Value: 9}, + {Name: "BPF_MOV", Value: 176}, {Name: "BPF_MOV0", Value: 11}, + {Name: "BPF_MSH", Value: 160}, + {Name: "BPF_MUL", Value: 32}, {Name: "BPF_MUL0", Value: 2}, + {Name: "BPF_NEG", Value: 128}, {Name: "BPF_NEG0", Value: 8}, {Name: "BPF_NOEXIST", Value: 1}, {Name: "BPF_OBJ_GET", Value: 7}, {Name: "BPF_OBJ_GET_INFO_BY_FD", Value: 15}, {Name: "BPF_OBJ_NAME_LEN", Value: 16}, {Name: "BPF_OBJ_PIN", Value: 6}, + {Name: "BPF_OR", Value: 64}, {Name: "BPF_OR0", Value: 4}, {Name: "BPF_PROG_ATTACH", Value: 8}, {Name: "BPF_PROG_DETACH", Value: 9}, @@ -35665,16 +35703,25 @@ var consts_arm64 = []ConstValue{ {Name: "BPF_REG_7", Value: 7}, {Name: "BPF_REG_8", Value: 8}, {Name: "BPF_REG_9", Value: 9}, + {Name: "BPF_RET", Value: 6}, + {Name: "BPF_RSH", Value: 112}, {Name: "BPF_RSH0", Value: 7}, {Name: "BPF_SK_MSG_VERDICT", Value: 7}, {Name: "BPF_SK_SKB_STREAM_PARSER", Value: 4}, {Name: "BPF_SK_SKB_STREAM_VERDICT", Value: 5}, {Name: "BPF_ST", Value: 2}, {Name: "BPF_STX", Value: 3}, + {Name: "BPF_SUB", Value: 16}, {Name: "BPF_SUB0", Value: 1}, {Name: "BPF_TASK_FD_QUERY", Value: 20}, + {Name: "BPF_TO_BE", Value: 8}, + {Name: "BPF_TO_LE"}, + {Name: "BPF_W"}, {Name: "BPF_W0"}, + {Name: "BPF_X", Value: 8}, + {Name: "BPF_XADD", Value: 192}, {Name: "BPF_XADD0", Value: 6}, + {Name: "BPF_XOR", Value: 160}, {Name: "BPF_XOR0", Value: 10}, {Name: "BRCTL_ADD_BRIDGE", Value: 2}, {Name: "BRCTL_DEL_BRIDGE", Value: 3}, @@ -37875,6 +37922,7 @@ var consts_arm64 = []ConstValue{ {Name: "MASK_PROTO", Value: 1}, {Name: "MASK_ROUTING", Value: 32}, {Name: "MAXGENRELEN", Value: 32}, + {Name: "MAX_BPF_REG", Value: 11}, {Name: "MAX_HEAP_NAME", Value: 32}, {Name: "MAX_IDLETIMER_LABEL_SIZE", Value: 28}, {Name: "MAX_NUM_QUEUE", Value: 4096}, @@ -41650,6 +41698,7 @@ var consts_arm64 = []ConstValue{ {Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798}, {Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514}, {Name: "__BPF_FUNC_MAX_ID", Value: 91}, + {Name: "__MAX_BPF_REG", Value: 11}, {Name: "__NR_accept", Value: 202}, {Name: "__NR_accept4", Value: 242}, {Name: "__NR_acct", Value: 89}, @@ -41914,4 +41963,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "d783c0aea05230af1e61643d9f6aa621d520353a" +const revision_arm64 = "21bc7828df2157390e22c1f23ea4ece340ca4da1" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index efcec5948..cc1f40964 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -793,8 +793,8 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_alu_insn", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Vals: []uint64{4, 7}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "code_s", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 1, BitfieldMdl: true}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_alu_op", FldName: "code_op", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, @@ -831,8 +831,8 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Val: 5}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "code_s", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 1, BitfieldMdl: true}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_jmp_op", FldName: "code_op", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, @@ -840,14 +840,14 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_insn", FldName: "code_class", TypeSize: 1}, BitfieldLen: 3, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_size", FldName: "code_size", TypeSize: 1}, BitfieldOff: 3, BitfieldLen: 2, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_ldst_mode", FldName: "code_mode", TypeSize: 1}, BitfieldOff: 5, BitfieldLen: 3}, Vals: []uint64{0, 1, 2, 3, 6}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_offsets", FldName: "off", TypeSize: 2}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 48, 64, 80, 128, 256, 18446744073709551615, 18446744073709551614, 18446744073709551612, 18446744073709551608, 18446744073709551604, 18446744073709551600, 18446744073709551584, 18446744073709551552}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_insn_immediates", FldName: "imm", TypeSize: 4}}, Vals: []uint64{0, 1, 4, 8, 16, 18446744073709551615, 18446744073709551612, 18446744073709551600}}, }}}, {Key: StructKey{Name: "bpf_insn_map"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_insn_map", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}, Val: 24}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_reg", FldName: "dst", TypeSize: 1}, BitfieldLen: 4, BitfieldMdl: true}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 1}, BitfieldOff: 4, BitfieldLen: 4}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "off", TypeSize: 2}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_map", FldName: "imm", TypeSize: 4}}, @@ -33932,16 +33932,22 @@ var consts_ppc64le = []ConstValue{ {Name: "BNEPGETCONNINFO", Value: 1074021075}, {Name: "BNEPGETCONNLIST", Value: 1074021074}, {Name: "BNEPGETSUPPFEAT", Value: 1074021076}, + {Name: "BPF_ABS", Value: 32}, {Name: "BPF_ABS0", Value: 1}, + {Name: "BPF_ADD"}, {Name: "BPF_ADD0"}, {Name: "BPF_ALU", Value: 4}, {Name: "BPF_ALU64", Value: 7}, + {Name: "BPF_AND", Value: 80}, {Name: "BPF_AND0", Value: 5}, {Name: "BPF_ANY"}, + {Name: "BPF_ARSH", Value: 192}, {Name: "BPF_ARSH0", Value: 12}, + {Name: "BPF_B", Value: 16}, {Name: "BPF_B0", Value: 2}, {Name: "BPF_BTF_GET_FD_BY_ID", Value: 19}, {Name: "BPF_BTF_LOAD", Value: 18}, + {Name: "BPF_CALL", Value: 128}, {Name: "BPF_CALL0", Value: 8}, {Name: "BPF_CGROUP_DEVICE", Value: 6}, {Name: "BPF_CGROUP_INET4_BIND", Value: 8}, @@ -33954,11 +33960,17 @@ var consts_ppc64le = []ConstValue{ {Name: "BPF_CGROUP_INET_INGRESS"}, {Name: "BPF_CGROUP_INET_SOCK_CREATE", Value: 2}, {Name: "BPF_CGROUP_SOCK_OPS", Value: 3}, + {Name: "BPF_DIV", Value: 48}, {Name: "BPF_DIV0", Value: 3}, + {Name: "BPF_DW", Value: 24}, {Name: "BPF_DW0", Value: 3}, + {Name: "BPF_END", Value: 208}, {Name: "BPF_END0", Value: 13}, {Name: "BPF_EXIST", Value: 2}, + {Name: "BPF_EXIT", Value: 144}, {Name: "BPF_EXIT0", Value: 9}, + {Name: "BPF_FROM_BE", Value: 8}, + {Name: "BPF_FROM_LE"}, {Name: "BPF_F_ALLOW_MULTI", Value: 2}, {Name: "BPF_F_ALLOW_OVERRIDE", Value: 1}, {Name: "BPF_F_NO_COMMON_LRU", Value: 2}, @@ -33969,24 +33981,42 @@ var consts_ppc64le = []ConstValue{ {Name: "BPF_F_STACK_BUILD_ID", Value: 32}, {Name: "BPF_F_STRICT_ALIGNMENT", Value: 1}, {Name: "BPF_F_WRONLY", Value: 16}, + {Name: "BPF_H", Value: 8}, {Name: "BPF_H0", Value: 1}, + {Name: "BPF_IMM"}, {Name: "BPF_IMM0"}, + {Name: "BPF_IND", Value: 64}, {Name: "BPF_IND0", Value: 2}, + {Name: "BPF_JA"}, {Name: "BPF_JA0"}, + {Name: "BPF_JEQ", Value: 16}, {Name: "BPF_JEQ0", Value: 1}, + {Name: "BPF_JGE", Value: 48}, {Name: "BPF_JGE0", Value: 3}, + {Name: "BPF_JGT", Value: 32}, {Name: "BPF_JGT0", Value: 2}, + {Name: "BPF_JLE", Value: 176}, {Name: "BPF_JLE0", Value: 11}, + {Name: "BPF_JLT", Value: 160}, {Name: "BPF_JLT0", Value: 10}, {Name: "BPF_JMP", Value: 5}, + {Name: "BPF_JNE", Value: 80}, {Name: "BPF_JNE0", Value: 5}, + {Name: "BPF_JSET", Value: 64}, {Name: "BPF_JSET0", Value: 4}, + {Name: "BPF_JSGE", Value: 112}, {Name: "BPF_JSGE0", Value: 7}, + {Name: "BPF_JSGT", Value: 96}, {Name: "BPF_JSGT0", Value: 6}, + {Name: "BPF_JSLE", Value: 208}, {Name: "BPF_JSLE0", Value: 13}, + {Name: "BPF_JSLT", Value: 192}, {Name: "BPF_JSLT0", Value: 12}, + {Name: "BPF_K"}, {Name: "BPF_LD"}, {Name: "BPF_LDX", Value: 1}, + {Name: "BPF_LEN", Value: 128}, + {Name: "BPF_LSH", Value: 96}, {Name: "BPF_LSH0", Value: 6}, {Name: "BPF_MAP_CREATE"}, {Name: "BPF_MAP_DELETE_ELEM", Value: 3}, @@ -34011,16 +34041,24 @@ var consts_ppc64le = []ConstValue{ {Name: "BPF_MAP_TYPE_SOCKMAP", Value: 15}, {Name: "BPF_MAP_TYPE_STACK_TRACE", Value: 7}, {Name: "BPF_MAP_UPDATE_ELEM", Value: 2}, + {Name: "BPF_MEM", Value: 96}, {Name: "BPF_MEM0", Value: 3}, + {Name: "BPF_MISC", Value: 7}, + {Name: "BPF_MOD", Value: 144}, {Name: "BPF_MOD0", Value: 9}, + {Name: "BPF_MOV", Value: 176}, {Name: "BPF_MOV0", Value: 11}, + {Name: "BPF_MSH", Value: 160}, + {Name: "BPF_MUL", Value: 32}, {Name: "BPF_MUL0", Value: 2}, + {Name: "BPF_NEG", Value: 128}, {Name: "BPF_NEG0", Value: 8}, {Name: "BPF_NOEXIST", Value: 1}, {Name: "BPF_OBJ_GET", Value: 7}, {Name: "BPF_OBJ_GET_INFO_BY_FD", Value: 15}, {Name: "BPF_OBJ_NAME_LEN", Value: 16}, {Name: "BPF_OBJ_PIN", Value: 6}, + {Name: "BPF_OR", Value: 64}, {Name: "BPF_OR0", Value: 4}, {Name: "BPF_PROG_ATTACH", Value: 8}, {Name: "BPF_PROG_DETACH", Value: 9}, @@ -34060,16 +34098,25 @@ var consts_ppc64le = []ConstValue{ {Name: "BPF_REG_7", Value: 7}, {Name: "BPF_REG_8", Value: 8}, {Name: "BPF_REG_9", Value: 9}, + {Name: "BPF_RET", Value: 6}, + {Name: "BPF_RSH", Value: 112}, {Name: "BPF_RSH0", Value: 7}, {Name: "BPF_SK_MSG_VERDICT", Value: 7}, {Name: "BPF_SK_SKB_STREAM_PARSER", Value: 4}, {Name: "BPF_SK_SKB_STREAM_VERDICT", Value: 5}, {Name: "BPF_ST", Value: 2}, {Name: "BPF_STX", Value: 3}, + {Name: "BPF_SUB", Value: 16}, {Name: "BPF_SUB0", Value: 1}, {Name: "BPF_TASK_FD_QUERY", Value: 20}, + {Name: "BPF_TO_BE", Value: 8}, + {Name: "BPF_TO_LE"}, + {Name: "BPF_W"}, {Name: "BPF_W0"}, + {Name: "BPF_X", Value: 8}, + {Name: "BPF_XADD", Value: 192}, {Name: "BPF_XADD0", Value: 6}, + {Name: "BPF_XOR", Value: 160}, {Name: "BPF_XOR0", Value: 10}, {Name: "BRCTL_ADD_BRIDGE", Value: 2}, {Name: "BRCTL_DEL_BRIDGE", Value: 3}, @@ -36258,6 +36305,7 @@ var consts_ppc64le = []ConstValue{ {Name: "MASK_PROTO", Value: 1}, {Name: "MASK_ROUTING", Value: 32}, {Name: "MAXGENRELEN", Value: 32}, + {Name: "MAX_BPF_REG", Value: 11}, {Name: "MAX_HEAP_NAME", Value: 32}, {Name: "MAX_IDLETIMER_LABEL_SIZE", Value: 28}, {Name: "MAX_NUM_QUEUE", Value: 4096}, @@ -38983,6 +39031,7 @@ var consts_ppc64le = []ConstValue{ {Name: "_LINUX_CAPABILITY_VERSION_2", Value: 537333798}, {Name: "_LINUX_CAPABILITY_VERSION_3", Value: 537396514}, {Name: "__BPF_FUNC_MAX_ID", Value: 91}, + {Name: "__MAX_BPF_REG", Value: 11}, {Name: "__NR_accept", Value: 330}, {Name: "__NR_accept4", Value: 344}, {Name: "__NR_acct", Value: 51}, @@ -39272,4 +39321,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "2e0a9fa7b9b76c76013cf3aeac7bf322c8f75565" +const revision_ppc64le = "52e6989e12fbe8c2fdee91918789f7916598017f" |
