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