/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _IPV6_STUBS_H #define _IPV6_STUBS_H #include <linux/in6.h> #include <linux/netdevice.h> #include <linux/skbuff.h> #include <net/dst.h> #include <net/flow.h> #include <net/neighbour.h> #include <net/sock.h> #include <net/ipv6.h> /* structs from net/ip6_fib.h */ struct fib6_info; struct fib6_nh; struct fib6_config; struct fib6_result; /* This is ugly, ideally these symbols should be built * into the core kernel. */ struct ipv6_stub { … }; extern const struct ipv6_stub *ipv6_stub __read_mostly; /* A stub used by bpf helpers. Similarly ugly as ipv6_stub */ struct ipv6_bpf_stub { … }; extern const struct ipv6_bpf_stub *ipv6_bpf_stub __read_mostly; #endif