Lines Matching refs:chain
503 resize_dynamic_table(struct ip_fw_chain *chain, int nbuckets)
527 IPFW_UH_WLOCK(chain);
530 * Acquire chain write lock to permit hash access
533 IPFW_WLOCK(chain);
546 /* Remove from current chain */
563 IPFW_WUNLOCK(chain);
565 IPFW_UH_WUNLOCK(chain);
590 * the third parameter is the parent rule and not the chain.
686 ipfw_install_state(struct ip_fw_chain *chain, struct ip_fw *rule,
729 conn_limit = IP_FW_ARG_TABLEARG(chain, cmd->conn_limit, limit);
1005 struct ip_fw_chain *chain;
1013 chain = &V_layer3_chain;
1022 check_dyn_rules(chain, NULL, check_ka, 1);
1036 * @chain - pointer to current ipfw rules chain
1054 check_dyn_rules(struct ip_fw_chain *chain, ipfw_range_tlv *rt,
1087 * We make a chain of packets to go out here -- not deferring
1097 IPFW_UH_WLOCK(chain);
1099 IPFW_UH_WLOCK_ASSERT(chain);
1133 q->rule = chain->default_rule;
1291 IPFW_UH_WUNLOCK(chain);
1329 resize_dynamic_table(chain, new_buckets);
1335 * @chain - pointer to current ipfw rules chain
1344 ipfw_expire_dyn_rules(struct ip_fw_chain *chain, ipfw_range_tlv *rt)
1347 check_dyn_rules(chain, rt, 0, 0);
1380 ipfw_dyn_init(struct ip_fw_chain *chain)
1412 * being added to chain.
1414 resize_dynamic_table(chain, V_curr_dyn_buckets);
1535 ipfw_dump_states(struct ip_fw_chain *chain, struct sockopt_data *sd)
1546 IPFW_UH_RLOCK_ASSERT(chain);
1584 ipfw_get_dynamic(struct ip_fw_chain *chain, char **pbp, const char *ep)
1594 IPFW_UH_RLOCK_ASSERT(chain);