Searched refs:prefixlist (Results 1 – 1 of 1) sorted by relevance
603 unsigned int GetPrefix(PIP_ADAPTER_PREFIX prefixlist, in GetPrefix() argument609 while (prefixlist) { in GetPrefix()611 if (prefixlist->Address.lpSockaddr == nullptr || in GetPrefix()612 prefixlist->Address.lpSockaddr->sa_family != ip.family()) { in GetPrefix()613 prefixlist = prefixlist->Next; in GetPrefix()616 switch (prefixlist->Address.lpSockaddr->sa_family) { in GetPrefix()619 reinterpret_cast<sockaddr_in*>(prefixlist->Address.lpSockaddr); in GetPrefix()625 reinterpret_cast<sockaddr_in6*>(prefixlist->Address.lpSockaddr); in GetPrefix()630 prefixlist = prefixlist->Next; in GetPrefix()634 if (TruncateIP(ip, prefixlist->PrefixLength) == current_prefix && in GetPrefix()[all …]