diff options
author | Masahide NAKAMURA <nakam@linux-ipv6.org> | 2006-08-23 23:35:31 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:07:01 -0400 |
commit | 7be96f7628469e56f91d51f13b03e9bcff113c7f (patch) | |
tree | 60db169f3fa51967dd916355face3f2b38d7cc5d /include/net/mip6.h | |
parent | 2b741653b6c824fe7520ee92b6795f11c5f24b24 (diff) |
[IPV6] MIP6: Add receiving mobility header functions through raw socket.
Like ICMPv6, mobility header is handled through raw socket.
In inbound case, check only whether ICMPv6 error should be sent as a reply
or not by kernel.
Based on MIPL2 kernel patch.
This patch was also written by: Ville Nuorvala <vnuorval@tcs.hut.fi>
This patch was also written by: Antti Tuominen <anttit@tcs.hut.fi>
Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/mip6.h')
-rw-r--r-- | include/net/mip6.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/mip6.h b/include/net/mip6.h index fd43178faace..68263c6d9996 100644 --- a/include/net/mip6.h +++ b/include/net/mip6.h | |||
@@ -25,6 +25,9 @@ | |||
25 | #ifndef _NET_MIP6_H | 25 | #ifndef _NET_MIP6_H |
26 | #define _NET_MIP6_H | 26 | #define _NET_MIP6_H |
27 | 27 | ||
28 | #include <linux/skbuff.h> | ||
29 | #include <net/sock.h> | ||
30 | |||
28 | #define MIP6_OPT_PAD_1 0 | 31 | #define MIP6_OPT_PAD_1 0 |
29 | #define MIP6_OPT_PAD_N 1 | 32 | #define MIP6_OPT_PAD_N 1 |
30 | 33 | ||
@@ -53,5 +56,6 @@ struct ip6_mh { | |||
53 | 56 | ||
54 | extern int mip6_init(void); | 57 | extern int mip6_init(void); |
55 | extern void mip6_fini(void); | 58 | extern void mip6_fini(void); |
59 | extern int mip6_mh_filter(struct sock *sk, struct sk_buff *skb); | ||
56 | 60 | ||
57 | #endif | 61 | #endif |