/macosx-10.10/bootp-298/bootpd.tproj/ |
H A D | dhcpd.c | 141 /* check the lease expiration */ 202 my_log(LOG_INFO, "dhcp: re-reading lease list"); 273 my_log(LOG_INFO, "S_lease_time_expiry: lease '%s' bad", str); 512 /* infinite lease */ 596 dhcp_lease_time_t lease = 0; local 717 /* no permanent netinfo binding: check for a lease */ 746 lease = DHCP_INFINITE_LEASE; 752 lease = dhcp_lease_ntoh(*suggested_lease); 753 if (lease > max_lease) 754 lease [all...] |
/macosx-10.10/BerkeleyDB-21/db/docs_src/ref/rep/ |
H A D | Makefile | 5 init.html intro.html lease.html mastersync.html mgr_meth.html \
|
/macosx-10.10/bootp-298/IPConfiguration.bproj/ |
H A D | dhcp_thread.h | 64 dhcp_get_lease_from_options(dhcpol_t * options, dhcp_lease_time_t * lease,
|
H A D | dhcp.c | 104 lease_info_t lease; member in struct:__anon6922 1170 dhcp_info_p->lease_start = dhcp->lease.start; 1171 dhcp_info_p->lease_expiration = dhcp->lease.expiration; 1238 dhcp_lease_time_t lease, dhcp_lease_time_t t1, 1244 dhcp->lease.start = lease_start; 1246 dhcp->lease.length = DHCP_INFINITE_LEASE; 1249 dhcp->lease.length = lease; 1252 if (dhcp->lease.length == DHCP_INFINITE_LEASE) { 1253 dhcp->lease 1236 dhcp_set_lease_params(ServiceRef service_p, char * descr, boolean_t is_dhcp, absolute_time_t lease_start, dhcp_lease_time_t lease, dhcp_lease_time_t t1, dhcp_lease_time_t t2) argument 2236 dhcp_lease_time_t lease; local 2505 dhcp_lease_time_t lease; local 2732 dhcp_lease_time_t lease = SUGGESTED_LEASE_LENGTH; local 3669 dhcp_lease_time_t lease = SUGGESTED_LEASE_LENGTH; local 3897 dhcp_get_lease_from_options(dhcpol_t * options, dhcp_lease_time_t * lease, dhcp_lease_time_t * t1, dhcp_lease_time_t * t2) argument [all...] |
H A D | DHCPv6Client.c | 137 lease_info_t lease; member in struct:DHCPv6Client 601 bzero(&client->lease, sizeof(client->lease)); 629 lease_info_t * lease_p = &client->lease; 659 lease_info_t * lease_p = &client->lease; 1015 client->lease.valid = FALSE; 1099 if (current_time < client->lease.start) { 1104 time_since_start = current_time - client->lease.start; 1105 if (time_since_start >= client->lease.valid_lifetime) { 1111 if (time_since_start < client->lease [all...] |
/macosx-10.10/cups-408/cups/test/ |
H A D | 4.4-subscription-ops.test | 24 ATTR integer notify-lease-duration 5 39 # Delay test for 7 seconds to allow lease to expire... 79 ATTR integer notify-lease-duration 5 84 ATTR integer notify-lease-duration 5 141 ATTR integer notify-lease-duration 5
|
H A D | ipp-2.1.test | 56 EXPECT notify-lease-duration-default OF-TYPE integer IN-GROUP printer-attributes-tag COUNT 1 57 EXPECT notify-lease-duration-supported OF-TYPE integer|rangeOfInteger IN-GROUP printer-attributes-tag
|
/macosx-10.10/bootp-298/bootplib/ |
H A D | hostlist.h | 47 u_long lease; /* lease (dhcp only) */ member in struct:hosts
|
/macosx-10.10/bootp-298/DHCPServer/ |
H A D | DHCPServer.c | 197 CFStringRef lease; local 200 lease = CFDictionaryGetValue(dict, kDHCPSPropDHCPLease); 201 if (lease) { 202 cfstring_to_cstring(lease, buf, sizeof(buf));
|
/macosx-10.10/cups-408/cups/scheduler/ |
H A D | subscriptions.h | 93 int lease; /* notify-lease-duration */ member in struct:cupsd_subscription_s 123 /* Default notify-lease-duration */ 125 /* Maximum notify-lease-duration */
|
H A D | subscriptions.c | 976 sub->lease = atoi(value); 977 sub->expire = sub->lease ? time(NULL) + sub->lease : 0; 1172 cupsFilePrintf(fp, "LeaseDuration %d\n", sub->lease);
|
H A D | ipp.c | 2085 else if (!strcmp(attr->name, "notify-lease-duration")) 2088 _("The notify-lease-duration attribute cannot be " 5082 if ((!exclude || !cupsArrayFind(exclude, "notify-lease-duration")) && 5083 (!sub->job && (!ra || cupsArrayFind(ra, "notify-lease-duration")))) 5085 "notify-lease-duration", sub->lease); 5284 lease; /* notify-lease-duration */ local 5287 *notify_lease; /* notify-lease-duration(-default) */ 5390 lease 8773 ipp_attribute_t *lease; /* notify-lease-duration */ local [all...] |
/macosx-10.10/mDNSResponder-561.1.1/mDNSShared/ |
H A D | dnsextd.h | 61 // lease table entry 100 mDNSu32 lease; // original lease, in seconds member in struct:LLQEntry 138 // lease table variables (locked via mutex after initialization) 140 pthread_mutex_t tablelock; // mutex for lease table
|
H A D | dnsextd.c | 811 VLog("Rehashing lease table (new size %d buckets)", newnbuckets); 933 require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expiration update" ) ); 938 require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expiration update" ) ); 940 require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expiration update" ) ); 942 require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expiration update" ) ); 947 require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expiration update" ) ); 949 require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expiration update" ) ); 957 require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expiration update" ) ); 959 require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expiration update" ) ); 961 require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expiratio 1374 UpdateLeaseTable(PktMsg *pkt, DaemonInfo *d, mDNSs32 lease) argument 1476 FormatLeaseReply(DaemonInfo *d, PktMsg *orig, mDNSu32 lease) argument 1516 mDNSs32 lease = 0; local 1645 FormatLLQOpt(AuthRecord *opt, int opcode, const mDNSOpaque64 *const id, mDNSs32 lease) argument [all...] |
/macosx-10.10/configd-699.1.5/SystemConfiguration.fproj/ |
H A D | DHCP.c | 541 int32_t lease; local 547 fprintf(stderr, "what, no lease time?\n"); 552 lease = ntohl(*((int32_t *)CFDataGetBytePtr(option))); 553 if (lease == 0xffffffff) { 558 show_date(lease + CFDateGetAbsoluteTime(start)); 567 printf("no lease\n");
|
/macosx-10.10/BerkeleyDB-21/db/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."
|
/macosx-10.10/BerkeleyDB-21/db/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...] |
/macosx-10.10/mDNSResponder-561.1.1/mDNSCore/ |
H A D | uDNS.h | 145 extern void natTraversalHandlePortMapReply(mDNS *const m, NATTraversalInfo *n, const mDNSInterfaceID InterfaceID, mDNSu16 err, mDNSIPPort extport, mDNSu32 lease, NATTProtocol protocol);
|
H A D | DNSCommon.h | 223 extern mDNSu8 *putUpdateLease(DNSMessage *msg, mDNSu8 *end, mDNSu32 lease); 224 extern mDNSu8 *putUpdateLeaseWithLimit(DNSMessage *msg, mDNSu8 *ptr, mDNSu32 lease, mDNSu8 *limit);
|
H A D | uDNS.c | 754 mDNSlocal void natTraversalHandlePortMapReplyWithAddress(mDNS *const m, NATTraversalInfo *n, const mDNSInterfaceID InterfaceID, mDNSu16 err, mDNSv4Addr extaddr, mDNSIPPort extport, mDNSu32 lease, NATTProtocol protocol) argument 759 if (err || lease == 0 || mDNSIPPortIsZero(extport)) 761 LogInfo("natTraversalHandlePortMapReplyWithAddress: %p Response %s Port %5d External %.4a:%d lease %d error %d", 762 n, prot, mDNSVal16(n->IntPort), &extaddr, mDNSVal16(extport), lease, err); 771 if (lease > 999999999UL / mDNSPlatformOneSecond) 772 lease = 999999999UL / mDNSPlatformOneSecond; 773 n->ExpiryTime = NonZeroTime(m->timenow + lease * mDNSPlatformOneSecond); 776 LogInfo("natTraversalHandlePortMapReplyWithAddress: %p %s Response %s Port %5d External %.4a:%d changed to %.4a:%d lease %d", 784 &extaddr, mDNSVal16(extport), lease); 797 mDNSexport void natTraversalHandlePortMapReply(mDNS *const m, NATTraversalInfo *n, const mDNSInterfaceID InterfaceID, mDNSu16 err, mDNSIPPort extport, mDNSu32 lease, NATTProtoco argument 1074 mDNSs32 lease = (mDNSs32)llq->llqlease * mDNSPlatformOneSecond; local 4006 mDNSu32 lease = GetPktLease(m, msg, end); local [all...] |
H A D | DNSCommon.c | 2605 mDNSexport mDNSu8 *putUpdateLease(DNSMessage *msg, mDNSu8 *end, mDNSu32 lease) argument 2613 rr.resrec.rdata->u.opt[0].u.updatelease = lease; 2620 mDNSexport mDNSu8 *putUpdateLeaseWithLimit(DNSMessage *msg, mDNSu8 *end, mDNSu32 lease, mDNSu8 *limit) argument 2628 rr.resrec.rdata->u.opt[0].u.updatelease = lease; 3610 // Get the lease life of records in a dynamic update 3611 // returns 0 on error or if no lease present
|
H A D | mDNSEmbeddedAPI.h | 951 // LLQ rdata 18 bytes (opt 2, len 2, vers 2, op 2, err 2, id 8, lease 4) 952 // Lease rdata 8 bytes (opt 2, len 2, lease 4) 1088 #define NATMAP_DEFAULT_LEASE (60 * 60 * 2) // 2 hour lease life in seconds 1560 mDNSBool uselease; // dynamic update contains (should contain) lease option 1561 mDNSs32 expire; // In platform time units: expiration of lease (-1 for static) 3278 extern void GrantCacheExtensions(mDNS *const m, DNSQuestion *q, mDNSu32 lease);
|
H A D | mDNS.c | 3919 // uDNS LongLived questions, because that would mess up our LLQ lease renewal timing. 8009 mDNSexport void GrantCacheExtensions(mDNS *const m, DNSQuestion *q, mDNSu32 lease) argument 8017 //LogInfo("GrantCacheExtensions: new lease %d / %s", lease, CRDisplayString(m, rr)); 8018 RefreshCacheRecord(m, rr, lease); 9984 !updatelease ? " No lease" : "", !owner.HMAC.l[0] ? " No owner" : ""); 10093 mDNSu32 updatelease = 60 * 60; // If SPS fails to indicate lease time, assume one hour 10106 LogSPS("Sleep Proxy granted lease time %4d seconds, updateid %d, InterfaceID %p", updatelease, mDNSVal16(msg->h.id), InterfaceID);
|
/macosx-10.10/mDNSResponder-561.1.1/mDNSMacOSX/ |
H A D | daemon.c | 2305 // If we can't be woken for traffic on a given interface, then why keep waking to renew its lease? 2341 const CFDataRef lease = DHCPInfoGetOptionData(dhcp, 51); // Option 51 = IP Address Lease Time local 2342 if (!start || !lease || CFDataGetLength(lease) < 4) 2344 "CFDateRef start %p CFDataRef lease %p CFDataGetLength(lease) %d", 2345 j, start, lease, lease ? CFDataGetLength(lease) : 0); 2348 const UInt8 *d = CFDataGetBytePtr(lease); [all...] |