aboutsummaryrefslogtreecommitdiff
path: root/dhcp6.h
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp6.h')
-rw-r--r--dhcp6.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/dhcp6.h b/dhcp6.h
index 6afb517..9f3a62d 100644
--- a/dhcp6.h
+++ b/dhcp6.h
@@ -108,6 +108,13 @@ typedef uint64_t u_int64_t;
#define DHCP6_IRT_DEFAULT 86400 /* 1 day */
#define DHCP6_IRT_MINIMUM 600
+#ifndef HAVE_IN6_PKTINFO
+struct in6_pktinfo {
+ struct in6_addr ipi6_addr; /* src/dst IPv6 address */
+ unsigned int ipi6_ifindex; /* send/recv interface index */
+};
+#endif
+
/* DUID: DHCP unique Identifier */
struct duid {
size_t duid_len; /* length */