rip6stat
struct rip6stat rip6stat;
CTASSERT(sizeof(rip6stat) == rip6s_ncounters * sizeof(uint64_t));
counters_read(rip6counters, (uint64_t *)&rip6stat, rip6s_ncounters,
&rip6stat, sizeof(rip6stat)));
struct rip6stat rip6stat;
size_t len = sizeof(rip6stat);
&rip6stat, &len, NULL, 0) == -1) {
#define p(f, m) if (rip6stat.f || sflag <= 1) \
printf(m, (unsigned long long)rip6stat.f, plural(rip6stat.f))
delivered = rip6stat.rip6s_ipackets -
rip6stat.rip6s_nosock -
rip6stat.rip6s_nosockmcast -
rip6stat.rip6s_fullsock;