Searched refs:leases (Results 1 – 25 of 33) sorted by relevance
12
... # define LEASEFILE "/var/db/dnsmasq.leases" 6 #else 7-# define LEASEFILE "/var ...
21 static struct dhcp_lease *leases = NULL, *old_leases = NULL; variable153 for (lease = leases; lease; lease = lease->next) in lease_update_from_configs()186 for (lease = leases; lease; lease = lease->next) in lease_update_file()224 for (next_event = 0, lease = leases; lease; lease = lease->next) in lease_update_file()251 for (lease = leases; lease; lease = lease->next) in lease_update_dns()268 for (lease = leases, up = &leases; lease; lease = tmp) in lease_prune()298 for (lease = leases; lease; lease = lease->next) in lease_find_by_client()303 for (lease = leases; lease; lease = lease->next) in lease_find_by_client()318 for (lease = leases; lease; lease = lease->next) in lease_find_by_addr()340 lease->next = leases; in lease_allocate()[all …]
1 This script can be used to implement persistent leases on openWRT, DD-WRT2 etc. Persistent leases are good: if the lease database is lost on a4 leases. Until a host renews (which may take hours/days) it will14 The principle is that leases are kept in NV variable with data30 suck existing leases out of the NVRAM and emit them from58 It probably makes sense to restrict the number of active DHCP leases61 about 100 bytes, so restricting the number of leases to 50 will limit
27 rm /var/run/dhclient.leases-$GIFNAME42 rm /var/run/dhclient.leases-$GIFNAME58 -lf /var/run/dhclient.leases-$GIFNAME \72 rm /var/run/dhclient.leases-$GIFNAME
28 JSONObject leases = object.get("connected_duts").isObject(); in fromJson() local29 for (String lease : leases.keySet()) { in fromJson()30 connectedIpsToMacAddresses.put(lease, leases.get(lease).isString().stringValue()); in fromJson()
14 - fs/leases-enable44 - fs/leases-enable:45 - 0: no leases on files allowed.46 - 1: leases are allowed to be established on a file.
61 update-static-leases off;76 update-static-leases off;
80 mv dhclient${TST_IPV6}.leases $dhclient_lease
464 leases = _get_dhcp_dut_leases()478 'connected_duts': leases})488 leases = {}497 leases[ipaddress] = mac_address_search.group(1)498 return leases
194 leases = set(self.run('grep ^lease %s' % DHCPD_LEASE_FILE,196 for lease in leases:
12 Tests that shill can renew leases through dhcpcd, and deconfigures an
11 Tests that shill can renew leases through dhcpcd. In particular,
26 # removed when DHCP leases expire. After editing this file, send
55 …{ "-9, --leasefile-ro", gettext_noop("Read leases at startup, but never write the lease file."), N…
30 leases and BOOTP for network booting of diskless machines.
222 -lf /tmp/dhclient.leases 1>&2;
219 msgid "Specify where to store DHCP leases (defaults to %s)."291 msgid "Specify the domain to be assigned in DHCP leases."338 msgid "Specify maximum number of DHCP leases (defaults to %s)."980 msgid "DHCP, static leases only on %.0s%s, lease time %s"1154 msgid "too many stored leases"1220 msgid "no leases left"
255 msgid "Specify where to store DHCP leases (defaults to %s)."327 msgid "Specify the domain to be assigned in DHCP leases."374 msgid "Specify maximum number of DHCP leases (defaults to %s)."1023 msgid "DHCP, static leases only on %.0s%s, lease time %s"1197 msgid "too many stored leases"1263 msgid "no leases left"
223 msgid "Specify where to store DHCP leases (defaults to %s)."298 msgid "Specify the domain to be assigned in DHCP leases."347 msgid "Specify maximum number of DHCP leases (defaults to %s)."1011 msgid "DHCP, static leases only on %.0s%s, lease time %s"1186 msgid "too many stored leases"1252 msgid "no leases left"1474 #~ msgid "Read leases at startup, but never write the lease file."1481 #~ msgid "Limit of %d leases exceeded."
223 msgid "Specify where to store DHCP leases (defaults to %s)."298 msgid "Specify the domain to be assigned in DHCP leases."347 msgid "Specify maximum number of DHCP leases (defaults to %s)."1008 msgid "DHCP, static leases only on %.0s%s, lease time %s"1185 msgid "too many stored leases"1251 msgid "no leases left"
225 msgid "Specify where to store DHCP leases (defaults to %s)."300 msgid "Specify the domain to be assigned in DHCP leases."349 msgid "Specify maximum number of DHCP leases (defaults to %s)."1009 msgid "DHCP, static leases only on %.0s%s, lease time %s"1184 msgid "too many stored leases"1250 msgid "no leases left"
287 } leases; member683 sltmp->next = gstate.leases.sleases; in get_staticlease()684 gstate.leases.sleases = sltmp; in get_staticlease()1319 for (sls6 = gstate.leases.sleases6; sls6; sls6 = sls6->next) in verifyip6_in_lease()1343 for (sls = gstate.leases.sleases; sls; sls = sls->next) in verifyip_in_lease()1436 static_lease *sls = gstate.leases.sleases; in getip_from_pool()1483 static_lease6 *sls6 = gstate.leases.sleases6; in getip6_from_pool()
136 Included code from John Volpe to parse dhcp.leases file137 written by ISC dhcpd. The hostnames in the leases file are139 leases file. The code has been heavily re-worked by me,166 Cope with infinite DHCP leases. Patch thanks to 238 Fixed a bug which caused old entries in the DHCP leases file321 release 1.10 Log warnings if resolv.conf or dhcp.leases are not514 Restrict checking of resolv.conf and DHCP leases files600 and leases files and reject illegal ones with a message616 the code to read ISC dhcp.leases. This wins in terms 699 Allow the name->address mapping for static DHCP leases to[all …]