Searched refs:rawLength (Results 1 - 2 of 2) sorted by relevance
/system/netd/server/ |
H A D | NetdConstants.cpp | 221 int rawLength; local 229 rawLength = 4; 238 rawLength = 16; 247 if (rawLength > size) { 253 memcpy(address, rawAddress, rawLength); 256 return rawLength;
|
H A D | RouteController.cpp | 373 int rawLength = parsePrefix(destination, &family, rawAddress, sizeof(rawAddress), local 375 if (rawLength < 0) { 376 ALOGE("parsePrefix failed for destination %s (%s)", destination, strerror(-rawLength)); 377 return rawLength; 380 if (static_cast<size_t>(rawLength) > sizeof(rawAddress)) { 381 ALOGE("impossible! address too long (%d vs %zu)", rawLength, sizeof(rawAddress)); 426 rtattr rtaDst = { U16_RTA_LENGTH(rawLength), RTA_DST }; 427 rtattr rtaGateway = { U16_RTA_LENGTH(rawLength), RTA_GATEWAY }; 435 { rawAddress, static_cast<size_t>(rawLength) }, 439 { rawNexthop, nexthop ? static_cast<size_t>(rawLength) [all...] |
Completed in 81 milliseconds