diff options
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index e7532e070..c0b81efd1 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -4111,6 +4111,26 @@ | |||
4111 | "$ echo $?\n" \ | 4111 | "$ echo $?\n" \ |
4112 | "1\n" | 4112 | "1\n" |
4113 | 4113 | ||
4114 | #define tc_trivial_usage \ | ||
4115 | /*"[OPTIONS] "*/"OBJECT CMD [dev STRING]" | ||
4116 | #define tc_full_usage "\n\n" \ | ||
4117 | "OBJECT: {qdisc|class|filter}\n" \ | ||
4118 | "CMD: {add|del|change|replace|show}\n" \ | ||
4119 | "\n" \ | ||
4120 | "qdisc [ handle QHANDLE ] [ root |"USE_FEATURE_TC_INGRESS(" ingress |")" parent CLASSID ]\n" \ | ||
4121 | /* "\t[ estimator INTERVAL TIME_CONSTANT ]\n" */ \ | ||
4122 | "\t[ [ QDISC_KIND ] [ help | OPTIONS ] ]\n" \ | ||
4123 | "\tQDISC_KIND := { [p|b]fifo | tbf | prio | cbq | red | etc. }\n" \ | ||
4124 | "qdisc show [ dev STRING ]"USE_FEATURE_TC_INGRESS(" [ingress]")"\n" \ | ||
4125 | "class [ classid CLASSID ] [ root | parent CLASSID ]\n" \ | ||
4126 | "\t[ [ QDISC_KIND ] [ help | OPTIONS ] ]\n" \ | ||
4127 | "class show [ dev STRING ] [ root | parent CLASSID ]\n" \ | ||
4128 | "filter [ pref PRIO ] [ protocol PROTO ]\n" \ | ||
4129 | /* "\t[ estimator INTERVAL TIME_CONSTANT ]\n" */ \ | ||
4130 | "\t[ root | classid CLASSID ] [ handle FILTERID ]\n" \ | ||
4131 | "\t[ [ FILTER_TYPE ] [ help | OPTIONS ] ]\n" \ | ||
4132 | "filter show [ dev STRING ] [ root | parent CLASSID ]" | ||
4133 | |||
4114 | #define tcpsvd_trivial_usage \ | 4134 | #define tcpsvd_trivial_usage \ |
4115 | "[-hEv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] ip port prog..." | 4135 | "[-hEv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] ip port prog..." |
4116 | /* with not-implemented options: */ | 4136 | /* with not-implemented options: */ |