Home
last modified time | relevance | path

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

/frameworks/base/libs/common_time/
Dcommon_time_server.cpp1440 const struct sockaddr_in* sa1 = in sockaddrMatch() local
1445 if (sa1->sin_addr.s_addr != sa2->sin_addr.s_addr) in sockaddrMatch()
1448 return (matchAddressOnly || (sa1->sin_port == sa2->sin_port)); in sockaddrMatch()
1452 const struct sockaddr_in6* sa1 = in sockaddrMatch() local
1457 if (memcmp(&sa1->sin6_addr, &sa2->sin6_addr, sizeof(sa2->sin6_addr))) in sockaddrMatch()
1460 return (matchAddressOnly || (sa1->sin6_port == sa2->sin6_port)); in sockaddrMatch()