Home
last modified time | relevance | path

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

/system/netd/server/
DNetdConstants.cpp114 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()
DRouteController.cpp357 uint8_t rawAddress[sizeof(in6_addr)]; in modifyIpRoute() local
360 int rawLength = parsePrefix(destination, &family, rawAddress, sizeof(rawAddress), in modifyIpRoute()
367 if (static_cast<size_t>(rawLength) > sizeof(rawAddress)) { in modifyIpRoute()
368 ALOGE("impossible! address too long (%d vs %zu)", rawLength, sizeof(rawAddress)); in modifyIpRoute()
424 { rawAddress, static_cast<size_t>(rawLength) }, in modifyIpRoute()
438 if (family == AF_INET6 && IN6_IS_ADDR_LINKLOCAL(reinterpret_cast<in6_addr*>(rawAddress))) { in modifyIpRoute()