Searched refs:rule_vers1 (Results 1 - 2 of 2) sorted by relevance

/xnu-2422.115.4/bsd/netinet/
H A Dip_fw2_compat.c1513 ipfw_version_latest_to_one_32(struct ip_fw_32 *curr_rule, struct ip_fw_compat_32 *rule_vers1) argument
1515 if (!rule_vers1)
1518 bzero(rule_vers1, sizeof(struct ip_fw_compat_32));
1520 rule_vers1->version = IP_FW_VERSION_1;
1521 rule_vers1->context = CAST_DOWN_EXPLICIT(user32_addr_t,curr_rule->context);
1522 rule_vers1->fw_number = curr_rule->rulenum;
1523 rule_vers1->fw_pcnt = curr_rule->pcnt;
1524 rule_vers1->fw_bcnt = curr_rule->bcnt;
1525 rule_vers1->timestamp = curr_rule->timestamp;
1528 ipfw_map_from_actions_32(curr_rule, rule_vers1);
1539 ipfw_version_latest_to_one_64(struct ip_fw_64 *curr_rule, struct ip_fw_compat_64 *rule_vers1) argument
1570 struct ip_fw_compat_64 rule_vers1; local
1598 struct ip_fw_compat_32 rule_vers1; local
3060 ipfw_version_one_to_version_two_32(struct sockopt *sopt, struct ip_fw *curr_rule, struct ip_fw_compat_32 *rule_vers1) argument
3102 ipfw_version_one_to_version_two_64(struct sockopt *sopt, struct ip_fw *curr_rule, struct ip_fw_compat_64 *rule_vers1) argument
3146 ipfw_version_one_to_latest_32(struct sockopt *sopt, struct ip_fw *curr_rule, struct ip_fw_compat_32 *rule_vers1) argument
3161 ipfw_version_one_to_latest_64(struct sockopt *sopt, struct ip_fw *curr_rule, struct ip_fw_compat_64 *rule_vers1) argument
[all...]
H A Dip_fw2.c3677 char *rule_vers1; local
3698 rule_vers1 = (char*)buf2;
3705 ipfw_convert_from_latest(bp, (void *)rule_vers1, api_version, is64user);
3710 ipfw_convert_from_latest(bp, (void *)rule_vers1, api_version, is64user);
3715 rule_vers1 += ipfwcompsize;
3719 cp_dyn_to_comp_64( (struct ipfw_dyn_rule_compat_64 *)rule_vers1, &len);
3721 cp_dyn_to_comp_32( (struct ipfw_dyn_rule_compat_32 *)rule_vers1, &len);
3805 struct ip_fw_compat rule_vers1; local
3806 ipfw_convert_from_latest(rule, &rule_vers1, api_version, is64user);
3809 error = sooptcopyout(sopt, &rule_vers1, sizeo
[all...]

Completed in 27 milliseconds