Home
last modified time | relevance | path

Searched refs:pfik_name (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/netpfil/pf/
H A Dpf_if.c322 strlcpy(s.pfik_name, kif_name, sizeof(s.pfik_name)); in pfi_kkif_find()
342 strlcpy(kif->pfik_name, kif_name, sizeof(kif->pfik_name)); in pfi_kkif_attach()
802 return (strncmp(p->pfik_name, q->pfik_name, IFNAMSIZ)); in pfi_kkif_compare()
819 strlcpy(key.pfik_name, name, sizeof(key.pfik_name)); in pfi_update_status()
861 strlcpy(kif->pfik_name, kkif->pfik_name, sizeof(kif->pfik_name)); in pf_kkif_to_kif()
918 if (!strcmp(p->pfik_name, filter)) in pfi_skip_if()
H A Dpf.h254 char pfik_name[IFNAMSIZ]; member
258 char pfik_name[IFNAMSIZ]; member
H A Dif_pflog.c235 memcpy(hdr.ifname, pd->kif->pfik_name, sizeof(hdr.ifname)); in pflog_packet()
H A Dpf_lb.c660 printf("@%s", (*nkif)->pfik_name); in pf_map_addr_sn()
686 printf("@%s", (*nkif)->pfik_name); in pf_map_addr_sn()
H A Dpf_nl.c174 nlattr_add_string(nw, PF_ST_IFNAME, s->kif->pfik_name); in dump_state()
175 nlattr_add_string(nw, PF_ST_ORIG_IFNAME, s->orig_kif->pfik_name); in dump_state()
210 nlattr_add_string(nw, PF_ST_RT_IFNAME, s->rt_kif->pfik_name); in dump_state()
252 strncmp(attrs->ifname, s->kif->pfik_name, IFNAMSIZ) != 0) in handle_dumpstates()
H A Dpf_nv.c939 nvlist_add_string(nvl, "ifname", s->kif->pfik_name); in pf_state_to_nvstate()
940 nvlist_add_string(nvl, "orig_ifname", s->orig_kif->pfik_name); in pf_state_to_nvstate()
H A Dpf_ioctl.c2361 kif->pfik_name)) in pf_killstates_row()
5588 strlcpy(sp->pfs_1301.ifname, st->kif->pfik_name, sizeof(sp->pfs_1301.ifname)); in pfsync_state_export()
5620 st->rt_kif->pfik_name, in pfsync_state_export()
5677 strlcpy(sp->ifname, st->kif->pfik_name, sizeof(sp->ifname)); in pf_state_export()
5678 strlcpy(sp->orig_ifname, st->orig_kif->pfik_name, in pf_state_export()
5732 strlcpy(sp->rt_ifname, st->rt_kif->pfik_name, in pf_state_export()
6031 kif->pfik_name)) in pf_clear_states()
H A Dpf.c1427 s->kif->pfik_name); in pf_state_key_attach()
/freebsd/sbin/pfctl/
H A Dpfctl.c389 if (!strcmp(ifname, p->pfik_name) && in pfctl_check_skip_ifaces()
392 if (!strcmp(ifname, p->pfik_name) && p->pfik_group != NULL) { in pfctl_check_skip_ifaces()
393 if ((h = ifa_grouplookup(p->pfik_name, 0)) == NULL) in pfctl_check_skip_ifaces()
397 if (strncmp(p->pfik_name, ifname, IFNAMSIZ)) in pfctl_check_skip_ifaces()
417 pfctl_set_interface_flags(pf, p->pfik_name, PFI_IFLAG_SKIP, 0); in pfctl_adjust_skip_ifaces()
418 if ((h = ifa_grouplookup(p->pfik_name, 0)) == NULL) in pfctl_adjust_skip_ifaces()
423 if (strncmp(pp->pfik_name, n->ifname, IFNAMSIZ)) in pfctl_adjust_skip_ifaces()
428 pp->pfik_name, PFI_IFLAG_SKIP, 1); in pfctl_adjust_skip_ifaces()
438 pfctl_set_interface_flags(pf, p->pfik_name, PFI_IFLAG_SKIP, 0); in pfctl_adjust_skip_ifaces()
H A Dpfctl_table.c611 printf("%s", p->pfik_name); in print_iface()
/freebsd/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c583 return (string_get(val, e->pfi.pfik_name, -1)); in pf_iftable()
/freebsd/sys/net/
H A Dpfvar.h1554 char pfik_name[IFNAMSIZ]; member