Home
last modified time | relevance | path

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

/third_party/ltp/testcases/network/dhcp/
Ddhcpd_tests.sh15 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
Ddnsmasq_tests.sh16 lease_file="$lease_dir/dnsmasq.tst.leases"
20 --dhcp-leasefile=$lease_file --port=0 --conf-file= "
Ddhcp_lib.sh92 rm -f $lease_file
/third_party/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()