X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/551daa285a3c38c4467f39dda5cc1c084dce28df..cc48a90ef0e711e48ba90f4c39f3a674a7ae0fa0:/tbf.h?ds=sidebyside diff --git a/tbf.h b/tbf.h index 7a6df12..bad2c37 100644 --- a/tbf.h +++ b/tbf.h @@ -33,7 +33,7 @@ typedef struct { char packets[TBF_MAX_QUEUE][TBF_MAX_SIZE]; } tbft; -void init_tbf(void); +void init_tbf(int num_tbfs); int tbf_run_timer(void); int tbf_queue_packet(int tbf_id, char * data, int size); int new_tbf(int sid, int max_credit, int rate, void (*f)(sessionidt, u8 *, int));