Lines Matching refs:ip_fw
45 #include <netinet/ip_fw.h>
493 ipfw_print_vers2_struct(struct ip_fw *vers2_rule)
923 ipfw_map_from_cmds(struct ip_fw *curr_rule, struct ip_fw_compat *compat_rule)
1203 ipfw_map_from_actions(struct ip_fw *curr_rule, struct ip_fw_compat *compat_rule)
1267 ipfw_version_latest_to_one(struct ip_fw *curr_rule, struct ip_fw_compat *rule_vers1)
1294 ipfw_version_latest_to_zero(struct ip_fw *curr_rule, struct ip_old_fw *rule_vers0)
1328 ipfw_convert_from_latest(struct ip_fw *curr_rule, void *old_rule, u_int32_t api_version)
1360 /* from ip_fw.c */
1511 ipfw_convert_to_cmds(struct ip_fw *curr_rule, struct ip_fw_compat *compat_rule)
1522 /* preemptively check the old ip_fw rule to
2055 ipfw_version_one_to_version_two(struct sockopt *sopt, struct ip_fw *curr_rule,
2100 ipfw_version_one_to_latest(struct sockopt *sopt, struct ip_fw *curr_rule, struct ip_fw_compat *rule_vers1)
2146 ipfw_version_zero_to_latest(struct sockopt *sopt, struct ip_fw *curr_rule)
2159 bzero(curr_rule, sizeof(struct ip_fw));
2183 ipfw_convert_to_latest(struct sockopt *sopt, struct ip_fw *curr_rule, int api_version)
2255 struct ip_fw rule;
2257 if (!sopt->sopt_val || sopt->sopt_valsize < sizeof(struct ip_fw))
2260 if ((err = sooptcopyin(sopt, &rule, sizeof(struct ip_fw),
2261 sizeof(struct ip_fw)))) {