Lines Matching defs:ipfl
241 ipflog_t ipfl;
256 ipfl.fl_nattag.ipt_num[0] = 0;
321 ipfl.fl_unit = (u_int)0;
329 ipfl.fl_ifname, sizeof(ipfl.fl_ifname)) != 0)
335 ipfl.fl_unit = (u_int)0;
336 (void) strncpy(ipfl.fl_ifname, IFNAME(ifp), sizeof(ipfl.fl_ifname));
341 COPYIFNAME(ifp, ipfl.fl_ifname);
343 ipfl.fl_unit = (u_int)ifp->if_unit;
345 if ((ipfl.fl_ifname[0] = ifp->if_name[0]))
346 if ((ipfl.fl_ifname[1] = ifp->if_name[1]))
347 if ((ipfl.fl_ifname[2] = ifp->if_name[2]))
348 ipfl.fl_ifname[3] = ifp->if_name[3];
350 (void) strncpy(ipfl.fl_ifname, IFNAME(ifp), sizeof(ipfl.fl_ifname));
351 ipfl.fl_ifname[sizeof(ipfl.fl_ifname) - 1] = '\0';
364 ipfl.fl_plen = (u_char)mlen;
365 ipfl.fl_hlen = (u_char)hlen;
366 ipfl.fl_rule = fin->fin_rule;
367 (void) strncpy(ipfl.fl_group, fin->fin_group, FR_GROUPLEN);
369 ipfl.fl_loglevel = fin->fin_fr->fr_loglevel;
370 ipfl.fl_logtag = fin->fin_fr->fr_logtag;
372 ipfl.fl_loglevel = 0xffff;
373 ipfl.fl_logtag = FR_NOLOGTAG;
376 bcopy(fin->fin_nattag, (void *)&ipfl.fl_nattag,
377 sizeof(ipfl.fl_nattag));
378 ipfl.fl_flags = flags;
379 ipfl.fl_dir = fin->fin_out;
380 ipfl.fl_lflags = fin->fin_flx;
381 ptrs[0] = (void *)&ipfl;
382 sizes[0] = sizeof(ipfl);