xref: /openbmc/linux/include/net/rawv6.h (revision 275876e2)
1 #ifndef _NET_RAWV6_H
2 #define _NET_RAWV6_H
3 
4 #include <net/protocol.h>
5 
6 void raw6_icmp_error(struct sk_buff *, int nexthdr,
7 		u8 type, u8 code, int inner_offset, __be32);
8 bool raw6_local_deliver(struct sk_buff *, int);
9 
10 int rawv6_rcv(struct sock *sk, struct sk_buff *skb);
11 
12 #if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
13 int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
14 					   struct sk_buff *skb));
15 int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
16 					     struct sk_buff *skb));
17 #endif
18 
19 #endif
20