blob: 87783dea0791c616a9bac5a164e4421dc3ef2363 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _NET_RAWV6_H
2#define _NET_RAWV6_H
3
Masahide NAKAMURA59fbb3a62007-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);
Eric Dumazeta50feda2012-05-18 18:57:34 +00008bool raw6_local_deliver(struct sk_buff *, int);
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
Joe Perches0ad6ad92013-09-22 10:32:19 -070010int rawv6_rcv(struct sock *sk, struct sk_buff *skb);
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Masahide NAKAMURA59fbb3a62007-06-26 23:56:32 -070012#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
13int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
14 struct sk_buff *skb));
15int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
16 struct sk_buff *skb));
17#endif
18
Linus Torvalds1da177e2005-04-16 15:20:36 -070019#endif