Lines Matching refs:action

136 	/* print action */
172 printf("No action given\n");
479 printf("** unrecognized action %d len %d",
1981 ipfw_insn *action, *cmd, *src, *dst;
1999 /* fill in action */
2000 action = (ipfw_insn *)actbuf;
2004 action->len = 1; /* default */
2007 have_state = action;
2008 action->opcode = O_CHECK_STATE;
2013 action->opcode = O_ACCEPT;
2016 action->opcode = O_COUNT;
2019 action->opcode = O_PIPE;
2020 action->len = F_INSN_SIZE(ipfw_insn_pipe);
2021 action->arg1 = compat_rule->fw_divert_port_compat;
2024 action->opcode = O_QUEUE;
2025 action->len = F_INSN_SIZE(ipfw_insn_pipe);
2026 action->arg1 = compat_rule->fw_divert_port_compat;
2029 action->opcode = O_SKIPTO;
2030 action->arg1 = compat_rule->fw_skipto_rule_compat;
2033 action->opcode = O_DIVERT;
2034 action->arg1 = compat_rule->fw_divert_port_compat;
2037 action->opcode = O_TEE;
2038 action->arg1 = compat_rule->fw_divert_port_compat;
2042 ipfw_insn_sa *p = (ipfw_insn_sa *)action;
2044 action->opcode = O_FORWARD_IP;
2045 action->len = F_INSN_SIZE(ipfw_insn_sa);
2055 action->opcode = O_DENY;
2056 action->arg1 = 0;
2059 action->opcode = O_REJECT;
2060 action->arg1 = compat_rule->fw_reject_code_compat;
2063 action->opcode = O_NOP;
2068 /* action is mandatory */
2069 if (action->opcode == O_NOP) {
2073 action = next_cmd(action);
2492 * start action section
2509 for (src = (ipfw_insn *)actbuf; src != action; src += k) {
2525 ipfw_insn *action, *cmd, *src, *dst;
2542 /* fill in action */
2543 action = (ipfw_insn *)actbuf;
2547 action->len = 1; /* default */
2550 have_state = action;
2551 action->opcode = O_CHECK_STATE;
2556 action->opcode = O_ACCEPT;
2559 action->opcode = O_COUNT;
2562 action->opcode = O_PIPE;
2563 action->len = F_INSN_SIZE(ipfw_insn_pipe);
2564 action->arg1 = compat_rule->fw_divert_port_compat;
2567 action->opcode = O_QUEUE;
2568 action->len = F_INSN_SIZE(ipfw_insn_pipe);
2569 action->arg1 = compat_rule->fw_divert_port_compat;
2572 action->opcode = O_SKIPTO;
2573 action->arg1 = compat_rule->fw_skipto_rule_compat;
2576 action->opcode = O_DIVERT;
2577 action->arg1 = compat_rule->fw_divert_port_compat;
2580 action->opcode = O_TEE;
2581 action->arg1 = compat_rule->fw_divert_port_compat;
2585 ipfw_insn_sa *p = (ipfw_insn_sa *)action;
2587 action->opcode = O_FORWARD_IP;
2588 action->len = F_INSN_SIZE(ipfw_insn_sa);
2598 action->opcode = O_DENY;
2599 action->arg1 = 0;
2602 action->opcode = O_REJECT;
2603 action->arg1 = compat_rule->fw_reject_code_compat;
2606 action->opcode = O_NOP;
2611 /* action is mandatory */
2612 if (action->opcode == O_NOP) {
2616 action = next_cmd(action);
3032 * start action section
3049 for (src = (ipfw_insn *)actbuf; src != action; src += k) {