Hi, <div><br></div><div>We are working on a module in which we plan to utilize the t_suspend/t_continue functions of the tm module. t_suspend is straightforward and is working as expected, it seems. </div><div><br></div><div>
The last parameter of t_continue is of type 'struct action', which I can see is defined in route_struct.h as:</div>
<div><br></div><div><div>struct action{</div><div> int cline;</div><div> char *cfile;</div><div> enum action_type type; /* forward, drop, log, send ...*/</div><div> int count;</div><div> struct action* next;</div>
<div> action_u_t val[MAX_ACTIONS];</div><div>};</div></div><div><br></div><div>Does anyone have any practical advice on how to create an action to be used in t_continue?</div><div><br></div><div>Also... when t_continue is called, does it continue processing in the process that calls t_continue, or is execution handed off to another process?</div>
<div><br></div><div>Thank you!</div><div>
<br></div><div>Matthew Williams</div><div>FlowRoute</div>