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