Next: , Previous: , Up: Proposed Solution   [Contents][Index]


A.3.5 grad_instr_action

Instruction: grad_instr_reply_t expr
struct grad_instr_action {
       grad_entry_point_t expr;    /* Entry point to the compiled
                                      Rewrite expression */
};
typedef struct grad_instr_action grad_instr_reply_t;

The machine executes a Rewrite expression with entry point expr. Any return value from the expression is ignored.

RPL representation

RPL defun: ACTION expr
RPL defun: ACTION entry-point

Examples

(ACTION "%[NAS-IP-Address] = request_source_ip()")