diff options
Diffstat (limited to 'networking/ipcalc.c')
-rw-r--r-- | networking/ipcalc.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/networking/ipcalc.c b/networking/ipcalc.c index f4bacd7dc..21219424f 100644 --- a/networking/ipcalc.c +++ b/networking/ipcalc.c | |||
@@ -11,6 +11,31 @@ | |||
11 | * | 11 | * |
12 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 12 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
13 | */ | 13 | */ |
14 | //config:config IPCALC | ||
15 | //config: bool "ipcalc" | ||
16 | //config: default y | ||
17 | //config: help | ||
18 | //config: ipcalc takes an IP address and netmask and calculates the | ||
19 | //config: resulting broadcast, network, and host range. | ||
20 | //config: | ||
21 | //config:config FEATURE_IPCALC_FANCY | ||
22 | //config: bool "Fancy IPCALC, more options, adds 1 kbyte" | ||
23 | //config: default y | ||
24 | //config: depends on IPCALC | ||
25 | //config: help | ||
26 | //config: Adds the options hostname, prefix and silent to the output of | ||
27 | //config: "ipcalc". | ||
28 | //config: | ||
29 | //config:config FEATURE_IPCALC_LONG_OPTIONS | ||
30 | //config: bool "Enable long options" | ||
31 | //config: default y | ||
32 | //config: depends on IPCALC && LONG_OPTS | ||
33 | //config: help | ||
34 | //config: Support long options for the ipcalc applet. | ||
35 | |||
36 | //applet:IF_IPCALC(APPLET(ipcalc, BB_DIR_BIN, BB_SUID_DROP)) | ||
37 | |||
38 | //kbuild:lib-$(CONFIG_IPCALC) += ipcalc.o | ||
14 | 39 | ||
15 | //usage:#define ipcalc_trivial_usage | 40 | //usage:#define ipcalc_trivial_usage |
16 | //usage: "[OPTIONS] ADDRESS" | 41 | //usage: "[OPTIONS] ADDRESS" |