Lines Matching refs:lease
221 const xml::ElementNode *lease;
222 while ((lease = leases.forAllNodes()))
224 if (!lease->nameEquals(tagXMLLease.c_str()))
229 if (l.fromXML(lease))
266 xml::ElementNode *lease = root->createChild(tagXMLLease.c_str());
267 if (!it->first.toXML(lease))
394 * We bind lease for client till it continue with it on DHCPREQUEST.
400 * This mean that client has already bound or commited lease.
403 const Lease l = client.lease();
406 /* Here we should take lease from the m_allocation which was feed with leases
474 Lease l = client.lease();
492 Lease l = client.lease();
515 bool ConfigurationManager::isAddressTaken(const RTNETADDRIPV4& addr, Lease& lease)
525 if (lease != Lease::NullLease)
526 lease = it->first;
531 lease = Lease::NullLease;
779 Lease l(client); /* XXX: oh, it looks badly, but now we have lease */
789 * - IP lease time
827 Lease l = client.lease();
842 * - IP address lease time (if DHCPREQUEST)
856 * XXX: lease time should be conditional. If on dhcprequest then tim should be provided,
875 Lease l = client.lease();
921 const Lease l = client.lease();
949 const Lease l = client.lease();
1101 const Lease l = client.lease();
1268 Lease Client::lease()
1279 const Lease Client::lease() const
1281 return const_cast<Client *>(this)->lease();