Lines Matching defs:requested_ip
604 req->requested_ip = *(be32_t*)option;
682 static int get_pool_offset(sd_dhcp_server *server, be32_t requested_ip) {
688 if (be32toh(requested_ip) < (be32toh(server->subnet) | server->pool_offset) ||
689 be32toh(requested_ip) >= (be32toh(server->subnet) | (server->pool_offset + server->pool_size)))
692 return be32toh(requested_ip & ~server->netmask) - server->pool_offset;
812 if (!req->requested_ip)
817 address = req->requested_ip;
818 } else if (req->requested_ip) {
828 address = req->requested_ip;
853 lease->address = req->requested_ip;