Lines Matching defs:unit
310 /* unit(I) - device we are working with */
318 ipf_dstlist_iter_deref(softc, arg, otype, unit, data)
321 int otype, unit;
329 if (unit < -1 || unit > IPL_LOGMAX) {
786 int unit, i, err = 0;
794 unit = op->iplo_unit;
795 if (unit == IPL_LOGALL) {
798 } else if (unit >= 0 && unit <= IPL_LOGMAX) {
802 ptr = ipf_dstlist_table_find(softd, unit,
805 ptr = softd->dstlist[unit + 1];
806 stats.ipls_list[unit] = ptr;
842 int unit, err;
867 unit = op->iplo_unit;
868 new->ipld_unit = unit;
873 new->ipld_pnext = softd->tails[unit + 1];
874 *softd->tails[unit + 1] = new;
875 softd->tails[unit + 1] = &new->ipld_next;
1044 /* unit(I) - device we are working with */
1047 /* Return a pointer to a destination table that matches the unit+name that */
1051 ipf_dstlist_table_find(arg, unit, name)
1053 int unit;
1059 for (d = softd->dstlist[unit + 1]; d != NULL; d = d->ipld_next) {
1060 if ((d->ipld_unit == unit) &&
1074 /* unit(I) - device we are working with */
1082 ipf_dstlist_select_ref(arg, unit, name)
1084 int unit;
1089 d = ipf_dstlist_table_find(arg, unit, name);