summaryrefslogtreecommitdiff
path: root/includes/dhcp6.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/dhcp6.h')
-rw-r--r--includes/dhcp6.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/dhcp6.h b/includes/dhcp6.h
index 146302a3..3de15ce3 100644
--- a/includes/dhcp6.h
+++ b/includes/dhcp6.h
@@ -103,6 +103,10 @@ extern const int dhcpv6_type_name_max;
#define DUID_EN 2
#define DUID_LL 3
+/* Offsets into IA_*'s where Option spaces commence. */
+#define IA_NA_OFFSET 12 /* IAID, T1, T2, all 4 octets each */
+#define IA_TA_OFFSET 4 /* IAID only, 4 octets */
+
/*
* DHCPv6 well-known multicast addressess, from section 5.1 of RFC 3315
*/