| /src/etc/rc.d/ |
| dhcpd | 21 if [ ! -e "/var/db/${name}.leases" ]; then 22 echo "Creating /var/db/${name}.leases" 23 touch /var/db/${name}.leases
|
| dhcpd6 | 21 if [ ! -e "/var/db/${name}.leases" ]; then 22 echo "Creating /var/db/${name}.leases" 23 touch /var/db/${name}.leases
|
| /src/external/mpl/dhcp/dist/tests/failover/ |
| new-failover | 5 cat >>dhcp-1.leases <<~ 16 cat >>dhcp-2.leases <<~
|
| /src/external/mpl/dhcp/dist/contrib/ |
| dhcp-lease-list.pl | 3 # Shows current leases. 30 my @LEASES = ('/var/db/dhcpd.leases', '/var/lib/dhcp/dhcpd.leases', '/var/lib/dhcp3/dhcpd.leases'); 32 my @leases; 74 ## Read current leases file into array. 78 for my $db_cand (@LEASES) { 84 die("Cannot find leases db") unless defined $db; 86 print("Reading leases from $db\n") if $opt_format eq 'human' [all...] |
| 3.0b1-lease-convert | 79 given) and writes to stdout. Converts a 3.0b1-style leases file to a 3.0b2
|
| /src/external/bsd/wpa/dist/wpa_supplicant/examples/ |
| p2p-action.sh | 27 rm /var/run/dhclient.leases-$GIFNAME 42 rm /var/run/dhclient.leases-$GIFNAME 58 -lf /var/run/dhclient.leases-$GIFNAME \ 72 rm /var/run/dhclient.leases-$GIFNAME
|
| /src/sys/external/bsd/drm2/dist/include/drm/ |
| drm_auth.h | 86 * @leases: Objects leased to this drm_master. 112 /* Tree of display resource leases, each of which is a drm_master struct 122 struct idr leases; member in struct:drm_master
|
| /src/external/mpl/dhcp/bin/server/ |
| Makefile | 8 MAN = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
|
| /src/external/mpl/dhcp/dist/server/ |
| mdb6.c | 169 * does find appropriate leases it moves them from the old IA to 670 if (!iasubopt_new_hash(&tmp->leases, DEFAULT_HASH_SIZE, file, line)) { 791 iasubopt_hash_foreach(tmp->leases, dereference_hash_entry); 792 iasubopt_free_hash_table(&(tmp->leases), file, line); 1101 (iasubopt_hash_lookup(&test_iaaddr, pool->leases, 1204 if (iasubopt_hash_lookup(&test_iaaddr, pool->leases, 1207 /* See if it's ours. Static leases won't have an ia */ 1254 * \brief Cleans up leases when reading from a lease file 1256 * This function is only expected to be run when reading leases in from a file. 1257 * It checks to see if a lease already exists for the new leases's address [all...] |
| ddns.c | 167 * For v4 we flag static leases so we don't try 169 * get static leases and don't need to flag them. 242 /* XXX: note that we cannot detect static DHCPv6 leases. */ 823 * In some cases (static and inactive leases) we don't expect a scope 847 * or some types of v4 leases we don't actually have a 865 if (iasubopt_hash_lookup(&lease6, pool->leases, 956 * by forcibly searching for leases in *all* following pools, that would 1046 * DNS update for fixed leases. As we no longer 1281 if (iasubopt_hash_lookup(&find_lease6, pool->leases, 2041 * For v4 we flag static leases so we don't tr [all...] |
| dhcpleasequery.c | 49 * We do this by looking through all of the leases associated with a 723 * TODO: get fixed leases too. 974 if (iasubopt_hash_lookup(&iaaddr, pool->leases, &addr,
|
| failover.c | 1499 log_info ("pool response: %ld leases", 1752 * \brief Return any leases on the ack queue back to the update queue 1992 /* If necessary fix up the tiebreaker so the leases 2507 "Peer may be out of leases or database inconsistent.", 2546 /* Right now we're giving the peer half of the free leases. 2547 If we have more leases than the peer (i.e., more than 2548 half), then the number of leases we have, less the number 2549 of leases the peer has, will be how many more leases we 2570 * If we need leases (so lts is negative) more than negativ [all...] |
| /src/external/mpl/dhcp/dist/ |
| Makefile.am | 25 doc/ja_JP.eucJP/dhclient.conf.5 doc/ja_JP.eucJP/dhclient.leases.5 \
|
| configure | 1474 --enable-binary-leases enable support for binary insertion of leases 1491 File for dhcpd leases (default is 1492 LOCALSTATEDIR/db/dhcpd.leases) 1494 File for dhcpd6 leases (default is 1495 LOCALSTATEDIR/db/dhcpd6.leases) 1497 File for dhclient leases (default is 1498 LOCALSTATEDIR/db/dhclient.leases) 1500 File for dhclient6 leases (default is 1501 LOCALSTATEDIR/db/dhclient6.leases) [all...] |
| /src/sys/external/bsd/drm2/dist/drm/ |
| drm_auth.c | 126 idr_init(&master->leases); 293 /* Revoke any leases held by this or lessees, but only if 348 idr_destroy(&master->leases);
|
| /src/external/mpl/dhcp/dist/client/ |
| clparse.c | 1166 the leases originated from the same source. In other words, 1168 file. This keeps us from discarding fallback leases */ 1169 discard_duplicate (&client->leases, lease); 1172 leases - don't make it the active lease. */ 1174 lease -> next = client -> leases; 1175 client -> leases = lease; 1188 we put it on the list of leases for this interface which are 1200 client -> active -> next = client -> leases; 1201 client -> leases = client -> active;
|
| dhclient.c | 1235 * offered_leases: leases corresponding to DHCPOFFER messages that have 1237 * acked_leases: leases corresponding to DHCPACK messages that have been 1244 * In leases on the acked_leases list, this simply determines when we 1447 * the only criterion by which we judge leases is whether or 1468 * If we just tossed all the leases we were offered, go back 1771 add_to_tail(&client->leases, client->active); 2675 * \brief Remove leases from a list of leases which duplicate a given lease 2677 * Searches through a linked-list of leases, remove the first one matches the 2679 * so we only remove leases that are from the same source (i.e server/lease fil [all...] |
| /src/external/mpl/dhcp/dist/includes/ |
| dhcpd.h | 191 /* We have user reports of use of ISC DHCP numbering leases in the 200k's. 195 * hundred thousand leases, there's ~2-3 leases to search in each bucket. 235 /* Lease queue information. We have two ways of storing leases. 1106 /* A class may be configured to permit a limited number of leases. */ 1310 struct client_lease *offered_leases; /* Leases offered to us. */ 1311 struct client_lease *leases; /* Leases we currently hold. */ member in struct:client_state 1553 #define _PATH_DHCPD_DB "dhcpd.leases" 1555 #define _PATH_DHCPD6_DB "dhcpd6.leases" 1715 iasubopt_hash_t *leases; \/* non-free leases *\/ member in struct:ipv6_pool [all...] |