Searched refs:ipsecstat (Results 1 - 3 of 3) sorted by relevance

/openbsd-current/sys/netinet/
H A Dipsec_input.c744 struct ipsecstat ipsecstat; local
746 CTASSERT(sizeof(ipsecstat) == (ipsec_ncounters * sizeof(uint64_t)));
747 memset(&ipsecstat, 0, sizeof ipsecstat);
748 counters_read(ipseccounters, (uint64_t *)&ipsecstat, ipsec_ncounters,
750 return (sysctl_rdstruct(oldp, oldlenp, newp, &ipsecstat,
751 sizeof(ipsecstat)));
H A Dip_ipsp.h135 struct ipsecstat { struct
/openbsd-current/usr.bin/netstat/
H A Dinet.c1036 struct ipsecstat ipsecstat; local
1038 size_t len = sizeof(ipsecstat);
1041 &ipsecstat, &len, NULL, 0) == -1) {
1048 #define p(f, m) if (ipsecstat.f || sflag <= 1) \
1049 printf(m, ipsecstat.f, plural(ipsecstat.f))

Completed in 137 milliseconds