Home
last modified time | relevance | path

Searched refs:RULESIZE (Results 1 – 4 of 4) sorted by relevance

/dragonfly/sys/net/ipfw/
HDip_fw2.h357 #define RULESIZE(rule) (sizeof(struct ip_fw) + (rule)->cmd_len * 4 - 4) macro
HDip_fw2.c4513 rule = kmalloc(RULESIZE(ioc_rule), M_IPFW, M_WAITOK | M_ZERO); in ipfw_create_rule()
/dragonfly/sys/net/ipfw3/
HDip_fw3.h283 #define RULESIZE(rule) (sizeof(struct ip_fw) + (rule)->cmd_len * 4 - SIZE_OF_IPFWINSN) macro
HDip_fw3.c650 rule = kmalloc(RULESIZE(ioc_rule), M_IPFW3, M_WAITOK | M_ZERO); in add_rule_dispatch()