Searched refs:test_lease (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/external/mpl/dhcp/dist/server/tests/
H A Dleaseq_unittest.c119 struct lease test_lease[3], *check_lease; local
126 memset(&test_lease[i], 0, sizeof(struct lease));
127 test_lease[i].sort_time = i;
129 lease_reference(&check_lease, &test_lease[i], MDL);
130 LEASE_INSERTP(&lq, &test_lease[i]);
136 if (check_lease != &test_lease[i])
144 LEASE_REMOVEP(&lq, &test_lease[2]);
146 if (check_lease != &test_lease[0])
149 if (check_lease != &test_lease[1])
152 LEASE_REMOVEP(&lq, &test_lease[
175 struct lease test_lease[3], *check_lease; local
237 struct lease test_lease[3], *check_lease; local
297 struct lease test_lease[3], *check_lease; local
375 struct lease test_lease[20], *check_lease; local
441 struct lease test_lease[20], *check_lease; local
[all...]

Completed in 183 milliseconds