X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/b089008c0575e64aaf6fc15baaca0c02951f0a82..0834bba08ed4f1e507320306dc682d7e62371af5:/plugin.h?ds=inline diff --git a/plugin.h b/plugin.h index 9a4b67e..d6cac99 100644 --- a/plugin.h +++ b/plugin.h @@ -8,8 +8,6 @@ enum { PLUGIN_PRE_AUTH = 1, PLUGIN_POST_AUTH, - PLUGIN_PACKET_RX, - PLUGIN_PACKET_TX, PLUGIN_TIMER, PLUGIN_NEW_SESSION, PLUGIN_KILL_SESSION, @@ -62,25 +60,21 @@ struct param_post_auth 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 @@ -93,18 +87,6 @@ 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;