diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-16 00:51:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 00:51:51 -0700 |
commit | a59a8c1c865e6d231e1b5675f767ace006f08c21 (patch) | |
tree | 86b8999246864dbc59f6989b79af0daf2e1de3dd /net/8021q/vlan.h | |
parent | cd1c701432fbf84ad5ea1d8012ddd398a560bccc (diff) | |
download | linux-a59a8c1c865e6d231e1b5675f767ace006f08c21.tar.bz2 |
[VLAN]: Create proc entries in the proper net.
The proc_vlan_dir and proc_vlan_conf migrate on the struct
vlan_net and their creation uses the struct net.
The devices' entries use the corresponding device's net.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan.h')
-rw-r--r-- | net/8021q/vlan.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h index f27d8d6f3625..7258357db847 100644 --- a/net/8021q/vlan.h +++ b/net/8021q/vlan.h @@ -52,7 +52,13 @@ 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; }; #endif /* !(__BEN_VLAN_802_1Q_INC__) */ |