| 307 | } |
| 308 | |
| 309 | void |
| 310 | ah_stats(u_long off, const char *name, int family __unused, int proto __unused) |
| 311 | { |
| 312 | struct ahstat ahstat; |
| 313 | |
| 314 | if (fetch_stats("net.inet.ah.stats", off, &ahstat, |
| 315 | sizeof(ahstat), kread_counters) != 0) |
| 316 | return; |
| 317 | |
| 318 | xo_emit("{T:/%s}:\n", name); |
| 319 | |
| 320 | print_ahstats(&ahstat); |
| 321 | } |
| 322 | |
| 323 | static void |
| 324 | print_espstats(const struct espstat *espstat) |
nothing calls this directly
no test coverage detected