diff options
author | Eric Andersen | 2001-10-31 11:07:12 +0000 |
---|---|---|
committer | Eric Andersen | 2001-10-31 11:07:12 +0000 |
commit | 1552ff7efb760214eb4e5afc97f200136a935643 (patch) | |
tree | b802098fd303d7f2630a20e50cc891084120fcf2 /include | |
parent | ec07469a3eff7f9ac7be886390592c31163ddf59 (diff) | |
download | busybox-1552ff7efb760214eb4e5afc97f200136a935643.zip busybox-1552ff7efb760214eb4e5afc97f200136a935643.tar.gz |
Move usage.h to include/usage.h
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 11 |
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 \ |