Home
last modified time | relevance | path

Searched refs:prefixlist (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/webrtc/base/
Dnetwork.cc488 unsigned int GetPrefix(PIP_ADAPTER_PREFIX prefixlist, in GetPrefix() argument
493 while (prefixlist) { in GetPrefix()
495 if (prefixlist->Address.lpSockaddr == NULL || in GetPrefix()
496 prefixlist->Address.lpSockaddr->sa_family != ip.family()) { in GetPrefix()
497 prefixlist = prefixlist->Next; in GetPrefix()
500 switch (prefixlist->Address.lpSockaddr->sa_family) { in GetPrefix()
503 reinterpret_cast<sockaddr_in*>(prefixlist->Address.lpSockaddr); in GetPrefix()
509 reinterpret_cast<sockaddr_in6*>(prefixlist->Address.lpSockaddr); in GetPrefix()
514 prefixlist = prefixlist->Next; in GetPrefix()
518 if (TruncateIP(ip, prefixlist->PrefixLength) == current_prefix && in GetPrefix()
[all …]