]> bbs.cooldavid.org Git - net-next-2.6.git/blame - include/net/rawv6.h
ipv6: Use correct data types for ICMPv6 type and code
[net-next-2.6.git] / include / net / rawv6.h
CommitLineData
1da177e4
LT
1#ifndef _NET_RAWV6_H
2#define _NET_RAWV6_H
3
4#ifdef __KERNEL__
5
59fbb3a6
MN
6#include <net/protocol.h>
7
69d6da0b 8void raw6_icmp_error(struct sk_buff *, int nexthdr,
d5fdd6ba 9 u8 type, u8 code, int inner_offset, __be32);
69d6da0b 10int raw6_local_deliver(struct sk_buff *, int);
1da177e4
LT
11
12extern int rawv6_rcv(struct sock *sk,
13 struct sk_buff *skb);
14
59fbb3a6
MN
15#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
16int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
17 struct sk_buff *skb));
18int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
19 struct sk_buff *skb));
20#endif
21
1da177e4
LT
22#endif
23
24#endif