diff options
Diffstat (limited to 'networking/tc.c')
-rw-r--r-- | networking/tc.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/networking/tc.c b/networking/tc.c index 9b3245546..e9848a86b 100644 --- a/networking/tc.c +++ b/networking/tc.c | |||
@@ -7,6 +7,27 @@ | |||
7 | * Bernhard Reutner-Fischer adjusted for busybox | 7 | * Bernhard Reutner-Fischer adjusted for busybox |
8 | */ | 8 | */ |
9 | 9 | ||
10 | //usage:#define tc_trivial_usage | ||
11 | /* //usage: "[OPTIONS] OBJECT CMD [dev STRING]" */ | ||
12 | //usage: "OBJECT CMD [dev STRING]" | ||
13 | //usage:#define tc_full_usage "\n\n" | ||
14 | //usage: "OBJECT: {qdisc|class|filter}\n" | ||
15 | //usage: "CMD: {add|del|change|replace|show}\n" | ||
16 | //usage: "\n" | ||
17 | //usage: "qdisc [ handle QHANDLE ] [ root |"IF_FEATURE_TC_INGRESS(" ingress |")" parent CLASSID ]\n" | ||
18 | /* //usage: "[ estimator INTERVAL TIME_CONSTANT ]\n" */ | ||
19 | //usage: " [ [ QDISC_KIND ] [ help | OPTIONS ] ]\n" | ||
20 | //usage: " QDISC_KIND := { [p|b]fifo | tbf | prio | cbq | red | etc. }\n" | ||
21 | //usage: "qdisc show [ dev STRING ]"IF_FEATURE_TC_INGRESS(" [ingress]")"\n" | ||
22 | //usage: "class [ classid CLASSID ] [ root | parent CLASSID ]\n" | ||
23 | //usage: " [ [ QDISC_KIND ] [ help | OPTIONS ] ]\n" | ||
24 | //usage: "class show [ dev STRING ] [ root | parent CLASSID ]\n" | ||
25 | //usage: "filter [ pref PRIO ] [ protocol PROTO ]\n" | ||
26 | /* //usage: "\t[ estimator INTERVAL TIME_CONSTANT ]\n" */ | ||
27 | //usage: " [ root | classid CLASSID ] [ handle FILTERID ]\n" | ||
28 | //usage: " [ [ FILTER_TYPE ] [ help | OPTIONS ] ]\n" | ||
29 | //usage: "filter show [ dev STRING ] [ root | parent CLASSID ]" | ||
30 | |||
10 | #include "libbb.h" | 31 | #include "libbb.h" |
11 | 32 | ||
12 | #include "libiproute/utils.h" | 33 | #include "libiproute/utils.h" |