MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ah_stats

Function ah_stats

tools/netstat/ipsec.c:309–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309void
310ah_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
323static void
324print_espstats(const struct espstat *espstat)

Callers

nothing calls this directly

Calls 3

fetch_statsFunction · 0.85
xo_emitFunction · 0.85
print_ahstatsFunction · 0.85

Tested by

no test coverage detected