Lines Matching refs:ifn
702 struct interface *ifn; in warn_iaid_conflict() local
705 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in warn_iaid_conflict()
706 if (ifn == ifp) in warn_iaid_conflict()
708 if (ifn->options->options & DHCPCD_PFXDLGONLY) in warn_iaid_conflict()
710 if (memcmp(ifn->options->iaid, iaid, in warn_iaid_conflict()
711 sizeof(ifn->options->iaid)) == 0) in warn_iaid_conflict()
713 for (i = 0; i < ifn->options->ia_len; i++) { in warn_iaid_conflict()
714 if (memcmp(&ifn->options->ia[i].iaid, iaid, in warn_iaid_conflict()
715 sizeof(ifn->options->ia[i].iaid)) == 0) in warn_iaid_conflict()
721 if (ifn && strcmp(ifp->name, ifn->name)) in warn_iaid_conflict()
724 ifp->name, ifn->name); in warn_iaid_conflict()
945 struct interface *ifp, *iff, *ifn; in dhcpcd_handleinterface() local
977 TAILQ_FOREACH_SAFE(ifp, ifs, next, ifn) { in dhcpcd_handleinterface()
1126 struct interface *ifn, *ifp; in reconf_reboot() local
1136 ifn = if_find(ctx->ifaces, ifp->name); in reconf_reboot()
1137 if (ifn) { in reconf_reboot()
1139 if_reboot(ifn, argc, argv); in reconf_reboot()
1141 ipv4_applyaddr(ifn); in reconf_reboot()
1448 char ifn[IF_NAMESIZE]; in main() local
1622 strlcpy(ifn, argv[optind], intf_len + 1); in main()
1635 PIDFILE, "-", ifn, per); in main()
1891 strlcpy(ifn, ctx.ifv[i], intf_len + 1); in main()
1892 if (if_find(ctx.ifaces, ifn) == NULL) in main()
1895 ifn); in main()