| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _NET_RAWV6_H | 
 | 2 | #define _NET_RAWV6_H | 
 | 3 |  | 
| Masahide NAKAMURA | 59fbb3a | 2007-06-26 23:56:32 -0700 | [diff] [blame] | 4 | #include <net/protocol.h> | 
 | 5 |  | 
| Pavel Emelyanov | 69d6da0 | 2007-11-19 22:35:57 -0800 | [diff] [blame] | 6 | void raw6_icmp_error(struct sk_buff *, int nexthdr, | 
| Brian Haley | d5fdd6b | 2009-06-23 04:31:07 -0700 | [diff] [blame] | 7 | 		u8 type, u8 code, int inner_offset, __be32); | 
| Pavel Emelyanov | 69d6da0 | 2007-11-19 22:35:57 -0800 | [diff] [blame] | 8 | int raw6_local_deliver(struct sk_buff *, int); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 |  | 
 | 10 | extern int			rawv6_rcv(struct sock *sk, | 
 | 11 | 					  struct sk_buff *skb); | 
 | 12 |  | 
| Masahide NAKAMURA | 59fbb3a | 2007-06-26 23:56:32 -0700 | [diff] [blame] | 13 | #if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE) | 
 | 14 | int rawv6_mh_filter_register(int (*filter)(struct sock *sock, | 
 | 15 | 					   struct sk_buff *skb)); | 
 | 16 | int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock, | 
 | 17 | 					     struct sk_buff *skb)); | 
 | 18 | #endif | 
 | 19 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | #endif |