Home
last modified time | relevance | path

Searched refs:lease (Results 1 – 20 of 20) sorted by relevance

/titanic_44/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dbound.c452 get_pkt_times(PKT_LIST *ack, lease_t *lease, lease_t *t1, lease_t *t2) in get_pkt_times() argument
454 *lease = DHCP_PERM; in get_pkt_times()
472 (void) memcpy(lease, ack->opts[CD_LEASE_TIME]->value, sizeof (lease_t)); in get_pkt_times()
473 *lease = ntohl(*lease); in get_pkt_times()
475 if (*lease == DHCP_PERM) { in get_pkt_times()
492 if ((*t1 == DHCP_PERM) || (*t1 >= *lease)) in get_pkt_times()
493 *t1 = (lease_t)fuzzify(*lease, DHCP_T1_FACT); in get_pkt_times()
495 if ((*t2 == DHCP_PERM) || (*t2 > *lease) || (*t2 <= *t1)) in get_pkt_times()
496 *t2 = (lease_t)fuzzify(*lease, DHCP_T2_FACT); in get_pkt_times()
499 *lease, *t1, *t2); in get_pkt_times()
[all …]
H A DREADME.v6101 Each ifslist entry contains the address, mask, lease information,
159 means that, unlike IPv4 DHCP, DHCPv6 does not need to obtain a lease
172 specified by the user. The lease has a "Lease Time," a required
208 renew/rebind and lease expiry strategy is used, although the state
225 the lease.
260 Next, the lease-tracking needs to be refactored. DHCPv6 is the
266 have only one lease per DHCPv6 state machine, because each state
283 For DHCPv6, we need to track multiple LIFs per lease (IA), but we
286 one PIF and is a member of at most one lease, and then simplify: the
287 lease structure will use a base pointer for the first LIF in the
[all …]
H A Ddhcpagent.dfl53 # does not answer (and the lease has not yet expired), then the client
58 # to continue to use the managed address, in case the lease has changed.
66 # the previous lease, but if unable to do so, it will not attempt to
67 # use that lease. This behavior is often preferred for roaming systems.
H A DREADME124 lease expiration timer, time-to-first-renewal (t1) timer, and so
181 As an example, consider the process of extending a lease: the agent
208 instance, acquiring a lease requires several steps: sending a
214 (perhaps even requests on the IPC channel to begin acquiring a lease
225 begins trying to renew a lease. This is done by sending a REQUEST
228 the lease as well, then if the agent were to send another REQUEST,
267 the lease before it expires. Note that user-initiated actions always
338 lease acquisition. Since the IP_DHCPINIT_IF socket option can only
353 represents infinity (i.e., a permanent lease). The lease_t should be
362 DHCP lease times.
[all …]
H A Drequest.c153 lease_t lease; in dhcp_requesting() local
293 (void) memcpy(&lease, offer->opts[CD_LEASE_TIME]->value, in dhcp_requesting()
296 (void) add_pkt_opt32(dpkt, CD_LEASE_TIME, lease); in dhcp_requesting()
/titanic_44/usr/src/lib/libdhcpagent/common/
H A Ddhcp_hostconf.c104 uint32_t lease; in read_hostconf() local
276 (void) memcpy(&lease, in read_hostconf()
280 lease = ntohl(lease); in read_hostconf()
281 if ((lease != DHCP_PERM) && in read_hostconf()
282 (orig_time + lease) <= current_time) in read_hostconf()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DuDNS.c1326 mDNSu32 lease; in ReceivePortMapReply() local
1327 mDNSBool deletion = !n->request.PortReq.lease.NotAnInteger; in ReceivePortMapReply()
1384 lease = (mDNSu32)mDNSVal32(reply->lease); in ReceivePortMapReply()
1385 if (lease > 0x70000000UL / mDNSPlatformOneSecond) lease = 0x70000000UL / mDNSPlatformOneSecond; in ReceivePortMapReply()
1395 …n->retry = mDNSPlatformTimeNow(m) + ((mDNSs32)lease * mDNSPlatformOneSecond / 2); // retry half w… in ReceivePortMapReply()
1450 req->lease = mDNSOpaque32fromIntVal(NATMAP_DEFAULT_LEASE); in FormatPortMaprequest()
1494 nat->request.PortReq.lease.NotAnInteger = 0; in DeleteNATPortMapping()
2415 else if (err == mStatus_UnknownErr && info->lease) in hndlServiceUpdateReply()
2418 info->lease = mDNSfalse; in hndlServiceUpdateReply()
2523 einfo->lease = info->lease; in hndlServiceUpdateReply()
[all …]
H A DDNSCommon.c1425 ptr = putVal32(ptr, opt->OptData.llq.lease); in putOptRData()
1431 ptr = putVal32(ptr, opt->OptData.lease); in putOptRData()
1472 …opt->OptData.llq.lease = (mDNSu32) ((mDNSu32)ptr[0] << 24 | (mDNSu32)ptr[1] << 16 | (mDNSu32)ptr[2… in getOptRdata()
1473 if (opt->OptData.llq.lease > 0x70000000UL / mDNSPlatformOneSecond) in getOptRdata()
1474 opt->OptData.llq.lease = 0x70000000UL / mDNSPlatformOneSecond; in getOptRdata()
1482 …opt->OptData.lease = (mDNSu32) ((mDNSu32)ptr[0] << 24 | (mDNSu32)ptr[1] << 16 | (mDNSu32)ptr[2] <<… in getOptRdata()
1483 if (opt->OptData.lease > 0x70000000UL / mDNSPlatformOneSecond) in getOptRdata()
1484 opt->OptData.lease = 0x70000000UL / mDNSPlatformOneSecond; in getOptRdata()
1696 mDNSexport mDNSu8 *putUpdateLease(DNSMessage *msg, mDNSu8 *end, mDNSu32 lease) in putUpdateLease() argument
1713 optRD->OptData.lease = lease; in putUpdateLease()
H A DmDNSEmbeddedAPI.h1439 mDNSu32 lease;
1452 union { LLQOptData llq; mDNSu32 lease; } OptData;
1559 mDNSBool lease; // dynamic update contains (should contain) lease option member
2038 mDNSOpaque32 lease;
2049 mDNSOpaque32 lease;
H A DDNSCommon.h306 extern mDNSu8 *putUpdateLease(DNSMessage *msg, mDNSu8 *end, mDNSu32 lease);
/titanic_44/usr/src/stand/lib/inet/
H A Ddhcpv4.c656 uint32_t lease; in dhcp_selecting() local
674 *opt++ = sizeof (lease); in dhcp_selecting()
675 lease = htonl(DHCP_PERM); /* ask for a permanent lease */ in dhcp_selecting()
676 bcopy(&lease, opt, sizeof (lease)); in dhcp_selecting()
677 opt += sizeof (lease); in dhcp_selecting()
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_debug.c438 time_t lease; in find_beginning() local
442 lease = 2 * mi->mi_lease_period; in find_beginning()
444 lease = DEFAULT_LEASE; in find_beginning()
449 first_msg->msg_time.tv_sec - cur_msg->msg_time.tv_sec < lease) { in find_beginning()
588 int lease, len; in facts_same() local
592 lease = 2 * mi->mi_lease_period; in facts_same()
594 lease = DEFAULT_LEASE; in facts_same()
599 new_msg->msg_time.tv_sec - cur_msg->msg_time.tv_sec < lease) { in facts_same()
/titanic_44/usr/src/pkg/license_files/
H A Dlic_OSBL52 (c) You may not rent, lease, lend or encumber Software.
/titanic_44/usr/src/tools/opensolaris/
H A DBINARYLICENSE.txt52 (c) You may not rent, lease, lend or encumber Software.
/titanic_44/usr/src/uts/common/io/scsi/adapters/pmcs/
H A DLICENSE61 (c) You may not rent, lease, lend or encumber Software.
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A DFIRMWARELICENSE70 lease, lend, use for timesharing or otherwise use or allow others to
/titanic_44/usr/src/uts/common/io/ipw/fw-ipw2100/
H A DLICENSE40 assign, sublicense, lease, or in any other way transfer or disclose Software to
/titanic_44/usr/src/uts/common/io/iwi/fw-ipw2200/
H A DLICENSE40 assign, sublicense, lease, or in any other way transfer or disclose Software to
/titanic_44/usr/src/cmd/look/
H A Dwords13288 lease
/titanic_44/usr/src/cmd/spell/
H A Dlist13286 lease