Lines Matching defs:rulesize
591 size_t rulesize, cmdsize;
608 rulesize = sizeof(struct ip_fw_32) + (user_ip_fw->cmd_len * sizeof(ipfw_insn) - 4);
616 size_t rulesize, cmdsize;
633 rulesize = sizeof(struct ip_fw_64) + (user_ip_fw->cmd_len * sizeof(ipfw_insn) - 4);
634 if (rulesize > copysize)
717 size_t rulesize, cmdsize;
734 rulesize = sizeof(struct ip_fw_32) + (fw32->cmd_len * sizeof(ipfw_insn) - 4);
735 if ( rulesize > copysize )
746 size_t rulesize, cmdsize;
764 rulesize = sizeof(struct ip_fw_64) + (fw64->cmd_len * sizeof(ipfw_insn) - 4);
765 if ( rulesize > copysize )
3477 size_t rulesize = RULE_MAXSIZE;
3774 error = sooptcopyin_fw( sopt, rule, &rulesize);
3784 rulesize = RULESIZE(rule);
3786 error = check_ipfw_struct(rule, rulesize);