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

Function nat_show_log

tools/ipfw/nat.c:636–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634}
635
636static void
637nat_show_log(struct nat44_cfg_nat *n, void *arg __unused)
638{
639 char *buf;
640
641 buf = (char *)(n + 1);
642 if (buf[0] != '\0')
643 printf("nat %s: %s\n", n->name, buf);
644}
645
646static void
647nat_show_cfg(struct nat44_cfg_nat *n, void *arg __unused)

Callers 1

nat_show_dataFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected