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

Function table_flush

tools/ipfw/tables.c:638–646  ·  view source on GitHub ↗

* Flushes given table specified by @oh->ntlv. * Returns 0 on success. */

Source from the content-addressed store, hash-verified

636 * Returns 0 on success.
637 */
638static int
639table_flush(ipfw_obj_header *oh)
640{
641
642 if (do_set3(IP_FW_TABLE_XFLUSH, &oh->opheader, sizeof(*oh)) != 0)
643 return (-1);
644
645 return (0);
646}
647
648static int
649table_do_swap(ipfw_obj_header *oh, char *second)

Callers 3

ipfw_table_handlerFunction · 0.85
table_createFunction · 0.85
table_flush_oneFunction · 0.85

Calls 1

do_set3Function · 0.85

Tested by

no test coverage detected