Lines Matching refs:ifn
2583 struct interface *ifn; in dhcp6_findpfxdlgif() local
2589 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in dhcp6_findpfxdlgif()
2590 if (strcmp(ifn->name, ifp->name) == 0 && in dhcp6_findpfxdlgif()
2591 ifn->options->options & DHCPCD_PFXDLGONLY) in dhcp6_findpfxdlgif()
2592 return ifn; in dhcp6_findpfxdlgif()
3197 struct interface *ifn; in dhcp6_start1() local
3199 ifn = dhcp6_findpfxdlgif(ifp); in dhcp6_start1()
3200 if (ifn == NULL) { in dhcp6_start1()
3203 ifn = TAILQ_FIRST(ifs); in dhcp6_start1()
3204 if (ifn) { in dhcp6_start1()
3216 strlcpy(ifn->lease_identifier, in dhcp6_start1()
3218 sizeof(ifn->lease_identifier)); in dhcp6_start1()
3219 TAILQ_REMOVE(ifs, ifn, next); in dhcp6_start1()
3221 ifp, ifn, next); in dhcp6_start1()
3222 dhcpcd_initstate(ifn, in dhcp6_start1()
3225 0, dhcpcd_startinterface, ifn); in dhcp6_start1()
3227 while ((ifn = TAILQ_FIRST(ifs))) { in dhcp6_start1()
3228 TAILQ_REMOVE(ifs, ifn, next); in dhcp6_start1()
3229 if_free(ifn); in dhcp6_start1()