summaryrefslogtreecommitdiff
path: root/accel-pppd/ipv6/dhcpv6.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ipv6/dhcpv6.h')
-rw-r--r--accel-pppd/ipv6/dhcpv6.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/accel-pppd/ipv6/dhcpv6.h b/accel-pppd/ipv6/dhcpv6.h
index 6c5d164c..c584eda1 100644
--- a/accel-pppd/ipv6/dhcpv6.h
+++ b/accel-pppd/ipv6/dhcpv6.h
@@ -32,6 +32,8 @@
#define D6_OPTION_RECONF_ACCEPT 20
#define D6_OPTION_DNS_SERVERS 23
#define D6_OPTION_DOMAIN_LIST 24
+#define D6_OPTION_IA_PD 25
+#define D6_OPTION_IAPREFIX 26
#define D6_SOLICIT 1
#define D6_ADVERTISE 2
@@ -141,6 +143,15 @@ struct dhcpv6_opt_status
char msg[0];
} __packed;
+struct dhcpv6_opt_ia_prefix
+{
+ struct dhcpv6_opt_hdr hdr;
+ uint32_t pref_lifetime;
+ uint32_t valid_lifetime;
+ uint8_t prefix_len;
+ struct in6_addr prefix;
+} __packed;
+
struct dhcpv6_option
{