diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /networking/traceroute.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2 busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip |
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/traceroute.c')
-rw-r--r-- | networking/traceroute.c | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c index 55dc15b66..96f9d3472 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c | |||
@@ -210,6 +210,51 @@ | |||
210 | * Tue Dec 20 03:50:13 PST 1988 | 210 | * Tue Dec 20 03:50:13 PST 1988 |
211 | */ | 211 | */ |
212 | 212 | ||
213 | //usage:#define traceroute_trivial_usage | ||
214 | //usage: "[-"IF_TRACEROUTE6("46")"FIldnrv] [-f 1ST_TTL] [-m MAXTTL] [-p PORT] [-q PROBES]\n" | ||
215 | //usage: " [-s SRC_IP] [-t TOS] [-w WAIT_SEC] [-g GATEWAY] [-i IFACE]\n" | ||
216 | //usage: " [-z PAUSE_MSEC] HOST [BYTES]" | ||
217 | //usage:#define traceroute_full_usage "\n\n" | ||
218 | //usage: "Trace the route to HOST\n" | ||
219 | //usage: "\nOptions:" | ||
220 | //usage: IF_TRACEROUTE6( | ||
221 | //usage: "\n -4,-6 Force IP or IPv6 name resolution" | ||
222 | //usage: ) | ||
223 | //usage: "\n -F Set the don't fragment bit" | ||
224 | //usage: "\n -I Use ICMP ECHO instead of UDP datagrams" | ||
225 | //usage: "\n -l Display the TTL value of the returned packet" | ||
226 | //usage: "\n -d Set SO_DEBUG options to socket" | ||
227 | //usage: "\n -n Print numeric addresses" | ||
228 | //usage: "\n -r Bypass routing tables, send directly to HOST" | ||
229 | //usage: "\n -v Verbose" | ||
230 | //usage: "\n -m Max time-to-live (max number of hops)" | ||
231 | //usage: "\n -p Base UDP port number used in probes" | ||
232 | //usage: "\n (default 33434)" | ||
233 | //usage: "\n -q Number of probes per TTL (default 3)" | ||
234 | //usage: "\n -s IP address to use as the source address" | ||
235 | //usage: "\n -t Type-of-service in probe packets (default 0)" | ||
236 | //usage: "\n -w Time in seconds to wait for a response (default 3)" | ||
237 | //usage: "\n -g Loose source route gateway (8 max)" | ||
238 | //usage: | ||
239 | //usage:#define traceroute6_trivial_usage | ||
240 | //usage: "[-dnrv] [-m MAXTTL] [-p PORT] [-q PROBES]\n" | ||
241 | //usage: " [-s SRC_IP] [-t TOS] [-w WAIT_SEC] [-i IFACE]\n" | ||
242 | //usage: " HOST [BYTES]" | ||
243 | //usage:#define traceroute6_full_usage "\n\n" | ||
244 | //usage: "Trace the route to HOST\n" | ||
245 | //usage: "\nOptions:" | ||
246 | //usage: "\n -d Set SO_DEBUG options to socket" | ||
247 | //usage: "\n -n Print numeric addresses" | ||
248 | //usage: "\n -r Bypass routing tables, send directly to HOST" | ||
249 | //usage: "\n -v Verbose" | ||
250 | //usage: "\n -m Max time-to-live (max number of hops)" | ||
251 | //usage: "\n -p Base UDP port number used in probes" | ||
252 | //usage: "\n (default is 33434)" | ||
253 | //usage: "\n -q Number of probes per TTL (default 3)" | ||
254 | //usage: "\n -s IP address to use as the source address" | ||
255 | //usage: "\n -t Type-of-service in probe packets (default 0)" | ||
256 | //usage: "\n -w Time in seconds to wait for a response (default 3)" | ||
257 | |||
213 | #define TRACEROUTE_SO_DEBUG 0 | 258 | #define TRACEROUTE_SO_DEBUG 0 |
214 | 259 | ||
215 | /* TODO: undefs were uncommented - ??! we have config system for that! */ | 260 | /* TODO: undefs were uncommented - ??! we have config system for that! */ |