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

/openbsd-current/sys/netinet/
H A Dip_ether.h32 struct etheripstat { struct
/openbsd-current/sys/net/
H A Dif_etherip.c787 struct etheripstat etheripstat; local
789 CTASSERT(sizeof(etheripstat) == (etherips_ncounters *
791 memset(&etheripstat, 0, sizeof etheripstat);
792 counters_read(etheripcounters, (uint64_t *)&etheripstat,
794 return (sysctl_rdstruct(oldp, oldlenp, newp, &etheripstat,
795 sizeof(etheripstat)));
/openbsd-current/usr.bin/netstat/
H A Dinet.c1003 struct etheripstat etheripstat; local
1005 size_t len = sizeof(etheripstat);
1008 &etheripstat, &len, NULL, 0) == -1) {
1015 #define p(f, m) if (etheripstat.f || sflag <= 1) \
1016 printf(m, etheripstat.f, plural(etheripstat.f))

Completed in 193 milliseconds