diff options
author | Noriaki TAKAMIYA <takamiya@po.ntts.co.jp> | 2006-08-23 22:21:34 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:06:52 -0400 |
commit | 842426e719f86cd5709617208efae93ff1a1e2d8 (patch) | |
tree | aa18a6fae1c45b645c8ae8fcb1568e3d3502cabc /include/linux/ipv6.h | |
parent | a80ff03e05e4343d647780c116b02ec86078fd24 (diff) |
[IPV6] MIP6: Add home address option definition.
Add home address option definition for Mobile IPv6.
Based on MIPL2 kernel patch.
Signed-off-by: Noriaki TAKAMIYA <takamiya@po.ntts.co.jp>
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/linux/ipv6.h')
-rw-r--r-- | include/linux/ipv6.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index d995662e94c4..5bf4406e26d4 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h | |||
@@ -86,6 +86,16 @@ struct rt2_hdr { | |||
86 | #define rt2_type rt_hdr.type | 86 | #define rt2_type rt_hdr.type |
87 | }; | 87 | }; |
88 | 88 | ||
89 | /* | ||
90 | * home address option in destination options header | ||
91 | */ | ||
92 | |||
93 | struct ipv6_destopt_hao { | ||
94 | __u8 type; | ||
95 | __u8 length; | ||
96 | struct in6_addr addr; | ||
97 | } __attribute__ ((__packed__)); | ||
98 | |||
89 | struct ipv6_auth_hdr { | 99 | struct ipv6_auth_hdr { |
90 | __u8 nexthdr; | 100 | __u8 nexthdr; |
91 | __u8 hdrlen; /* This one is measured in 32 bit units! */ | 101 | __u8 hdrlen; /* This one is measured in 32 bit units! */ |