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

Function pack_table

tools/ipfw/ipfw2.c:3073–3081  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3071}
3072
3073static uint16_t
3074pack_table(struct tidx *tstate, const char *name)
3075{
3076
3077 if (table_check_name(name) != 0)
3078 return (0);
3079
3080 return (pack_object(tstate, name, IPFW_TLV_TBL_NAME));
3081}
3082
3083void
3084fill_table(struct _ipfw_insn *cmd, char *av, uint8_t opcode,

Callers 3

fill_tableFunction · 0.85
fill_ifaceFunction · 0.85
compile_ruleFunction · 0.85

Calls 2

table_check_nameFunction · 0.85
pack_objectFunction · 0.85

Tested by

no test coverage detected