Home
last modified time | relevance | path

Searched refs:host_uid_hash (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/mpl/dhcp/dist/server/tests/
H A Dhash_unittest.c133 ATF_CHECK_MSG(host_new_hash(&host_uid_hash, HOST_HASH_SIZE, MDL) != 0, in lease_hash_test_2hosts()
157 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid1, in lease_hash_test_2hosts()
163 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid2, in lease_hash_test_2hosts()
170 host_hash_add(host_uid_hash, clientid1, clientid1_len, host1, MDL); in lease_hash_test_2hosts()
178 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid1, in lease_hash_test_2hosts()
199 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid2, in lease_hash_test_2hosts()
206 host_hash_add(host_uid_hash, clientid2, clientid2_len, host2, MDL); in lease_hash_test_2hosts()
211 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid2, in lease_hash_test_2hosts()
227 ATF_CHECK_MSG(host_hash_lookup(&check, host_uid_hash, clientid1, in lease_hash_test_2hosts()
249 host_hash_delete(host_uid_hash, clientid1, clientid1_len, MDL); in lease_hash_test_2hosts()
[all …]
/netbsd-src/external/mpl/dhcp/dist/server/
H A Dmdb.c40 host_hash_t *host_uid_hash; variable
190 if (host_uid_hash == NULL) { in change_host_uid()
191 if (!host_new_hash(&host_uid_hash, HOST_HASH_SIZE, MDL)) { in change_host_uid()
200 host_hash_delete(host_uid_hash, in change_host_uid()
221 host_hash_add(host_uid_hash, host->client_identifier.data, in change_host_uid()
354 if (!host_uid_hash) {
355 if (!host_new_hash(&host_uid_hash,
359 host_hash_add (host_uid_hash,
367 if (host_hash_lookup (&hp, host_uid_hash,
384 host_hash_add (host_uid_hash,
[all …]
H A Ddb.c1129 log_info("Host UID hash: %s", host_hash_report(host_uid_hash)); in db_startup()
H A Domapi.c1407 host_hash_lookup (&host, host_uid_hash, in dhcp_host_lookup()
/netbsd-src/external/mpl/dhcp/dist/includes/
H A Ddhcpd.h3528 extern host_hash_t *host_uid_hash;