Home | History | Annotate | Download | only in server

Lines Matching defs:rawLength

373     int rawLength = parsePrefix(destination, &family, rawAddress, sizeof(rawAddress),
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) : 0 },