]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove _S6_u64 from the in6_addr, and define struct in6_pktinfo
authorMichael Graff <mgraff@isc.org>
Fri, 3 Dec 1999 01:22:40 +0000 (01:22 +0000)
committerMichael Graff <mgraff@isc.org>
Fri, 3 Dec 1999 01:22:40 +0000 (01:22 +0000)
lib/isc/include/isc/ipv6.h

index 96ff34421c42d3c0e8746e6ade1a74688d6cc8f5..1e106dbbe38edffe575acd33438a720f3ca3d6ce 100644 (file)
@@ -59,9 +59,6 @@ struct in6_addr {
                isc_uint8_t     _S6_u8[16];
                isc_uint16_t    _S6_u16[8];
                isc_uint32_t    _S6_u32[4];
-#if 0 /* Is this really part of the standard? */
-               isc_uint64_t    _S6_u64[2];
-#endif
         } _S6_un;
 };
 #define s6_addr                _S6_un._S6_u8
@@ -92,6 +89,11 @@ struct sockaddr_in6 {
 #define SIN6_LEN 1
 #endif
 
+struct in6_pktinfo {
+       struct in6_addr ipi6_addr;    /* src/dst IPv6 address */
+       unsigned int    ipi6_ifindex; /* send/recv interface index */
+};
+
 /*
  * Unspecified
  */