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.cpp1441 const struct sockaddr_in* sa1 = in sockaddrMatch() local
1446 if (sa1->sin_addr.s_addr != sa2->sin_addr.s_addr) in sockaddrMatch()
1449 return (matchAddressOnly || (sa1->sin_port == sa2->sin_port)); in sockaddrMatch()
1453 const struct sockaddr_in6* sa1 = in sockaddrMatch() local
1458 if (memcmp(&sa1->sin6_addr, &sa2->sin6_addr, sizeof(sa2->sin6_addr))) in sockaddrMatch()
1461 return (matchAddressOnly || (sa1->sin6_port == sa2->sin6_port)); in sockaddrMatch()