summaryrefslogtreecommitdiffstats
path: root/include/net/addrconf.h
diff options
context:
space:
mode:
authorPeter Oskolkov <posk@google.com>2019-02-13 20:53:38 +0100
committerAlexei Starovoitov <ast@kernel.org>2019-02-14 03:27:55 +0100
commit9b0a6a9dbab0ae092d033e67dc2701e8a7b09cdb (patch)
tree89a7cbd6c287f188b992e6714c5f3fce48e468c2 /include/net/addrconf.h
parentbpf: handle GSO in bpf_lwt_push_encap (diff)
downloadlinux-9b0a6a9dbab0ae092d033e67dc2701e8a7b09cdb.tar.xz
linux-9b0a6a9dbab0ae092d033e67dc2701e8a7b09cdb.zip
ipv6_stub: add ipv6_route_input stub/proxy.
Proxy ip6_route_input via ipv6_stub, for later use by lwt bpf ip encap (see the next patch in the patchset). Signed-off-by: Peter Oskolkov <posk@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/net/addrconf.h')
-rw-r--r--include/net/addrconf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h
index 20d523ee2fec..269ec27385e9 100644
--- a/include/net/addrconf.h
+++ b/include/net/addrconf.h
@@ -248,6 +248,7 @@ struct ipv6_stub {
const struct in6_addr *addr);
int (*ipv6_dst_lookup)(struct net *net, struct sock *sk,
struct dst_entry **dst, struct flowi6 *fl6);
+ int (*ipv6_route_input)(struct sk_buff *skb);
struct fib6_table *(*fib6_get_table)(struct net *net, u32 id);
struct fib6_info *(*fib6_lookup)(struct net *net, int oif,