{
PLUGIN_PRE_AUTH = 1,
PLUGIN_POST_AUTH,
- PLUGIN_PACKET_RX,
- PLUGIN_PACKET_TX,
PLUGIN_TIMER,
PLUGIN_NEW_SESSION,
PLUGIN_KILL_SESSION,
int protocol;
};
-struct param_packet_rx
+struct param_timer
{
- tunnelt *t;
- sessiont *s;
- char *buf;
- int len;
+ time_t time_now;
};
-struct param_packet_tx
+struct param_new_session
{
tunnelt *t;
sessiont *s;
- char *buf;
- int len;
};
-struct param_timer
+struct param_kill_session
{
- time_t time_now;
+ tunnelt *t;
+ sessiont *s;
};
struct param_control
char *additional;
};
-struct param_new_session
-{
- tunnelt *t;
- sessiont *s;
-};
-
-struct param_kill_session
-{
- tunnelt *t;
- sessiont *s;
-};
-
struct param_radius_response
{
tunnelt *t;