Lines Matching refs:rawLength
330 int rawLength = parsePrefix(destination, &family, rawAddress, sizeof(rawAddress),
332 if (rawLength < 0) {
333 ALOGE("parsePrefix failed for destination %s (%s)", destination, strerror(-rawLength));
334 return rawLength;
337 if (static_cast<size_t>(rawLength) > sizeof(rawAddress)) {
338 ALOGE("impossible! address too long (%d vs %zu)", rawLength, sizeof(rawAddress));
383 rtattr rtaDst = { U16_RTA_LENGTH(rawLength), RTA_DST };
384 rtattr rtaGateway = { U16_RTA_LENGTH(rawLength), RTA_GATEWAY };
392 { rawAddress, static_cast<size_t>(rawLength) },
396 { rawNexthop, nexthop ? static_cast<size_t>(rawLength) : 0 },