Lines Matching refs:ifaces
591 if_findindexname(struct if_head *ifaces, unsigned int idx, const char *name) in if_findindexname() argument
594 if (ifaces != NULL) { in if_findindexname()
597 TAILQ_FOREACH(ifp, ifaces, next) { in if_findindexname()
614 if_find(struct if_head *ifaces, const char *name) in if_find() argument
617 return if_findindexname(ifaces, 0, name); in if_find()
621 if_findindex(struct if_head *ifaces, unsigned int idx) in if_findindex() argument
624 return if_findindexname(ifaces, idx, NULL); in if_findindex()
701 if (ctx->ifaces == NULL || in if_sortinterfaces()
702 (ifp = TAILQ_FIRST(ctx->ifaces)) == NULL || in if_sortinterfaces()
707 TAILQ_REMOVE(ctx->ifaces, ifp, next); in if_sortinterfaces()
709 while ((ifp = TAILQ_FIRST(ctx->ifaces))) { in if_sortinterfaces()
710 TAILQ_REMOVE(ctx->ifaces, ifp, next); in if_sortinterfaces()
720 TAILQ_CONCAT(ctx->ifaces, &sorted, next); in if_sortinterfaces()