version 1.10, 1997/02/21 09:09:50 |
version 1.11, 1997/02/26 03:08:43 |
|
|
#define p(f, m) if (ahstat.f || sflag <= 1) \ |
#define p(f, m) if (ahstat.f || sflag <= 1) \ |
printf(m, ahstat.f, plural(ahstat.f)) |
printf(m, ahstat.f, plural(ahstat.f)) |
|
|
|
p(ahs_input, "\t%u input AH packets\n"); |
|
p(ahs_output, "\t%u output AH packets\n"); |
p(ahs_hdrops, "\t%u packet%s shorter than header shows\n"); |
p(ahs_hdrops, "\t%u packet%s shorter than header shows\n"); |
p(ahs_notdb, "\t%u packet%s for which no TDB was found\n"); |
p(ahs_notdb, "\t%u packet%s for which no TDB was found\n"); |
p(ahs_badkcr, "\t%u input packet%s that failed to be processed\n"); |
p(ahs_badkcr, "\t%u input packet%s that failed to be processed\n"); |
|
|
printf(m, ip4stat.f, plural(ip4stat.f)) |
printf(m, ip4stat.f, plural(ip4stat.f)) |
|
|
p(ip4s_ipackets, "\t%u total input packet%s\n"); |
p(ip4s_ipackets, "\t%u total input packet%s\n"); |
|
p(ip4s_opackets, "\t%u total output packet%s\n"); |
p(ip4s_hdrops, "\t%u packet%s shorter than header shows\n"); |
p(ip4s_hdrops, "\t%u packet%s shorter than header shows\n"); |
p(ip4s_notip4, "\t%u packet%s with internal header not IPv4 received\n"); |
p(ip4s_notip4, "\t%u packet%s with internal header not IPv4 received\n"); |
p(ip4s_qfull, "\t%u packet%s were dropeed due to full output queue\n"); |
p(ip4s_qfull, "\t%u packet%s were dropeed due to full output queue\n"); |