-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmodules.conf.c
More file actions
44 lines (42 loc) · 800 Bytes
/
modules.conf.c
File metadata and controls
44 lines (42 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#include "damper.h"
#include "inhibit_big_flows.c"
#include "bymark.c"
#include "entropy.c"
#include "random.c"
struct module_info modules[] = {
{
"inhibit_big_flows", /* module name */
&inhibit_big_flows_init, /* constructor */
&inhibit_big_flows_conf, /* configuration parameters */
&inhibit_big_flows_postconf, /* when configuration done */
&inhibit_big_flows_weight, /* weight calculation */
&inhibit_big_flows_free /* destructor */
},
#if 1
{
"random",
&random_init,
&random_conf,
&random_postconf,
&random_weight,
&random_free
},
{
"bymark",
&bymark_init,
&bymark_conf,
&bymark_postconf,
&bymark_weight,
&bymark_free
},
{
"entropy",
&entropy_init,
&entropy_conf,
&entropy_postconf,
&entropy_weight,
&entropy_free
},
#endif
{NULL}
};