On Fri, 17 Sept 2021 at 22:57, Alexei Starovoitov <alexei.starovoitov@xxxxxxxxx> wrote: > > From: Alexei Starovoitov <ast@xxxxxxxxxx> > > Prototype of bpf_core_apply_relo() helper. > > Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxx> ... > @@ -6313,4 +6321,10 @@ enum bpf_core_relo_kind { > BPF_CORE_ENUMVAL_VALUE = 11, /* enum value integer value */ > }; > > +struct bpf_core_relo_desc { > + __u32 type_id; > + __u32 access_str_off; > + enum bpf_core_relo_kind kind; Not a C expert, I thought enums don't have a fixed size? -- Lorenz Bauer | Systems Engineer 6th Floor, County Hall/The Riverside Building, SE1 7PB, UK www.cloudflare.com