summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen2001-10-31 11:07:12 +0000
committerEric Andersen2001-10-31 11:07:12 +0000
commit1552ff7efb760214eb4e5afc97f200136a935643 (patch)
treeb802098fd303d7f2630a20e50cc891084120fcf2 /include
parentec07469a3eff7f9ac7be886390592c31163ddf59 (diff)
downloadbusybox-1552ff7efb760214eb4e5afc97f200136a935643.zip
busybox-1552ff7efb760214eb4e5afc97f200136a935643.tar.gz
Move usage.h to include/usage.h
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h11
2 files changed, 14 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index b0536ac..44d274b 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -311,6 +311,9 @@
#ifdef CONFIG_NC
APPLET(nc, nc_main, _BB_DIR_USR_BIN)
#endif
+#ifdef CONFIG_NETSTAT
+ APPLET(netstat, netstat_main, _BB_DIR_BIN)
+#endif
#ifdef CONFIG_NSLOOKUP
APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN)
#endif
diff --git a/include/usage.h b/include/usage.h
index bbed44d..46c11c2 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1225,6 +1225,17 @@
"quit\n" \
"221 foobar closing connection\n"
+#define netstat_trivial_usage \
+ "[-lantuwx]"
+#define netstat_full_usage \
+ "-l display listening server sockets\n" \
+ "-a display all sockets (default: connected)\n" \
+ "-n don't resolve names\n" \
+ "-t tcp sockets\n" \
+ "-u udp sockets\n" \
+ "-w raw sockets\n" \
+ "-x unix sockets\n"
+
#define nslookup_trivial_usage \
"[HOST] [SERVER]"
#define nslookup_full_usage \