Home
last modified time | relevance | path

Searched refs:pfra_af (Results 1 – 9 of 9) sorted by relevance

/freebsd/sbin/pfctl/
H A Dpfctl_table.c438 hostnet = (ad->pfra_af == AF_INET6) ? 128 : 32; in print_addrx()
439 inet_ntop(ad->pfra_af, &ad->pfra_u, buf, sizeof(buf)); in print_addrx()
446 inet_ntop(rad->pfra_af, &rad->pfra_u, buf, sizeof(buf)); in print_addrx()
459 sa.sa.sa_family = ad->pfra_af; in print_addrx()
H A Dpfctl_parser.c2018 addr.pfra_af = n->af; in append_addr_host()
/freebsd/sys/netpfil/pf/
H A Dpf_table.c83 #define ADDR_NETWORK(ad) ((ad)->pfra_net < AF_BITS((ad)->pfra_af))
683 switch (ad->pfra_af) { in pfr_validate_addr()
757 if (ad->pfra_af == AF_INET) { in pfr_lookup_addr()
760 } else if ( ad->pfra_af == AF_INET6 ) { in pfr_lookup_addr()
765 pfr_prepare_network(&mask, ad->pfra_af, ad->pfra_net); in pfr_lookup_addr()
789 if (ad->pfra_af == AF_INET) in pfr_create_kentry()
791 else if (ad->pfra_af == AF_INET6) in pfr_create_kentry()
793 ke->pfrke_af = ad->pfra_af; in pfr_create_kentry()
1005 ad->pfra_af = ke->pfrke_af; in pfr_copyout_addr()
1008 if (ad->pfra_af == AF_INET) in pfr_copyout_addr()
[all …]
H A Dpf_if.c758 p->pfra_af = af; in pfi_address_add()
H A Dpf.c895 p.pfra_af = pfoe->af; in pf_overload_task()
/freebsd/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c843 if (e->pfas.pfras_a.pfra_af == AF_INET) in pf_tbladdr()
845 else if (e->pfas.pfras_a.pfra_af == AF_INET6) in pf_tbladdr()
851 if (e->pfas.pfras_a.pfra_af == AF_INET) { in pf_tbladdr()
854 } else if (e->pfas.pfras_a.pfra_af == AF_INET6) in pf_tbladdr()
1411 if ((t + i)->pfras_a.pfra_af != AF_INET && in pfa_table_addrs()
1412 (t + i)->pfras_a.pfra_af != AF_INET6) { in pfa_table_addrs()
/freebsd/contrib/pf/authpf/
H A Dauthpf.c859 addr.pfra_af = AF_INET; in change_table()
862 addr.pfra_af = AF_INET6; in change_table()
/freebsd/contrib/unbound/ipset/
H A Dipset.c133 addr.pfra_af = af; in add_to_ipset()
/freebsd/sys/net/
H A Dpfvar.h1393 u_int8_t pfra_af; member