| 765 | } |
| 766 | |
| 767 | static void |
| 768 | table_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. |
no test coverage detected