summaryrefslogtreecommitdiff
path: root/networking/brctl.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 09:05:14 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 09:05:14 +0100
commit47367e1d50b81501e8a6ce215f8be4eeacdda693 (patch)
tree28be64a4a758a274ef2459628ec29384722cd3fb /networking/brctl.c
parente32b64c4ec9272295df6852fb2a2888d7799d2f0 (diff)
downloadbusybox-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/brctl.c')
-rw-r--r--networking/brctl.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/networking/brctl.c b/networking/brctl.c
index b7320966a..35876896e 100644
--- a/networking/brctl.c
+++ b/networking/brctl.c
@@ -12,6 +12,36 @@
12/* This applet currently uses only the ioctl interface and no sysfs at all. 12/* This applet currently uses only the ioctl interface and no sysfs at all.
13 * At the time of this writing this was considered a feature. 13 * At the time of this writing this was considered a feature.
14 */ 14 */
15//config:config BRCTL
16//config: bool "brctl"
17//config: default y
18//config: select PLATFORM_LINUX
19//config: help
20//config: Manage ethernet bridges.
21//config: Supports addbr/delbr and addif/delif.
22//config:
23//config:config FEATURE_BRCTL_FANCY
24//config: bool "Fancy options"
25//config: default y
26//config: depends on BRCTL
27//config: help
28//config: Add support for extended option like:
29//config: setageing, setfd, sethello, setmaxage,
30//config: setpathcost, setportprio, setbridgeprio,
31//config: stp
32//config: This adds about 600 bytes.
33//config:
34//config:config FEATURE_BRCTL_SHOW
35//config: bool "Support show"
36//config: default y
37//config: depends on BRCTL && FEATURE_BRCTL_FANCY
38//config: help
39//config: Add support for option which prints the current config:
40//config: show
41
42//applet:IF_BRCTL(APPLET(brctl, BB_DIR_USR_SBIN, BB_SUID_DROP))
43
44//kbuild:lib-$(CONFIG_BRCTL) += brctl.o
15 45
16//usage:#define brctl_trivial_usage 46//usage:#define brctl_trivial_usage
17//usage: "COMMAND [BRIDGE [INTERFACE]]" 47//usage: "COMMAND [BRIDGE [INTERFACE]]"