blob: 8a22599f26ba9ce4fe7b9e649e23321fc359263d [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _NET_RAWV6_H
2#define _NET_RAWV6_H
3
4#ifdef __KERNEL__
5
Masahide NAKAMURA59fbb3a62007-06-26 23:56:32 -07006#include <net/protocol.h>
7
Pavel Emelyanov69d6da02007-11-19 22:35:57 -08008void raw6_icmp_error(struct sk_buff *, int nexthdr,
9 int type, int code, int inner_offset, __be32);
10int raw6_local_deliver(struct sk_buff *, int);
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
12extern int rawv6_rcv(struct sock *sk,
13 struct sk_buff *skb);
14
Masahide NAKAMURA59fbb3a62007-06-26 23:56:32 -070015#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
16int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
17 struct sk_buff *skb));
18int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
19 struct sk_buff *skb));
20#endif
21
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#endif
23
24#endif