Home
last modified time | relevance | path

Searched refs:pool_size (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/libsystemd-network/
Dsd-dhcp-server.c96 …if (server->address != address->s_addr || server->netmask != netmask || server->pool_size != size … in sd_dhcp_server_configure_pool()
99 server->pool_size = size; in sd_dhcp_server_configure_pool()
854 if (server->pool_size == 0) in address_is_in_pool()
861 … be32toh(address) >= (be32toh(server->subnet) | (server->pool_offset + server->pool_size))) in address_is_in_pool()
1106 if (server->pool_size == 0) in dhcp_server_handle_message()
1127 for (unsigned i = 0; i < server->pool_size; i++) { in dhcp_server_handle_message()
1130 … tmp_address = server->subnet | htobe32(server->pool_offset + (hash + i) % server->pool_size); in dhcp_server_handle_message()
Ddhcp-server-internal.h63 uint32_t pool_size; member