Merge tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / net / rawv6.h
CommitLineData
1da177e4
LT
1#ifndef _NET_RAWV6_H
2#define _NET_RAWV6_H
3
59fbb3a6
MN
4#include <net/protocol.h>
5
69d6da0b 6void raw6_icmp_error(struct sk_buff *, int nexthdr,
d5fdd6ba 7 u8 type, u8 code, int inner_offset, __be32);
a50feda5 8bool raw6_local_deliver(struct sk_buff *, int);
1da177e4
LT
9
10extern int rawv6_rcv(struct sock *sk,
11 struct sk_buff *skb);
12
59fbb3a6
MN
13#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
14int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
15 struct sk_buff *skb));
16int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
17 struct sk_buff *skb));
18#endif
19
1da177e4 20#endif