blob: cf75772344578040c271832c08d5df5b48ff8f85 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _NET_RAWV6_H
2#define _NET_RAWV6_H
3
Masahide NAKAMURA59fbb3a2007-06-26 23:56:32 -07004#include <net/protocol.h>
5
Pavel Emelyanov69d6da02007-11-19 22:35:57 -08006void raw6_icmp_error(struct sk_buff *, int nexthdr,
Brian Haleyd5fdd6b2009-06-23 04:31:07 -07007 u8 type, u8 code, int inner_offset, __be32);
Pavel Emelyanov69d6da02007-11-19 22:35:57 -08008int raw6_local_deliver(struct sk_buff *, int);
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
10extern int rawv6_rcv(struct sock *sk,
11 struct sk_buff *skb);
12
Masahide NAKAMURA59fbb3a2007-06-26 23:56:32 -070013#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
Linus Torvalds1da177e2005-04-16 15:20:36 -070020#endif