Searched refs:lease_file (Results 1 – 9 of 9) sorted by relevance
/external/ltp/testcases/network/dhcp/ |
D | dhcpd_tests.sh | 15 lease_file="$lease_dir/dhcpd.leases_tst" 42 touch $lease_file 43 dhcpd -lf $lease_file -$TST_IPVER $iface0 > $log 2>&1 79 rm -f $lease_file
|
D | dnsmasq_tests.sh | 16 lease_file="$lease_dir/dnsmasq.tst.leases" 20 --dhcp-leasefile=$lease_file --port=0 --conf-file= "
|
D | dhcp_lib.sh | 86 rm -f $lease_file
|
/external/autotest/client/cros/cellular/ |
D | pseudo_modem.py | 219 self.lease_file = '/tmp/dnsmasq.%s.leases' % self.interface 248 os.close(os.open(self.lease_file, os.O_CREAT | os.O_TRUNC)) 253 '--dhcp-leasefile=%s' % self.lease_file, 282 if os.path.exists(self.lease_file): 283 os.remove(self.lease_file)
|
/external/dnsmasq/src/ |
D | lease.c | 57 leasestream = daemon->lease_stream = fopen(daemon->lease_file, "a+"); in lease_init() 60 die(_("cannot open or create lease file %s: %s"), daemon->lease_file, EC_FILE); in lease_init() 211 my_syslog(MS_DHCP | LOG_ERR, _("failed to write %s: %s (retry in %us)"), daemon->lease_file, in lease_update_file()
|
D | dnsmasq.c | 161 if (!daemon->lease_file) { in main() 162 if (daemon->dhcp) daemon->lease_file = LEASEFILE; in main()
|
D | dnsmasq.h | 585 char* lease_file; member
|
D | option.c | 1102 daemon->lease_file = opt_string_alloc(arg); in one_opt()
|
/external/toybox/toys/pending/ |
D | dhcpd.c | 258 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()
|