Lines Matching refs:tmp_pref
1465 struct in6_addr tmp_pref; in try_client_v6_prefix() local
1469 if (requested_pref->len < sizeof(tmp_plen) + sizeof(tmp_pref)) { in try_client_v6_prefix()
1478 memcpy(&tmp_pref, requested_pref->data + 1, sizeof(tmp_pref)); in try_client_v6_prefix()
1479 if (IN6_IS_ADDR_UNSPECIFIED(&tmp_pref)) { in try_client_v6_prefix()
1484 memcpy(&ia.iabuf, &tmp_pref, 16); in try_client_v6_prefix()
1489 if (!ipv6_in_pool(&tmp_pref, pool) || in try_client_v6_prefix()
1494 if (prefix6_exists(pool, &tmp_pref, tmp_plen)) { in try_client_v6_prefix()
1503 (*pref)->addr = tmp_pref; in try_client_v6_prefix()
4501 struct iaddrcidrnet tmp_pref; local
4550 tmp_pref.lo_addr.len = 16;
4551 memset(tmp_pref.lo_addr.iabuf, 0, 16);
4553 (memcmp(iapref.data + 9, tmp_pref.lo_addr.iabuf, 16) == 0)) {
4562 tmp_pref.bits = (int) iapref.data[8];
4565 reply->preflen = tmp_pref.bits;
4567 if (memcmp(iapref.data + 9, tmp_pref.lo_addr.iabuf, 16) == 0) {
4571 memcpy(tmp_pref.lo_addr.iabuf, iapref.data + 9, 16);
4574 if (!prefix_is_owned(reply, &tmp_pref)) {
4579 status = reply_process_try_prefix(reply, &tmp_pref);
4649 memcpy(&reply->fixed_pref, &tmp_pref, sizeof(tmp_pref));
4707 status = reply_process_send_prefix(reply, &tmp_pref);