Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c94 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()
[all …]