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.
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.