mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
remove _S6_u64 from the in6_addr, and define struct in6_pktinfo
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user