aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/in6.h1
-rw-r--r--include/linux/ipv6.h10
2 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/in6.h b/include/linux/in6.h
index 304aaedea305..086ec2ac8c5f 100644
--- a/include/linux/in6.h
+++ b/include/linux/in6.h
@@ -142,6 +142,7 @@ struct in6_flowlabel_req
142#define IPV6_TLV_PADN 1 142#define IPV6_TLV_PADN 1
143#define IPV6_TLV_ROUTERALERT 5 143#define IPV6_TLV_ROUTERALERT 5
144#define IPV6_TLV_JUMBO 194 144#define IPV6_TLV_JUMBO 194
145#define IPV6_TLV_HAO 201 /* home address option */
145 146
146/* 147/*
147 * IPV6 socket options 148 * IPV6 socket options
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
93struct ipv6_destopt_hao {
94 __u8 type;
95 __u8 length;
96 struct in6_addr addr;
97} __attribute__ ((__packed__));
98
89struct ipv6_auth_hdr { 99struct 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! */