X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2F8021q%2Fvlan.h;h=5229a72c7ea15ed421f6649ac55b5e66da5a9c28;hb=b4ba0ba24b57ec975482f4ba2d350fbee7557240;hp=f27d8d6f362594a4bef47bef5afd93394965d77d;hpb=d9ed0f0e2dba45eec79ffbdd841757f87712349b;p=linux-2.6 diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h index f27d8d6f36..5229a72c7e 100644 --- a/net/8021q/vlan.h +++ b/net/8021q/vlan.h @@ -3,8 +3,6 @@ #include -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) @@ -52,7 +50,15 @@ static inline int is_vlan_dev(struct net_device *dev) extern int vlan_net_id; +struct proc_dir_entry; + struct vlan_net { + /* /proc/net/vlan */ + 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__) */