Lines Matching refs:dlp

98 	dhcp_lease_t	*dlp;  in dhcp_bound()  local
242 dlp = lif->lif_lease; in dhcp_bound()
244 if (dlp->dl_nlifs == 0) in dhcp_bound()
245 remove_lease(dlp); in dhcp_bound()
261 for (dlp = dsmp->dsm_leases; dlp != NULL; dlp = dlp->dl_next) { in dhcp_bound()
262 if (dlp->dl_stale && dlp->dl_nlifs > 0) in dhcp_bound()
265 if (dlp != NULL) { in dhcp_bound()
514 dhcp_lease_t *dlp; in configure_v4_timers() local
518 dlp = dsmp->dsm_leases; in configure_v4_timers()
519 lif = dlp->dl_lifs; in configure_v4_timers()
537 cancel_lease_timers(dlp); in configure_v4_timers()
587 init_timer(&dlp->dl_t1, t1); in configure_v4_timers()
588 init_timer(&dlp->dl_t2, t2); in configure_v4_timers()
604 dlp->dl_t1.dt_start)); in configure_v4_timers()
608 dlp->dl_t2.dt_start)); in configure_v4_timers()
624 if (!schedule_lease_timer(dlp, &dlp->dl_t1, dhcp_renew)) in configure_v4_timers()
627 if (!schedule_lease_timer(dlp, &dlp->dl_t2, dhcp_rebind)) in configure_v4_timers()
633 cancel_lease_timers(dlp); in configure_v4_timers()
658 dhcp_lease_t *dlp; in configure_v6_leases() local
665 for (dlp = dsmp->dsm_leases; dlp != NULL; dlp = dlp->dl_next) in configure_v6_leases()
666 dlp->dl_stale = B_TRUE; in configure_v6_leases()
695 if ((dlp = dsmp->dsm_leases) != NULL) in configure_v6_leases()
696 dlp->dl_stale = B_FALSE; in configure_v6_leases()
764 if ((dlp = dsmp->dsm_leases) == NULL && in configure_v6_leases()
765 (dlp = insert_lease(dsmp)) == NULL) { in configure_v6_leases()
828 lif = dlp->dl_lifs; in configure_v6_leases()
829 for (nlifs = dlp->dl_nlifs; nlifs > 0; in configure_v6_leases()
858 if (++dlp->dl_nlifs == 1) { in configure_v6_leases()
859 dlp->dl_lifs = lif; in configure_v6_leases()
862 insque(lif, dlp->dl_lifs); in configure_v6_leases()
864 lif->lif_lease = dlp; in configure_v6_leases()
907 if (dlp->dl_nlifs == 0) { in configure_v6_leases()
910 remove_lease(dlp); in configure_v6_leases()
921 cancel_lease_timers(dlp); in configure_v6_leases()
922 init_timer(&dlp->dl_t1, d6in.d6in_t1); in configure_v6_leases()
923 init_timer(&dlp->dl_t2, d6in.d6in_t2); in configure_v6_leases()
926 !schedule_lease_timer(dlp, &dlp->dl_t1, dhcp_renew)) || in configure_v6_leases()
928 !schedule_lease_timer(dlp, &dlp->dl_t2, dhcp_rebind))) { in configure_v6_leases()
959 dhcp_lease_t *dlp; in configure_v4_lease() local
984 if ((dlp = dsmp->dsm_leases) == NULL && in configure_v4_lease()
985 (dlp = insert_lease(dsmp)) == NULL) { in configure_v4_lease()
990 if (dlp->dl_nlifs == 0) { in configure_v4_lease()
991 dlp->dl_lifs = dsmp->dsm_lif; in configure_v4_lease()
992 dlp->dl_nlifs = 1; in configure_v4_lease()
995 hold_lif(dlp->dl_lifs); in configure_v4_lease()
996 dlp->dl_lifs->lif_lease = dlp; in configure_v4_lease()
999 lif = dlp->dl_lifs; in configure_v4_lease()