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