| 424 | } |
| 425 | |
| 426 | void |
| 427 | ipcomp_stats(u_long off, const char *name, int family __unused, |
| 428 | int proto __unused) |
| 429 | { |
| 430 | struct ipcompstat ipcompstat; |
| 431 | |
| 432 | if (fetch_stats("net.inet.ipcomp.stats", off, &ipcompstat, |
| 433 | sizeof(ipcompstat), kread_counters) != 0) |
| 434 | return; |
| 435 | |
| 436 | xo_emit("{T:/%s}:\n", name); |
| 437 | |
| 438 | print_ipcompstats(&ipcompstat); |
| 439 | } |
| 440 | |
| 441 | #endif /*IPSEC*/ |
nothing calls this directly
no test coverage detected