# Re: \[PATCH bpf-next\] bpf: add struct bpf\_redir\_neigh forward declaration to BPF helper defs

- From: Toke Høiland-Jørgensen \<hidden\>
- Date: 2020-10-29 00:32:43 
- List: netdev
- Page: https://ratatoskr.run/netdev/2020/10/7749688
- Thread: https://ratatoskr.run/bpf/2020/10/7749652/t.md

```text
Andrii Nakryiko [ref] writes:

> Forward-declare struct bpf_redir_neigh in bpf_helper_defs.h to avoid
> compiler warning about unknown structs.
>
> Fixes: ba452c9e996d ("bpf: Fix bpf_redirect_neigh helper api to support supplying nexthop")
> Signed-off-by: Andrii Nakryiko <andrii@kernel.org>

Ah! I did actually include that in my local tree at some point, but
guess it never made it into the patch; sorry about that!

I guess this should go into the bpf tree, rather than bpf-next, no?

Acked-by: Toke Høiland-Jørgensen <redacted>

```
