Lines Matching defs:action
129 /* print action */
165 printf("No action given\n");
578 printf("** unrecognized action %d len %d",
1515 ipfw_insn *action, *cmd, *src, *dst;
1533 /* fill in action */
1534 action = (ipfw_insn *)actbuf;
1538 action->len = 1; /* default */
1541 have_state = action;
1542 action->opcode = O_CHECK_STATE;
1547 action->opcode = O_ACCEPT;
1550 action->opcode = O_COUNT;
1553 action->opcode = O_PIPE;
1554 action->len = F_INSN_SIZE(ipfw_insn_pipe);
1555 action->arg1 = compat_rule->fw_divert_port_compat;
1558 action->opcode = O_QUEUE;
1559 action->len = F_INSN_SIZE(ipfw_insn_pipe);
1560 action->arg1 = compat_rule->fw_divert_port_compat;
1563 action->opcode = O_SKIPTO;
1564 action->arg1 = compat_rule->fw_skipto_rule_compat;
1567 action->opcode = O_DIVERT;
1568 action->arg1 = compat_rule->fw_divert_port_compat;
1571 action->opcode = O_TEE;
1572 action->arg1 = compat_rule->fw_divert_port_compat;
1576 ipfw_insn_sa *p = (ipfw_insn_sa *)action;
1578 action->opcode = O_FORWARD_IP;
1579 action->len = F_INSN_SIZE(ipfw_insn_sa);
1589 action->opcode = O_DENY;
1590 action->arg1 = 0;
1593 action->opcode = O_REJECT;
1594 action->arg1 = compat_rule->fw_reject_code_compat;
1597 action->opcode = O_NOP;
1602 /* action is mandatory */
1603 if (action->opcode == O_NOP) {
1607 action = next_cmd(action);
2026 * start action section
2043 for (src = (ipfw_insn *)actbuf; src != action; src += k) {