Searched refs:Lease (Results 1 – 8 of 8) sorted by relevance
34 struct Lease { struct35 Lease(unsigned int interfaceIndex, const uint8_t* macAddress) { in Lease() function50 template<> struct hash<Lease> { argument51 size_t operator()(const Lease& lease) const {64 inline bool operator==(const Lease& left, const Lease& right) {
71 std::unordered_map<Lease, in_addr_t> mLeases;
351 Lease key(interfaceIndex, macAddress); in getOfferAddress()
290 DhcpSb->Lease = Para->Lease; in DhcpComputeLease()294 if (DhcpSb->Lease == 0) { in DhcpComputeLease()295 DhcpSb->Lease = DHCP_DEFAULT_LEASE; in DhcpComputeLease()298 if ((DhcpSb->T2 == 0) || (DhcpSb->T2 >= Para->Lease)) { in DhcpComputeLease()299 DhcpSb->T2 = Para->Lease - (Para->Lease >> 3); in DhcpComputeLease()303 DhcpSb->T1 = DhcpSb->Lease >> 1; in DhcpComputeLease()468 DhcpSb->Lease = 0; in DhcpCleanLease()1578 } else if (DhcpSb->LeaseLife < DhcpSb->Lease) { in DhcpOnTimerTick()1609 if (DhcpSb->LeaseLife == DhcpSb->Lease) { in DhcpOnTimerTick()
82 UINT32 Lease; // DHCP4_TAG_LEASE member
106 UINT32 Lease; member
263 Para->Lease = NetGetUint32 (Data); in DhcpGetParameter()
401 Dhcp4ModeData->LeaseTime = Para->Lease; in EfiDhcp4GetModeData()