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

Function print_mac

tools/ipfw/ipfw2.c:1327–1334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1325}
1326
1327static void
1328print_mac(struct buf_pr *bp, const ipfw_insn_mac *mac)
1329{
1330
1331 bprintf(bp, " MAC");
1332 format_mac(bp, mac->addr, mac->mask);
1333 format_mac(bp, mac->addr + 6, mac->mask + 6);
1334}
1335
1336static void
1337fill_icmptypes(ipfw_insn_u32 *cmd, char *av)

Callers 1

print_instructionFunction · 0.70

Calls 2

bprintfFunction · 0.85
format_macFunction · 0.85

Tested by

no test coverage detected