aboutsummaryrefslogtreecommitdiff
path: root/dhcp6.h
diff options
context:
space:
mode:
authorJeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr>2010-03-25 10:07:03 +0100
committerBjørn Mork <bjorn@mork.no>2010-08-06 15:37:37 +0200
commitaeedae61d12778c4428a7e266913221269480162 (patch)
tree023ce3b78a8d62a129032fc6028d457f5e9199c1 /dhcp6.h
parent2fa86d0c611b69e175c3b07116e9b67b85fe20ef (diff)
102_libc6-2.9-fixes.diff from the Debian package version 20080615-8:
"Fixes for recent libc releases." [ignoring changes to the build generated cftoken.c file] Signed-off-by: Bjørn Mork <bjorn@mork.no>
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 */