Searched refs:rule_vers1 (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_fw2_compat.c | 1513 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 D | ip_fw2.c | 3598 char *rule_vers1; local 3619 rule_vers1 = (char*)buf2; 3626 ipfw_convert_from_latest(bp, (void *)rule_vers1, api_version, is64user); 3631 ipfw_convert_from_latest(bp, (void *)rule_vers1, api_version, is64user); 3636 rule_vers1 += ipfwcompsize; 3640 cp_dyn_to_comp_64( (struct ipfw_dyn_rule_compat_64 *)rule_vers1, &len); 3642 cp_dyn_to_comp_32( (struct ipfw_dyn_rule_compat_32 *)rule_vers1, &len); 3726 struct ip_fw_compat rule_vers1; local 3727 ipfw_convert_from_latest(rule, &rule_vers1, api_version, is64user); 3730 error = sooptcopyout(sopt, &rule_vers1, sizeo [all...] |
Completed in 35 milliseconds