HomeSort by relevance Sort by last modified time
    Searched refs:LEASEFILE (Results 1 - 7 of 7) sorted by null

  /external/dhcpcd/
defs.h 42 #ifndef LEASEFILE
43 # define LEASEFILE DBDIR "/" PACKAGE "-%s.lease"
showlease.c 126 get_lease_from_file(const char *leasefile)
132 fd = open(leasefile, O_RDONLY);
322 char leasefile[PATH_MAX]; local
328 snprintf(leasefile, PATH_MAX, LEASEFILE, argv[1]);
329 if ((dhcp = get_lease_from_file(leasefile)) == NULL) {
net.c 232 snprintf(iface->leasefile, sizeof(iface->leasefile),
233 LEASEFILE, ifname);
dhcpcd.c 436 unlink(iface->leasefile);
533 unlink(iface->leasefile);
764 unlink(iface->leasefile);
1225 stat(iface->leasefile, &st) == 0)
1271 /* We need to drop the leasefile so that start_interface
1274 unlink(iface->leasefile);
    [all...]
  /external/dnsmasq/src/
config.h 27 #define LEASE_RETRY 60 /* on error, retry writing leasefile after LEASE_RETRY seconds */
44 #ifndef LEASEFILE
46 # define LEASEFILE "/var/db/dnsmasq.leases"
48 # define LEASEFILE "/var/cache/dnsmasq.leases"
50 # define LEASEFILE "/data/misc/dhcp/dnsmasq.leases"
52 # define LEASEFILE "/var/lib/misc/dnsmasq.leases"
dnsmasq.c 127 daemon->lease_file = LEASEFILE;
    [all...]
option.c 125 { "dhcp-leasefile", 2, 0, 'l' },
175 { "leasefile-ro", 0, 0, '9' },
256 { 'l', ARG_ONE, "path", gettext_noop("Specify where to store DHCP leases (defaults to %s)."), LEASEFILE },
300 { '9', OPT_LEASE_RO, NULL, gettext_noop("Do not use leasefile."), NULL },
    [all...]

Completed in 192 milliseconds