blob: f6b9b830df8c445e3ce88f0ff45d27fc07908c2c [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,
Brian Haleyd5fdd6b2009-06-23 04:31:07 -07009 u8 type, u8 code, int inner_offset, __be32);
Pavel Emelyanov69d6da02007-11-19 22:35:57 -080010int 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