Lines Matching refs:ifaces
216 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in dhcpcd_oneup()
352 TAILQ_REMOVE(ifp->ctx->ifaces, ifp, next); in stop_interface()
611 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_handlecarrier()
705 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in warn_iaid_conflict()
951 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_handleinterface()
982 iff = if_find(ctx->ifaces, ifp->name); in dhcpcd_handleinterface()
993 TAILQ_INSERT_TAIL(ctx->ifaces, ifp, next); in dhcpcd_handleinterface()
1021 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_handlehwaddr()
1044 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_start_interface()
1058 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_stop_interface()
1072 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in dhcpcd_stop_interfaces()
1082 ifp = if_find(ctx->ifaces, ifname); in dhcpcd_release_ipv4()
1136 ifn = if_find(ctx->ifaces, ifp->name); in reconf_reboot()
1144 TAILQ_INSERT_TAIL(ctx->ifaces, ifp, next); in reconf_reboot()
1162 TAILQ_FOREACH_REVERSE(ifp, ctx->ifaces, if_head, next) { in stop_all_interfaces()
1215 TAILQ_FOREACH(ifp, ctx->ifaces, next) { in dhcpcd_handle_signal()
1290 TAILQ_FOREACH(ifp, fd->ctx->ifaces, next) { in dhcpcd_getinterfaces()
1302 TAILQ_FOREACH(ifp, fd->ctx->ifaces, next) { in dhcpcd_getinterfaces()
1389 if ((ifp = if_find(ctx->ifaces, argv[oi])) == NULL) in dhcpcd_handleargs()
1663 ctx.ifaces = if_discover(&ctx, 1, argv + optind); in main()
1664 if (ctx.ifaces == NULL) { in main()
1668 ifp = TAILQ_FIRST(ctx.ifaces); in main()
1677 TAILQ_INSERT_HEAD(ctx.ifaces, ifp, next); in main()
1877 ctx.ifaces = if_discover(&ctx, ctx.ifc, ctx.ifv); in main()
1878 if (ctx.ifaces == NULL) { in main()
1892 if (if_find(ctx.ifaces, ifn) == NULL) in main()
1897 if (TAILQ_FIRST(ctx.ifaces) == NULL) { in main()
1909 TAILQ_FOREACH(ifp, ctx.ifaces, next) { in main()
1917 TAILQ_FOREACH(ifp, ctx.ifaces, next) { in main()
1926 else if ((ifp = TAILQ_FIRST(ctx.ifaces))) in main()
1950 TAILQ_FOREACH(ifp, ctx.ifaces, next) { in main()
1967 if (ctx.ifaces) { in main()
1968 while ((ifp = TAILQ_FIRST(ctx.ifaces))) { in main()
1969 TAILQ_REMOVE(ctx.ifaces, ifp, next); in main()
1972 free(ctx.ifaces); in main()