Home
last modified time | relevance | path

Searched refs:lease_file (Results 1 – 7 of 7) sorted by relevance

/external/autotest/client/cros/cellular/
Dpseudo_modem.py212 self.lease_file = '/tmp/dnsmasq.%s.leases' % self.interface
240 os.close(os.open(self.lease_file, os.O_CREAT | os.O_TRUNC))
245 '--dhcp-leasefile=%s' % self.lease_file,
272 if os.path.exists(self.lease_file):
273 os.remove(self.lease_file)
/external/dnsmasq/src/
Dlease.c63 leasestream = daemon->lease_stream = fopen(daemon->lease_file, "a+"); in lease_init()
66 die(_("cannot open or create lease file %s: %s"), daemon->lease_file, EC_FILE); in lease_init()
235 daemon->lease_file, strerror(err), in lease_update_file()
Ddnsmasq.c124 if (!daemon->lease_file) in main()
127 daemon->lease_file = LEASEFILE; in main()
Ddnsmasq.h613 char *lease_file; member
Doption.c1211 daemon->lease_file = opt_string_alloc(arg); in one_opt()
/external/toybox/toys/pending/
Ddhcpd.c258 char *lease_file; member
701 …{"lease_file" , strinvar , (void*)&gconfig.lease_file , "/var/lib/misc/dhcpd.leases"}, …
1202 if ((fd = open(gconfig.lease_file, O_WRONLY | O_CREAT | O_TRUNC, 0600)) < 0) { in write_leasefile()
1203 perror_msg("can't open %s ", gconfig.lease_file); in write_leasefile()
1224 argv[1] = gconfig.lease_file; in write_leasefile()
1548 int fd = open(gconfig.lease_file, O_RDONLY); in read_leasefile()
/external/dnsmasq/contrib/dns-loc/
Ddnsmasq2-loc-rfc1876.patch36 char *lease_file;