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

Function table_destroy

tools/ipfw/tables.c:608–616  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

606 * Returns 0 on success.
607 */
608static int
609table_destroy(ipfw_obj_header *oh)
610{
611
612 if (do_set3(IP_FW_TABLE_XDESTROY, &oh->opheader, sizeof(*oh)) != 0)
613 return (-1);
614
615 return (0);
616}
617
618static int
619table_destroy_one(ipfw_xtable_info *i, void *arg)

Callers 2

ipfw_table_handlerFunction · 0.85
table_destroy_oneFunction · 0.85

Calls 1

do_set3Function · 0.85

Tested by

no test coverage detected