diff options
Diffstat (limited to 'networking/netstat.c')
-rw-r--r-- | networking/netstat.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/networking/netstat.c b/networking/netstat.c index 2196d42f7..90da6cdb8 100644 --- a/networking/netstat.c +++ b/networking/netstat.c | |||
@@ -13,6 +13,32 @@ | |||
13 | * | 13 | * |
14 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 14 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
15 | */ | 15 | */ |
16 | //config:config NETSTAT | ||
17 | //config: bool "netstat" | ||
18 | //config: default y | ||
19 | //config: select PLATFORM_LINUX | ||
20 | //config: help | ||
21 | //config: netstat prints information about the Linux networking subsystem. | ||
22 | //config: | ||
23 | //config:config FEATURE_NETSTAT_WIDE | ||
24 | //config: bool "Enable wide netstat output" | ||
25 | //config: default y | ||
26 | //config: depends on NETSTAT | ||
27 | //config: help | ||
28 | //config: Add support for wide columns. Useful when displaying IPv6 addresses | ||
29 | //config: (-W option). | ||
30 | //config: | ||
31 | //config:config FEATURE_NETSTAT_PRG | ||
32 | //config: bool "Enable PID/Program name output" | ||
33 | //config: default y | ||
34 | //config: depends on NETSTAT | ||
35 | //config: help | ||
36 | //config: Add support for -p flag to print out PID and program name. | ||
37 | //config: +700 bytes of code. | ||
38 | |||
39 | //applet:IF_NETSTAT(APPLET(netstat, BB_DIR_BIN, BB_SUID_DROP)) | ||
40 | |||
41 | //kbuild:lib-$(CONFIG_NETSTAT) += netstat.o | ||
16 | 42 | ||
17 | #include "libbb.h" | 43 | #include "libbb.h" |
18 | #include "inet_common.h" | 44 | #include "inet_common.h" |