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

Function table_print_valheader

tools/ipfw/tables.c:767–778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

765}
766
767static void
768table_print_valheader(char *buf, size_t bufsize, uint32_t vmask)
769{
770
771 if (vmask == IPFW_VTYPE_LEGACY) {
772 snprintf(buf, bufsize, "legacy");
773 return;
774 }
775
776 memset(buf, 0, bufsize);
777 print_flags_buffer(buf, bufsize, tablevaltypes, vmask);
778}
779
780/*
781 * Prints table info struct @i in human-readable form.

Callers 2

table_show_infoFunction · 0.85
ipfw_list_valuesFunction · 0.85

Calls 3

snprintfFunction · 0.85
memsetFunction · 0.85
print_flags_bufferFunction · 0.85

Tested by

no test coverage detected