Lines Matching refs:pfas
94 struct pfr_astats pfas; member
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()
853 (u_char *)&e->pfas.pfras_a.pfra_ip4addr, 4)); in pf_tbladdr()
854 } else if (e->pfas.pfras_a.pfra_af == AF_INET6) in pf_tbladdr()
856 (u_char *)&e->pfas.pfras_a.pfra_ip6addr, 16)); in pf_tbladdr()
861 val->v.integer = (int32_t) e->pfas.pfras_a.pfra_net; in pf_tbladdr()
865 (time(NULL) - e->pfas.pfras_tzero) * 100; in pf_tbladdr()
869 e->pfas.pfras_bytes[PFR_DIR_IN][PFR_OP_PASS]; in pf_tbladdr()
873 e->pfas.pfras_bytes[PFR_DIR_IN][PFR_OP_BLOCK]; in pf_tbladdr()
877 e->pfas.pfras_bytes[PFR_DIR_OUT][PFR_OP_PASS]; in pf_tbladdr()
881 e->pfas.pfras_bytes[PFR_DIR_OUT][PFR_OP_BLOCK]; in pf_tbladdr()
885 e->pfas.pfras_packets[PFR_DIR_IN][PFR_OP_PASS]; in pf_tbladdr()
889 e->pfas.pfras_packets[PFR_DIR_IN][PFR_OP_BLOCK]; in pf_tbladdr()
893 e->pfas.pfras_packets[PFR_DIR_OUT][PFR_OP_PASS]; in pf_tbladdr()
897 e->pfas.pfras_packets[PFR_DIR_OUT][PFR_OP_BLOCK]; in pf_tbladdr()
1425 memcpy(&e->pfas, t + i, sizeof(struct pfr_astats)); in pfa_table_addrs()