/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/dnsmasq-2.15/src/ |
H A D | dnsmasq.h | 253 time_t expires; /* lease expiry */ 469 /* lease.c */ 474 void lease_set_hwaddr(struct dhcp_lease *lease, unsigned char *hwaddr); 475 void lease_set_hostname(struct dhcp_lease *lease, char *name, char *suffix); 476 void lease_set_expires(struct dhcp_lease *lease, time_t exp);
|
H A D | isc.c | 64 struct isc_lease *lease, *tmp, **up; local 100 if (strcmp(token, "lease") == 0) 129 next_token(token, MAXTOK, fp) && /* Get date from lease file */ 183 "Ignoring DHCP lease for %s because it has an illegal domain part", 191 for (lease = leases; lease; lease = lease->next) 192 if (hostname_isequal(lease->name, hostname)) 194 lease [all...] |
H A D | lease.c | 29 struct dhcp_lease *lease; local 42 /* a+ mode lease pointer at end. */ 88 if (!(lease = lease_allocate(buff2, clid_len, addr))) 91 lease->expires = expires; 92 memcpy(lease->hwaddr, hwaddr, ETHER_ADDR_LEN); 95 lease_set_hostname(lease, buff, daemon->domain_suffix); 109 struct dhcp_lease *lease; local 112 for (lease = leases; lease; lease 120 struct dhcp_lease *lease; local 172 struct dhcp_lease *lease; local 190 struct dhcp_lease *lease, *tmp, **up; local 220 struct dhcp_lease *lease; local 241 struct dhcp_lease *lease; local 253 struct dhcp_lease *lease; local 285 lease_set_expires(struct dhcp_lease *lease, time_t exp) argument 293 lease_set_hwaddr(struct dhcp_lease *lease, unsigned char *hwaddr) argument 302 lease_set_hostname(struct dhcp_lease *lease, char *name, char *suffix) argument [all...] |
H A D | rfc2131.c | 85 struct dhcp_lease *lease, *ltmp; local 146 machine which got a lease via a relay won't use the relay to renew. */ 153 Note that if netmasks, netid or lease times don't match, odd things may happen. */ 330 /* do we have a lease in store? */ 331 lease = lease_find_by_client(clid, clid_len); 348 if (lease) 349 expires_time = (unsigned int)difftime(lease->expires, now); 390 if (lease && lease->addr.s_addr == option_addr(opt).s_addr) 391 lease_prune(lease, no [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/doc/ |
H A D | api-ip6-flowlabels.tex | 247 we cannot lease labels with lifetimes longer than boot time, the second, 289 to lease flow label ordered by user. In this case, it is user task to provide 360 perror ("can't lease flowlabel");
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/docs_src/ref/rep/ |
H A D | Makefile | 5 init.html intro.html lease.html mastersync.html mgr_meth.html \
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/rep/ |
H A D | rep_lease.c | 18 * Update a client's lease grant for this perm record 48 * Get current time, and add in the (skewed) lease duration 55 * If we are in an election, we cannot grant the lease. 67 * Send the LEASE_GRANT message with the current lease grant 68 * no matter if we've actually extended the lease or not. 84 * Return 0 if this client has no outstanding lease granted. 101 * Get current time and compare against our granted lease. 111 * Allocate the lease table on a master. Called with rep mutex 126 int *lease, ret; local 135 &lease)) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/test/ |
H A D | rep079.tcl | 140 [list $nsites $lease_to $clock_fast $clock_slow]} lease] 142 error_check_good menverror [is_substr $lease "must be called before"] 1 163 # is using lease up and running. For instance, if leases are 254 # the lease grants we can do the next part of the test to 263 puts "\tRep$tnum.f.1: Sleep $sleep secs to expire lease grants." 274 # Verify that if a non-lease site tries to join a group that 302 puts "\tRep$tnum.h: Check expired lease error on txn commit."
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/udhcpd/ |
H A D | dhcpc.c | 136 " -f, --foreground Do not fork after getting lease\n"
137 " -b, --background Fork to background if lease cannot be\n"
140 " -n, --now Exit with failure if lease cannot be\n"
143 " -q, --quit Quit after obtaining lease\n"
280 unsigned long start = 0, lease;
local 502 LOG(LOG_INFO, "No lease, forking to background.");
505 LOG(LOG_INFO, "No lease, failing.");
531 /* No lease found yet, signal 'autoipd'
570 if ((t2 - t1) <= (lease / 14400 + 1)) {
585 if ((lease [all...] |
H A D | dhcpd.c | 93 struct dhcpOfferedAddr *lease; local 114 memcpy(&server_config.lease, option->data + 2, 4); 115 server_config.lease = ntohl(server_config.lease); 117 else server_config.lease = LEASE_TIME; 202 /* ADDME: look for a static lease */ 203 lease = find_lease_by_chaddr(packet.chaddr); 252 if (lease) { /*ADDME: or static lease */ 257 requested_align == lease [all...] |
H A D | dhcpd.h | 112 unsigned long lease; /* lease time in seconds (host order) */ member in struct:server_config_t 114 char remaining; /* should the lease file be interpreted as lease time remaining, or 115 * as the time the lease expires */ 122 unsigned long min_lease; /* minimum lease a client can request*/
|
H A D | dumpleases.c | 42 struct lease_t lease;
local 68 printf(" -r, --remaining Interepret lease times as time remaing\n");
69 printf(" -a, --absolute Interepret lease times as expire time\n");
81 while (fread(&lease, sizeof(lease), 1, fp)) {
83 printf("%-16s ", lease.hostname);
85 printf("%02x", lease.chaddr[i]);
88 addr.s_addr = lease.yiaddr;
90 expires = ntohl(lease.expires);
|
H A D | files.c | 193 /*ADDME: static lease */
283 struct dhcpOfferedAddr lease, *oldest;
local 290 while (i < server_config.max_leases && (fread(&lease, sizeof lease, 1, fp) == 1)) {
291 /* ADDME: is it a static lease */
292 if (lease.yiaddr >= server_config.start && lease.yiaddr <= server_config.end) {
293 lease.expires = ntohl(lease.expires);
294 if (!server_config.remaining) lease [all...] |
H A D | leases.c | 21 /* clear every lease out that chaddr OR yiaddr matches and is nonzero */ 36 /* add a lease into the table, clearing out any old ones */ 37 struct dhcpOfferedAddr *add_lease(u_int8_t *chaddr, u_int32_t yiaddr, unsigned long lease) argument 49 oldest->expires = time(0) + lease; 56 /* true if a lease has expired */ 57 int lease_expired(struct dhcpOfferedAddr *lease) argument 59 return (lease->expires < (unsigned long) time(0)); 63 /* Find the oldest expired lease, NULL if there are no expired leases */ 81 /* Find the first lease that matches chaddr, NULL if no match */ 93 /* Find the first lease tha 108 struct dhcpOfferedAddr *lease = NULL; local 163 struct dhcpOfferedAddr *lease = NULL; local [all...] |
H A D | leases.h | 16 struct dhcpOfferedAddr *add_lease(u_int8_t *chaddr, u_int32_t yiaddr, unsigned long lease);
17 int lease_expired(struct dhcpOfferedAddr *lease);
|
H A D | serverpacket.c | 111 struct dhcpOfferedAddr *lease = NULL; local 112 u_int32_t req_align, lease_time_align = server_config.lease; 124 /* the client is in our lease/offered table */ 125 if ((lease = find_lease_by_chaddr(oldpacket->chaddr)) && 128 !check_ip(lease->yiaddr)) { 130 if (!lease_expired(lease)) 131 lease_time_align = lease->expires - time(0); 132 packet.yiaddr = lease->yiaddr; 147 /* and the ip is in the lease range */ 156 /* and its not already taken/offered */ /* ADDME: check that its not a static lease */ [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/udhcpd/samples/ |
H A D | udhcpd.conf | 3 # The start and end of the IP lease block
21 # remaining for each lease in the udhcpd leases file. This is
23 # If you set remaining to no, the absolute time that the lease
31 # lease file. (specified in seconds)
52 # If a lease to be given is below this value, the full lease time is
66 # Useful for writing the lease file to flash every few hours.
83 # lines. The only option with a default is 'lease'.
92 option lease 864000 # 10 days of seconds
113 #lease
[all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/core/ |
H A D | sa_query.c | 325 { SERVICE_REC_FIELD(lease),
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ |
H A D | locks.c | 299 /* default lease lock manager operations */ 327 * Initialize a lease, use the default lock manager operations 346 /* Allocate a file_lock initialised to this type of lease */ 1019 /* We already had a lease on this file; just change its type */ 1059 * is a lease on this file. Leases are broken on a call to open() 1088 /* If we want write access, we have to revoke any lease. */ 1091 /* If the lease is already being broken, we just leave it */ 1094 /* Downgrade the exclusive lease to a read-only lease. */ 1097 /* the existing lease wa 1207 struct file_lock *fl, **before, **my_before = NULL, *lease; local 1295 setlease(struct file *filp, long arg, struct file_lock **lease) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfs/ |
H A D | nfs4renewd.c | 65 long lease, timeout; local 74 lease = clp->cl_lease_time; 77 timeout = (2 * lease) / 3 + (long)last - (long)now; 78 /* Are we close to a lease timeout? */ 79 if (time_after(now, last + lease/3)) { 91 timeout = (2 * lease) / 3; 94 dprintk("%s: failed to call renewd. Reason: lease not expired \n",
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfsd/ |
H A D | nfsctl.c | 596 * nfs4_reset_lease() then write out the new lease (seconds) as reply 602 int lease; local 603 rv = get_int(&mesg, &lease); 606 if (lease < 10 || lease > 3600) 608 nfs4_reset_lease(lease);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/rdma/ |
H A D | ib_sa.h | 235 u32 lease; member in struct:ib_sa_service_rec
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/examples/udhcp/ |
H A D | udhcpd.conf | 3 # The start and end of the IP lease block 21 # remaining for each lease in the udhcpd leases file. This is 23 # If you set remaining to no, the absolute time that the lease 31 # lease file. (specified in seconds) 52 # If a lease to be given is below this value, the full lease time is 66 # Useful for writing the lease file to flash every few hours. 83 # lines. The only option with a default is 'lease'. 92 option lease 864000 # 10 days of seconds 113 #opt lease [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/udhcp/ |
H A D | dhcpc.c | 149 uint32_t lease = 0; /* can be given as 32-bit quantity */ local 349 bb_info_msg("No lease, forking to background"); 352 bb_info_msg("No lease, failing"); 389 if ((t2 - t1) <= (lease / 14400 + 1)) { 403 if ((lease - t2) <= (lease / 14400 + 1)) { 414 t2 = (lease - t2) / 2 + t2; 481 bb_error_msg("no lease time with ACK, using 1 hour lease"); 482 lease [all...] |
H A D | dhcpd.c | 37 struct dhcpOfferedAddr *lease, static_lease; local 68 server_config.lease = LEASE_TIME; 70 memcpy(&server_config.lease, option->data + 2, 4); 71 server_config.lease = ntohl(server_config.lease); 152 /* Look for a static lease */ 156 bb_info_msg("Found static lease: %x", static_lease_ip); 162 lease = &static_lease; 164 lease = find_lease_by_chaddr(packet.chaddr); 184 if (lease) { [all...] |