Lines Matching refs:addresses

101  * constant values of addresses for HOST_SELF_BIND, HOST_SELF_CONNECT
296 * no addresses because IP doesn't know how to specify
299 * the broadcast addresses are for any udp
419 * If the hostname is HOST_ANY, we return no addresses
570 * search will return the v4 addresses
571 * as v4mapped addresses.
737 * convert addresses back into sockaddr for gethostbyname.
784 * convert addresses back into servent for getservbyname.
1533 * Routines to order addresses based on local interfaces and netmasks,
1550 struct __ifaddr *addresses;
1561 #define ifaf(index) (localinfo->addresses[index].af)
1562 #define ifaddr4(index) (localinfo->addresses[index].addr.in4)
1563 #define ifaddr6(index) (localinfo->addresses[index].addr.in6)
1564 #define ifmask4(index) (localinfo->addresses[index].mask.in4)
1565 #define ifmask6(index) (localinfo->addresses[index].mask.in6)
1574 &localinfo->addresses[index], type, \
1584 * Sort the addresses in haddrlist. Since the sorting algorithms are
1588 * Do not sort addresses if SORT_ADDRS variable is set to NO or FALSE
1590 * the order of addresses returned by the nameserver needs to be
1607 * file. We do not have to sort addresses in that case.
1619 /* Count the addresses to sort */
1625 * If there's only one address or no addresses to sort, then
1645 * Move any local (on-link) addresses toward the beginning of haddrlist.
1731 * Classify the addresses. We also maintain the classcount
1732 * array to keep track of the number of addresses in each
1759 /* Now for the actual rearrangement of the addresses */
1802 /* Copy the addresses back into in6addrlist */
1813 * Determine number of leading bits that are common between two addresses.
1835 * in the xor of the two addresses.
1869 * functions compare two addresses (described by two dstinforeq
1881 * addresses first on the list, "less than" is considered preferrable.
1887 /* Prefer the addresses that is reachable. */
2007 * At this point, the order doesn't matter if the two addresses
2025 * address comparisons. It compares two addresses using a list of
2058 * nd_addrlist. The new nd_addrlist maintains the order of the addresses
2061 * IPv4-mapped IPv6 addresses.
2080 * Exclude IPv4-mapped IPv6 addresses from the count, as
2226 * *** ASSUMES that nd_addrlist->n_addrs->buf contains IP addresses in
2247 * addresses themselves at the end of the buffer.
2606 localinfo->addresses = (struct __ifaddr *)
2717 * handle matching on IPv4 network addresses.
3023 * building addresses stored in the ifnet structure.
3046 * to determine if the addresses need to be sorted.