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

/systemd/src/libsystemd-network/
H A Ddhcp-server-internal.h58 uint32_t pool_offset; member in struct:sd_dhcp_server
H A Dsd-dhcp-server.c84 server->pool_offset = offset;
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;
760 address = server->subnet | htobe32(server->pool_offset + next_offer);
795 int pool_offset; local
842 pool_offset = get_pool_offset(server, address);
846 if (pool_offset >= 0 &&
847 server->bound_leases[pool_offset] == existing_lease) {
892 server->bound_leases[pool_offset]
916 int pool_offset; local
[all...]

Completed in 29 milliseconds