Lines Matching defs:ipfl
239 ipflog_t ipfl;
254 ipfl.fl_nattag.ipt_num[0] = 0;
319 ipfl.fl_unit = (u_int)0;
327 ipfl.fl_ifname, sizeof(ipfl.fl_ifname)) != 0)
333 ipfl.fl_unit = (u_int)0;
334 (void) strncpy(ipfl.fl_ifname, IFNAME(ifp), sizeof(ipfl.fl_ifname));
339 COPYIFNAME(ifp, ipfl.fl_ifname);
341 ipfl.fl_unit = (u_int)ifp->if_unit;
343 if ((ipfl.fl_ifname[0] = ifp->if_name[0]))
344 if ((ipfl.fl_ifname[1] = ifp->if_name[1]))
345 if ((ipfl.fl_ifname[2] = ifp->if_name[2]))
346 ipfl.fl_ifname[3] = ifp->if_name[3];
348 (void) strncpy(ipfl.fl_ifname, IFNAME(ifp), sizeof(ipfl.fl_ifname));
349 ipfl.fl_ifname[sizeof(ipfl.fl_ifname) - 1] = '\0';
362 ipfl.fl_plen = (u_char)mlen;
363 ipfl.fl_hlen = (u_char)hlen;
364 ipfl.fl_rule = fin->fin_rule;
365 (void) strncpy(ipfl.fl_group, fin->fin_group, FR_GROUPLEN);
367 ipfl.fl_loglevel = fin->fin_fr->fr_loglevel;
368 ipfl.fl_logtag = fin->fin_fr->fr_logtag;
370 ipfl.fl_loglevel = 0xffff;
371 ipfl.fl_logtag = FR_NOLOGTAG;
374 bcopy(fin->fin_nattag, (void *)&ipfl.fl_nattag,
375 sizeof(ipfl.fl_nattag));
376 ipfl.fl_flags = flags;
377 ipfl.fl_dir = fin->fin_out;
378 ipfl.fl_lflags = fin->fin_flx;
379 ptrs[0] = (void *)&ipfl;
380 sizes[0] = sizeof(ipfl);