Lines Matching defs:prefix
947 * single prefix for each IP address assigned to the adapter.
949 * so we need to find corresponding prefix.
951 IP_ADAPTER_PREFIX* prefix;
954 for (prefix = adapter->FirstPrefix; prefix; prefix = prefix->Next) {
955 /* We want the longest matching prefix. */
956 if (prefix->Address.lpSockaddr->sa_family != sa->sa_family ||
957 prefix->PrefixLength <= prefix_len)
961 prefix->Address.lpSockaddr, prefix->PrefixLength)) {
962 prefix_len = prefix->PrefixLength;
966 /* If there is no matching prefix information, return a single-host