]> err.no Git - linux-2.6/blobdiff - net/8021q/vlan.h
vlan: Use bitmask of feature flags instead of seperate feature bits
[linux-2.6] / net / 8021q / vlan.h
index 7258357db8478d302412d7745c2863d2c52bd7d2..5229a72c7ea15ed421f6649ac55b5e66da5a9c28 100644 (file)
@@ -3,8 +3,6 @@
 
 #include <linux/if_vlan.h>
 
-extern unsigned short vlan_name_type;
-
 #define VLAN_GRP_HASH_SHIFT    5
 #define VLAN_GRP_HASH_SIZE     (1 << VLAN_GRP_HASH_SHIFT)
 #define VLAN_GRP_HASH_MASK     (VLAN_GRP_HASH_SIZE - 1)
@@ -59,6 +57,8 @@ struct vlan_net {
        struct proc_dir_entry *proc_vlan_dir;
        /* /proc/net/vlan/config */
        struct proc_dir_entry *proc_vlan_conf;
+       /* Determines interface naming scheme. */
+       unsigned short name_type;
 };
 
 #endif /* !(__BEN_VLAN_802_1Q_INC__) */