Lines Matching defs:addresses
103 * constant values of addresses for HOST_SELF_BIND, HOST_SELF_CONNECT
308 * no addresses because IP doesn't know how to specify
311 * the broadcast addresses are for any udp
423 * If the hostname is HOST_ANY, we return no addresses
576 * search will return the v4 addresses
577 * as v4mapped addresses.
741 * convert addresses back into sockaddr for gethostbyname.
788 * convert addresses back into servent for getservbyname.
1541 * Routines to order addresses based on local interfaces and netmasks,
1558 struct __ifaddr *addresses;
1569 #define ifaf(index) (localinfo->addresses[index].af)
1570 #define ifaddr4(index) (localinfo->addresses[index].addr.in4)
1571 #define ifaddr6(index) (localinfo->addresses[index].addr.in6)
1572 #define ifmask4(index) (localinfo->addresses[index].mask.in4)
1573 #define ifmask6(index) (localinfo->addresses[index].mask.in6)
1582 &localinfo->addresses[index], type, \
1592 * Sort the addresses in haddrlist. Since the sorting algorithms are
1596 * Do not sort addresses if SORT_ADDRS variable is set to NO or FALSE
1598 * the order of addresses returned by the nameserver needs to be
1615 * file. We do not have to sort addresses in that case.
1627 /* Count the addresses to sort */
1633 * If there's only one address or no addresses to sort, then
1653 * Move any local (on-link) addresses toward the beginning of haddrlist.
1739 * Classify the addresses. We also maintain the classcount
1740 * array to keep track of the number of addresses in each
1767 /* Now for the actual rearrangement of the addresses */
1810 /* Copy the addresses back into in6addrlist */
1821 * Determine number of leading bits that are common between two addresses.
1843 * in the xor of the two addresses.
1877 * functions compare two addresses (described by two dstinforeq
1889 * addresses first on the list, "less than" is considered preferrable.
1895 /* Prefer the addresses that is reachable. */
2015 * At this point, the order doesn't matter if the two addresses
2033 * address comparisons. It compares two addresses using a list of
2066 * nd_addrlist. The new nd_addrlist maintains the order of the addresses
2069 * IPv4-mapped IPv6 addresses.
2088 * Exclude IPv4-mapped IPv6 addresses from the count, as
2234 * *** ASSUMES that nd_addrlist->n_addrs->buf contains IP addresses in
2255 * addresses themselves at the end of the buffer.
2614 localinfo->addresses = (struct __ifaddr *)
2725 * handle matching on IPv4 network addresses.
3031 * building addresses stored in the ifnet structure.
3054 * to determine if the addresses need to be sorted.