summaryrefslogtreecommitdiff
path: root/include/net/rawv6.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/rawv6.h')
-rw-r--r--include/net/rawv6.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/net/rawv6.h b/include/net/rawv6.h
index cbe4e9de1894..82810cbe3798 100644
--- a/include/net/rawv6.h
+++ b/include/net/rawv6.h
@@ -1,12 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _NET_RAWV6_H
#define _NET_RAWV6_H
#include <net/protocol.h>
+#include <net/raw.h>
extern struct raw_hashinfo raw_v6_hashinfo;
-struct sock *__raw_v6_lookup(struct net *net, struct sock *sk,
- unsigned short num, const struct in6_addr *loc_addr,
- const struct in6_addr *rmt_addr, int dif);
+bool raw_v6_match(struct net *net, const struct sock *sk, unsigned short num,
+ const struct in6_addr *loc_addr,
+ const struct in6_addr *rmt_addr, int dif, int sdif);
int raw_abort(struct sock *sk, int err);