X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/2cb89d755448805f3cc1892bc23d5a61f93d6f6a..4b119fa4bf3455ce5eb17e9bccfd2eb1baac7f12:/plugin.h diff --git a/plugin.h b/plugin.h index 788b50a..d6cac99 100644 --- a/plugin.h +++ b/plugin.h @@ -60,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 @@ -91,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;