Searched refs:rawAddress (Results 1 – 2 of 2) sorted by relevance
/system/netd/server/ |
D | NetdConstants.cpp | 114 void *rawAddress; in parsePrefix() local 122 rawAddress = &sin->sin_addr; in parsePrefix() 131 rawAddress = &sin6->sin6_addr; in parsePrefix() 147 memcpy(address, rawAddress, rawLength); in parsePrefix()
|
D | RouteController.cpp | 381 uint8_t rawAddress[sizeof(in6_addr)]; in modifyIpRoute() local 384 int rawLength = parsePrefix(destination, &family, rawAddress, sizeof(rawAddress), in modifyIpRoute() 391 if (static_cast<size_t>(rawLength) > sizeof(rawAddress)) { in modifyIpRoute() 392 ALOGE("impossible! address too long (%d vs %zu)", rawLength, sizeof(rawAddress)); in modifyIpRoute() 447 {rawAddress, static_cast<size_t>(rawLength)}, in modifyIpRoute() 461 if (family == AF_INET6 && IN6_IS_ADDR_LINKLOCAL(reinterpret_cast<in6_addr*>(rawAddress))) { in modifyIpRoute()
|