Lines Matching defs:rule
1108 locate_flowset(int pipe_nr, struct ip_fw *rule)
1111 ipfw_insn *cmd = rule->cmd + rule->act_ofs;
1150 * rule matching rule, in case of multiple passes
1168 ipfw_insn *cmd = fwa->rule->cmd + fwa->rule->act_ofs;
1174 is_pipe = (fwa->rule->fw_flg & IP_FW_F_COMMAND) == IP_FW_F_PIPE;
1189 * This is a dummynet rule, so we expect an O_PIPE or O_QUEUE rule.
1191 fs = locate_flowset(pipe_nr, fwa->rule);
1238 pkt->rule = fwa->rule ;
1496 if (pkt->rule == r)
1497 pkt->rule = ip_fw_default_rule ;
1501 * when a firewall rule is deleted, scan all queues and remove the flow-id
1502 * from packets matching this rule.
1515 * If the rule references a queue (dn_flow_set), then scan
1526 if (pkt->rule == r)
1527 pkt->rule = ip_fw_default_rule ;