[BusyBox-cvs] busybox/include applets.h,1.89,1.90 usage.h,1.141,1.142

Erik Andersen andersen at codepoet.org
Thu Jan 23 05:59:35 UTC 2003


Update of /var/cvs/busybox/include
In directory winder:/tmp/cvs-serv31337/include

Modified Files:
	applets.h usage.h 
Log Message:
A patch from John F. Kelly to add in a utility for configuring
vlan under linux, derived from Ben Greear's VLAN "vconfig" tool.


Index: applets.h
===================================================================
RCS file: /var/cvs/busybox/include/applets.h,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- applets.h	19 Jan 2003 12:55:11 -0000	1.89
+++ applets.h	23 Jan 2003 05:59:31 -0000	1.90
@@ -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

Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -d -r1.141 -r1.142
--- usage.h	23 Jan 2003 05:27:41 -0000	1.141
+++ usage.h	23 Jan 2003 05:59:31 -0000	1.142
@@ -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 \




More information about the busybox-cvs mailing list