diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
commit | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch) | |
tree | a4a1db7f54c16d12fabe2626b8f1e235cd694e9e /networking/brctl.c | |
parent | 811c449748d5bd0505f8510e5582892f94ac0cda (diff) | |
parent | b83c9704128dd106071184e4b00335a3b8486857 (diff) | |
download | busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2 busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip |
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'networking/brctl.c')
-rw-r--r-- | networking/brctl.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/networking/brctl.c b/networking/brctl.c index c0b094eba..19f474fce 100644 --- a/networking/brctl.c +++ b/networking/brctl.c | |||
@@ -12,6 +12,30 @@ | |||
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 | |||
16 | //usage:#define brctl_trivial_usage | ||
17 | //usage: "COMMAND [BRIDGE [INTERFACE]]" | ||
18 | //usage:#define brctl_full_usage "\n\n" | ||
19 | //usage: "Manage ethernet bridges\n" | ||
20 | //usage: "\nCommands:" | ||
21 | //usage: IF_FEATURE_BRCTL_SHOW( | ||
22 | //usage: "\n show Show a list of bridges" | ||
23 | //usage: ) | ||
24 | //usage: "\n addbr BRIDGE Create BRIDGE" | ||
25 | //usage: "\n delbr BRIDGE Delete BRIDGE" | ||
26 | //usage: "\n addif BRIDGE IFACE Add IFACE to BRIDGE" | ||
27 | //usage: "\n delif BRIDGE IFACE Delete IFACE from BRIDGE" | ||
28 | //usage: IF_FEATURE_BRCTL_FANCY( | ||
29 | //usage: "\n setageing BRIDGE TIME Set ageing time" | ||
30 | //usage: "\n setfd BRIDGE TIME Set bridge forward delay" | ||
31 | //usage: "\n sethello BRIDGE TIME Set hello time" | ||
32 | //usage: "\n setmaxage BRIDGE TIME Set max message age" | ||
33 | //usage: "\n setpathcost BRIDGE COST Set path cost" | ||
34 | //usage: "\n setportprio BRIDGE PRIO Set port priority" | ||
35 | //usage: "\n setbridgeprio BRIDGE PRIO Set bridge priority" | ||
36 | //usage: "\n stp BRIDGE [1/yes/on|0/no/off] STP on/off" | ||
37 | //usage: ) | ||
38 | |||
15 | #include "libbb.h" | 39 | #include "libbb.h" |
16 | #include <linux/sockios.h> | 40 | #include <linux/sockios.h> |
17 | #include <net/if.h> | 41 | #include <net/if.h> |