patch-2.4.25 linux-2.4.25/include/linux/if_vlan.h

Next file: linux-2.4.25/include/linux/inetdevice.h
Previous file: linux-2.4.25/include/linux/i2c.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/include/linux/if_vlan.h linux-2.4.25/include/linux/if_vlan.h
@@ -213,7 +213,9 @@
 	GET_VLAN_INGRESS_PRIORITY_CMD,
 	GET_VLAN_EGRESS_PRIORITY_CMD,
 	SET_VLAN_NAME_TYPE_CMD,
-	SET_VLAN_FLAG_CMD
+	SET_VLAN_FLAG_CMD,
+        GET_VLAN_REALDEV_NAME_CMD, /* If this works, you know it's a VLAN device, btw */
+        GET_VLAN_VID_CMD /* Get the VID of this VLAN (specified by name) */
 };
 
 enum vlan_name_types {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)