diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 09:05:14 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 09:05:14 +0100 |
commit | 47367e1d50b81501e8a6ce215f8be4eeacdda693 (patch) | |
tree | 28be64a4a758a274ef2459628ec29384722cd3fb /networking/ifconfig.c | |
parent | e32b64c4ec9272295df6852fb2a2888d7799d2f0 (diff) | |
download | busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.tar.gz busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.tar.bz2 busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.zip |
Convert all networking/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ifconfig.c')
-rw-r--r-- | networking/ifconfig.c | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c index 8984b0207..9e16936d8 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c | |||
@@ -25,6 +25,57 @@ | |||
25 | * 2002-04-20 | 25 | * 2002-04-20 |
26 | * IPV6 support added by Bart Visscher <magick@linux-fan.com> | 26 | * IPV6 support added by Bart Visscher <magick@linux-fan.com> |
27 | */ | 27 | */ |
28 | //config:config IFCONFIG | ||
29 | //config: bool "ifconfig" | ||
30 | //config: default y | ||
31 | //config: select PLATFORM_LINUX | ||
32 | //config: help | ||
33 | //config: Ifconfig is used to configure the kernel-resident network interfaces. | ||
34 | //config: | ||
35 | //config:config FEATURE_IFCONFIG_STATUS | ||
36 | //config: bool "Enable status reporting output (+7k)" | ||
37 | //config: default y | ||
38 | //config: depends on IFCONFIG | ||
39 | //config: help | ||
40 | //config: If ifconfig is called with no arguments it will display the status | ||
41 | //config: of the currently active interfaces. | ||
42 | //config: | ||
43 | //config:config FEATURE_IFCONFIG_SLIP | ||
44 | //config: bool "Enable slip-specific options \"keepalive\" and \"outfill\"" | ||
45 | //config: default y | ||
46 | //config: depends on IFCONFIG | ||
47 | //config: help | ||
48 | //config: Allow "keepalive" and "outfill" support for SLIP. If you're not | ||
49 | //config: planning on using serial lines, leave this unchecked. | ||
50 | //config: | ||
51 | //config:config FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ | ||
52 | //config: bool "Enable options \"mem_start\", \"io_addr\", and \"irq\"" | ||
53 | //config: default y | ||
54 | //config: depends on IFCONFIG | ||
55 | //config: help | ||
56 | //config: Allow the start address for shared memory, start address for I/O, | ||
57 | //config: and/or the interrupt line used by the specified device. | ||
58 | //config: | ||
59 | //config:config FEATURE_IFCONFIG_HW | ||
60 | //config: bool "Enable option \"hw\" (ether only)" | ||
61 | //config: default y | ||
62 | //config: depends on IFCONFIG | ||
63 | //config: help | ||
64 | //config: Set the hardware address of this interface, if the device driver | ||
65 | //config: supports this operation. Currently, we only support the 'ether' | ||
66 | //config: class. | ||
67 | //config: | ||
68 | //config:config FEATURE_IFCONFIG_BROADCAST_PLUS | ||
69 | //config: bool "Set the broadcast automatically" | ||
70 | //config: default y | ||
71 | //config: depends on IFCONFIG | ||
72 | //config: help | ||
73 | //config: Setting this will make ifconfig attempt to find the broadcast | ||
74 | //config: automatically if the value '+' is used. | ||
75 | |||
76 | //applet:IF_IFCONFIG(APPLET(ifconfig, BB_DIR_SBIN, BB_SUID_DROP)) | ||
77 | |||
78 | //kbuild:lib-$(CONFIG_IFCONFIG) += ifconfig.o interface.o | ||
28 | 79 | ||
29 | //usage:#define ifconfig_trivial_usage | 80 | //usage:#define ifconfig_trivial_usage |
30 | //usage: IF_FEATURE_IFCONFIG_STATUS("[-a]") " interface [address]" | 81 | //usage: IF_FEATURE_IFCONFIG_STATUS("[-a]") " interface [address]" |