Re: [PATCH ipsec-next v1 1/7] bpf: xfrm: Add bpf_xdp_get_xfrm_state() kfunc
From: Alexei Starovoitov
Date: Wed Nov 22 2023 - 18:27:03 EST
On Wed, Nov 22, 2023 at 10:21 AM Daniel Xu <dxu@xxxxxxxxx> wrote:
>
> +
> +__diag_push();
> +__diag_ignore_all("-Wmissing-prototypes",
> + "Global functions as their definitions will be in xfrm_state BTF");
Pls use __bpf_kfunc_start_defs() instead.