Searched refs:pfra_af (Results 1 – 9 of 9) sorted by relevance
438 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()
2018 addr.pfra_af = n->af; in append_addr_host()
83 #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 …]
758 p->pfra_af = af; in pfi_address_add()
895 p.pfra_af = pfoe->af; in pf_overload_task()
843 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()
859 addr.pfra_af = AF_INET; in change_table() 862 addr.pfra_af = AF_INET6; in change_table()
133 addr.pfra_af = af; in add_to_ipset()
1393 u_int8_t pfra_af; member