diff options
author | Eric Andersen | 2003-01-23 05:59:32 +0000 |
---|---|---|
committer | Eric Andersen | 2003-01-23 05:59:32 +0000 |
commit | 853c494efd7d4a3183918df69c21ceefc5ed7578 (patch) | |
tree | 98131f99d92b5e8e5af98f1946a84eb732b26c5c /include | |
parent | 97d86f2bb59751be52fb3ee5cdb8b06e7b3bb98f (diff) | |
download | busybox-853c494efd7d4a3183918df69c21ceefc5ed7578.zip busybox-853c494efd7d4a3183918df69c21ceefc5ed7578.tar.gz |
A patch from John F. Kelly to add in a utility for configuring
vlan under linux, derived from Ben Greear's VLAN "vconfig" tool.
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 504f86a..9e88f50 100644 --- a/include/applets.h +++ b/include/applets.h @@ -598,6 +598,9 @@ #ifdef CONFIG_UUENCODE APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_VCONFIG + APPLET(vconfig, vconfig_main, _BB_DIR_SBIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_VI APPLET(vi, vi_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif diff --git a/include/usage.h b/include/usage.h index 077306b..d2fb193 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2369,6 +2369,17 @@ "$ uudecode busybox busybox > busybox.uu\n" \ "$\n" +#define vconfig_trivial_usage \ + "COMMAND [OPTIONS] ..." + +#define vconfig_full_usage \ +"Usage: add [interface-name] [vlan_id] \n" \ +" rem [vlan-name] \n" \ +" set_flag [interface-name] [flag-num] [0 | 1] \n" \ +" set_egress_map [vlan-name] [skb_priority] [vlan_qos] \n" \ +" set_ingress_map [vlan-name] [skb_priority] [vlan_qos] \n" \ +" set_name_type [name-type] \n" + #define vi_trivial_usage \ "[OPTION] [FILE]..." #define vi_full_usage \ |