Lines Matching defs:lif
538 dhcp_lif_t *lif;
540 lif = attach_lif(ifname, isv6, &error);
541 if (lif != NULL &&
542 (dsmp = insert_smach(lif, &error)) != NULL) {
569 * ensure that IFF_DHCPRUNNING is set (we don't set this when the lif
570 * is created because the lif may have been created for INFORM).
1183 check_lif(dhcp_lif_t *lif, const struct ifa_msghdr *ifam, int msglen)
1189 isv6 = lif->lif_pif->pif_isv6;
1199 (void) strlcpy(lifr.lifr_name, lif->lif_name, sizeof (lifr.lifr_name));
1208 lif->lif_plumbed = B_FALSE;
1210 lif->lif_name);
1212 discard_default_routes(lif->lif_smachs);
1216 lif->lif_name);
1219 } else if (!check_rtm_addr(ifam, msglen, isv6, &lif->lif_v6addr)) {
1227 lif->lif_name);
1228 lif_mark_decline(lif, "duplicate address");
1229 close_ip_lif(lif);
1230 (void) open_ip_lif(lif, INADDR_ANY, B_TRUE);
1233 dad_wait = lif->lif_dad_wait;
1236 lif->lif_name);
1237 lif->lif_dad_wait = B_FALSE;
1241 unplumb_lif(lif);
1259 dhcp_lif_t *lif = dsmp->dsm_lif;
1268 (void) strlcpy(lifr.lifr_name, lif->lif_name, sizeof (lifr.lifr_name));
1276 lif->lif_name);
1280 lif->lif_name);
1283 } else if (!check_rtm_addr(ifam, msglen, B_TRUE, &lif->lif_v6addr)) {
1291 lif->lif_name);
1428 dhcp_lif_t *lif, *lifnext;
1432 for (lif = dlp->dl_lifs; lif != NULL && nlifs > 0;
1433 lif = lifnext, nlifs--) {
1434 lifnext = lif->lif_next;
1435 if (check_lif(lif, &msg.ifam, msglen)) {