X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/2cb89d755448805f3cc1892bc23d5a61f93d6f6a..18c0dec97f190fa175898d1c0b509ef7c775d75e:/plugin.h?ds=inline 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;