Searched defs:requested_ip (Results 1 - 2 of 2) sorted by relevance

/systemd/src/libsystemd-network/
H A Ddhcp-server-internal.h81 be32_t requested_ip; member in struct:DHCPRequest
H A Dsd-dhcp-server.c604 req->requested_ip = *(be32_t*)option;
682 static int get_pool_offset(sd_dhcp_server *server, be32_t requested_ip) { argument
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;
[all...]

Completed in 262 milliseconds