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