]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
2 | #ifndef _NET_RAWV6_H |
3 | #define _NET_RAWV6_H | |
4 | ||
59fbb3a6 MN |
5 | #include <net/protocol.h> |
6 | ||
432490f9 CG |
7 | extern struct raw_hashinfo raw_v6_hashinfo; |
8 | struct sock *__raw_v6_lookup(struct net *net, struct sock *sk, | |
9 | unsigned short num, const struct in6_addr *loc_addr, | |
5108ab4b | 10 | const struct in6_addr *rmt_addr, int dif, int sdif); |
432490f9 CG |
11 | |
12 | int raw_abort(struct sock *sk, int err); | |
13 | ||
69d6da0b | 14 | void raw6_icmp_error(struct sk_buff *, int nexthdr, |
d5fdd6ba | 15 | u8 type, u8 code, int inner_offset, __be32); |
a50feda5 | 16 | bool raw6_local_deliver(struct sk_buff *, int); |
1da177e4 | 17 | |
0ad6ad94 | 18 | int rawv6_rcv(struct sock *sk, struct sk_buff *skb); |
1da177e4 | 19 | |
59fbb3a6 MN |
20 | #if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE) |
21 | int rawv6_mh_filter_register(int (*filter)(struct sock *sock, | |
22 | struct sk_buff *skb)); | |
23 | int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock, | |
24 | struct sk_buff *skb)); | |
25 | #endif | |
26 | ||
1da177e4 | 27 | #endif |