2005-04-16 18:20:36 -04:00
|
|
|
#ifndef _NET_RAWV6_H
|
|
|
|
#define _NET_RAWV6_H
|
|
|
|
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
|
2007-06-27 02:56:32 -04:00
|
|
|
#include <net/protocol.h>
|
|
|
|
|
2007-11-20 01:35:57 -05:00
|
|
|
void raw6_icmp_error(struct sk_buff *, int nexthdr,
|
2009-06-23 07:31:07 -04:00
|
|
|
u8 type, u8 code, int inner_offset, __be32);
|
2007-11-20 01:35:57 -05:00
|
|
|
int raw6_local_deliver(struct sk_buff *, int);
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
extern int rawv6_rcv(struct sock *sk,
|
|
|
|
struct sk_buff *skb);
|
|
|
|
|
2007-06-27 02:56:32 -04:00
|
|
|
#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
|
|
|
|
int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
|
|
|
|
struct sk_buff *skb));
|
|
|
|
int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
|
|
|
|
struct sk_buff *skb));
|
|
|
|
#endif
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|