Lines Matching refs:fil
161 struct filter *fil;
163 LIST_FOREACH(fil, chain, next) {
164 if (fil->ethertype == ethertype) {
165 return (fil);
283 struct filter *fil;
317 fil = malloc(sizeof(*fil),
319 if (fil == NULL) {
324 fil->match_hook = hook;
325 fil->ethertype = htons(f->ethertype);
327 + HASH(fil->ethertype),
328 fil, next);
371 struct filter *fil;
395 fil = ng_etf_findentry(etfp, ethertype);
403 if (fil && fil->match_hook) {
404 NG_FWD_NEW_DATA(error, item, fil->match_hook, m);
415 if ((fil && (fil->match_hook != hook))
416 || ((fil == NULL) && (hook != etfp->nomatch_hook.hook))) {