2005-04-17 05:20:36 +07:00
|
|
|
#ifndef _NET_RAWV6_H
|
|
|
|
#define _NET_RAWV6_H
|
|
|
|
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
|
2007-06-27 13:56:32 +07:00
|
|
|
#include <net/protocol.h>
|
|
|
|
|
2007-11-20 13:35:57 +07:00
|
|
|
void raw6_icmp_error(struct sk_buff *, int nexthdr,
|
2009-06-23 18:31:07 +07:00
|
|
|
u8 type, u8 code, int inner_offset, __be32);
|
2007-11-20 13:35:57 +07:00
|
|
|
int raw6_local_deliver(struct sk_buff *, int);
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
extern int rawv6_rcv(struct sock *sk,
|
|
|
|
struct sk_buff *skb);
|
|
|
|
|
2007-06-27 13:56:32 +07: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-17 05:20:36 +07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|