Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp859 int netmaskToPrefixLength(const uint8_t *buf, size_t buflen) { in netmaskToPrefixLength() function
885 int netmaskToPrefixLength(const T *p) { in netmaskToPrefixLength() function
886 return netmaskToPrefixLength(reinterpret_cast<const uint8_t*>(p), sizeof(T)); in netmaskToPrefixLength()
931 EXPECT_EQ(prefixLength, netmaskToPrefixLength(&nm->sin_addr)); in interfaceHasAddress()
932 return (prefixLength == netmaskToPrefixLength(&nm->sin_addr)); in interfaceHasAddress()
945 EXPECT_EQ(prefixLength, netmaskToPrefixLength(&nm->sin6_addr)); in interfaceHasAddress()
946 return (prefixLength == netmaskToPrefixLength(&nm->sin6_addr)); in interfaceHasAddress()