Lines Matching defs:ipv4
332 // Set up the IPv4 unicast socket
1575 dlog( kDebugLevelError, DEBUG_NAME "%s: dst is not an IPv4 or IPv6 address (type=%d)\n", __ROUTINE__, inDstIP->type );
2463 // Set up IPv4 interface(s). We have to set up IPv4 first so any IPv6 interface with an IPv4-routable address
2464 // can refer to the IPv4 interface when it registers to allow DNS AAAA records over the IPv4 interface.
2529 // Set up IPv6 interface(s) after IPv4 is set up (see IPv4 notes above for reasoning).
2760 // We always send and receive using IPv4, but to reduce traffic, we send and receive using IPv6 only on interfaces
2761 // that have no routable IPv4 address. Having a routable IPv4 address assigned is a reasonable indicator of being
2926 // Set up an IPv4 or IPv6 UDP socket.
2965 mDNSv4Addr ipv4;
2971 ipv4.NotAnInteger = ( (const struct sockaddr_in *) inAddr )->sin_addr.s_addr;
2975 sa4.sin_addr.s_addr = ipv4.NotAnInteger;
2991 mreqv4.imr_interface.s_addr = ipv4.NotAnInteger;
2997 sa4.sin_addr.s_addr = ipv4.NotAnInteger;
3047 // We only want to receive IPv6 packets (not IPv4-mapped IPv6 addresses) because we have a separate socket
3048 // for IPv4, but the IPv6 stack in Windows currently doesn't support IPv4-mapped IPv6 addresses and doesn't
3511 // Use the new IPv6-capable routine if supported. Otherwise, fall back to the old and compatible IPv4-only code.
3591 dlog( kDebugLevelAlert, DEBUG_NAME "%s: IPv4 ifindex out-of-range (0x%08X)\n", __ROUTINE__, iaa->IfIndex );
3598 // For IPv4 interfaces, there seems to be a bug in iphlpapi.dll that causes the
3687 // Windows does not have a uniform scheme for IPv4 and IPv6 interface indexes.
3688 // This code used to shift the IPv4 index up to ensure uniqueness between
3693 // make sense to make our use of IPv4 as confusion free as possible.
3696 // leave IPv4 interface indexes unmodified.
3746 // Get subnet mask (IPv4)/link prefix (IPv6). It is specified as a bit length (e.g. 24 for 255.255.255.0).
3769 dlog( kDebugLevelInfo, DEBUG_NAME "%s: IPv4 mask = %s\n", __ROUTINE__, inet_ntoa( sa4->sin_addr ) );
3887 // Process the raw interface list and build a linked list of IPv4 interfaces.
4108 // For now, this is only for IPv4 addresses. That is why we can safely cast
4196 // For now, only works for IPv4 interfaces