Home | History | Annotate | Download | only in server

Lines Matching defs:ours

371 		 * If the lease is ours to (re)allocate, then allocate it.
466 int ours = 0;
502 subnet -> shared_network, &ours, 0, ip_lease, MDL);
593 * are not going to try to allocate a lease that isn't ours.
629 * server source address (sip from incoming packet) is ours.
758 /* If the address the client asked for is ours, but it wasn't
760 if (!lease && ours) {
4180 struct packet *packet, struct shared_network *share, int *ours,
4326 if (ours)
4327 *ours = 1;
4518 /* If ip_lease is valid at this point, set ours to one, so that
4520 the client was requesting was ours, and thus we can NAK it. */
4521 if (ip_lease && ours)
4522 *ours = 1;
4532 if (ours)
4533 *ours = 1;
4575 it, don't set "ours", because we shouldn't NAK. */
4576 if (ours && ip_lease -> binding_state != FTS_ACTIVE)
4577 *ours = 0;
4584 * is/was not active, and is not ours to reallocate, forget about it.
4594 log_info("ip lease not active or not ours to offer.");
4895 return it - instead, we claim it's ours, causing a DHCPNAK to be
4898 if (ours)
4899 *ours = 1;