| 367 | } |
| 368 | |
| 369 | void |
| 370 | esp_stats(u_long off, const char *name, int family __unused, int proto __unused) |
| 371 | { |
| 372 | struct espstat espstat; |
| 373 | |
| 374 | if (fetch_stats("net.inet.esp.stats", off, &espstat, |
| 375 | sizeof(espstat), kread_counters) != 0) |
| 376 | return; |
| 377 | |
| 378 | xo_emit("{T:/%s}:\n", name); |
| 379 | |
| 380 | print_espstats(&espstat); |
| 381 | } |
| 382 | |
| 383 | static void |
| 384 | print_ipcompstats(const struct ipcompstat *ipcompstat) |
nothing calls this directly
no test coverage detected