FreeBSD/sys/netpfil/ipfw/ip_fw_sockopt.c
/*
 * Adds @rule to the list of rules to reap
 */
Adds @rule to the list of rules to reap
Adds @rule to the list of rules to reap
void
ipfw_reap_add(struct ip_fw_chain *chain, struct ip_fw **head,
    struct ip_fw *rule)
{
	IPFW_UH_WLOCK_ASSERT(chain);
	unref_rule_objects(chain, rule);
	*((struct ip_fw **)rule) = *head;
	*head = rule;
}
void ipfw_reap_add ( struct ip_fw_chain * chain , struct ip_fw * * head , struct ip_fw * rule ) { IPFW_UH_WLOCK_ASSERT ( chain ) ; unref_rule_objects ( chain , rule ) ; * ( ( struct ip_fw * * ) rule ) = * head ; * head = rule ; }
Adds @rule to the list of rules to reap
Adds @rule to the list of rules to reap
/* Unlink rule from everywhere */