Set a maximum time to wait for radius to be ready on shutdown
[l2tpns.git] / tbf.h
1 #ifndef __TBF_H__
2 #define __TBF_H__
3
4 void init_tbf(void);
5 int tbf_run_timer(void);
6 int tbf_queue_packet(int tbf_id, char * data, int size);
7 int new_tbf(int sid, int max_credit, int rate, void (*f)(sessionidt, u8 *, int));
8 int free_tbf(int tid);
9 void fsck_tbfs(void);
10
11 int cmd_show_tbf(struct cli_def *cli, char *command, char **argv, int argc);
12
13 #endif /* __TBF_H__ */