Lines Matching refs:rawLength
358 int rawLength = parsePrefix(destination, &family, rawAddress, sizeof(rawAddress),
360 if (rawLength < 0) {
361 ALOGE("parsePrefix failed for destination %s (%s)", destination, strerror(-rawLength));
362 return rawLength;
365 if (static_cast<size_t>(rawLength) > sizeof(rawAddress)) {
366 ALOGE("impossible! address too long (%d vs %zu)", rawLength, sizeof(rawAddress));
411 rtattr rtaDst = { U16_RTA_LENGTH(rawLength), RTA_DST };
412 rtattr rtaGateway = { U16_RTA_LENGTH(rawLength), RTA_GATEWAY };
420 { rawAddress, static_cast<size_t>(rawLength) },
424 { rawNexthop, nexthop ? static_cast<size_t>(rawLength) : 0 },