summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-03 23:23:10 +0000
committerDenis Vlasenko2007-04-03 23:23:10 +0000
commit02fd66885cfab933b8fcd747f680c9c0c7e61ff2 (patch)
tree3c14327a15979a5c4ccb98fc7b007a42bc685951 /include/usage.h
parentb933ac1e25ec160d86b27d0b6477812fdd01afa4 (diff)
downloadbusybox-02fd66885cfab933b8fcd747f680c9c0c7e61ff2.zip
busybox-02fd66885cfab933b8fcd747f680c9c0c7e61ff2.tar.gz
ipsvd: make udpsvd work similar to tcpsvd (multiple parallel
children for several streams of udp packets tested to work) code size: -509 bytes
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/usage.h b/include/usage.h
index bab14f5..5f1bf24 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3331,7 +3331,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
/* "[-hpEvv] [-c n] [-C n:msg] [-b n] [-u user] [-l name] [-i dir|-x cdb] [ -t sec] ip port prog..." */
#define tcpsvd_full_usage \
"Creates TCP socket, binds it to host:port and listens on in\n" \
- "for incoming connections. For each connection it runs prog" \
+ "for incoming connections. For each connection it runs prog." \
"\n" \
"\nip IP to listen on. '0' = all" \
"\nport Port to listen on" \
@@ -3339,27 +3339,29 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
"\n-l name Local hostname (else looks up local hostname in DNS)" \
"\n-u user[:group] Change to user/group after bind" \
"\n-c n Handle up to n connections simultaneously" \
+ "\n-b n Allow a backlog of approximately n TCP SYNs" \
"\n-C n[:msg] Allow only up to n connections from the same IP" \
"\n New connections from this IP address are closed" \
"\n immediately. 'msg' is written to the peer before close" \
"\n-h Look up peer's hostname" \
- "\n-b n Allow a backlog of approximately n TCP SYNs" \
"\n-E Do not set up TCP-related environment variables" \
"\n-v Verbose"
#define udpsvd_trivial_usage \
- "[-hv] [-u user] [-l name] host port prog"
+ "[-hEv] [-u user] [-l name] host port prog"
#define udpsvd_full_usage \
"Creates UDP socket, binds it to host:port and listens on in\n" \
- "for incoming packets. When packet arrives it runs prog.\n" \
- "When prog exits, it start to listen on the socket again" \
+ "for incoming packets. For each packet it runs prog\n" \
+ "(redirecting all further packets with same peer ip:port to it)." \
"\n" \
"\nip IP to listen on. '0' = all" \
"\nport Port to listen on" \
"\nprog [arg] Program to run" \
"\n-l name Local hostname (else looks up local hostname in DNS)" \
"\n-u user[:group] Change to user/group after bind" \
+ "\n-c n Handle up to n connections simultaneously" \
"\n-h Look up peer's hostname" \
+ "\n-E Do not set up TCP-related environment variables" \
"\n-v Verbose"
#define tftp_trivial_usage \