[VLAN]: Introduce the vlan_net structure and init/exit net ops.

Unlike TUN, it is empty from the very beginning, and will 
be eventually populated later.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Pavel Emelyanov
2008-04-16 00:49:09 -07:00
committed by David S. Miller
parent a9fde26078
commit d9ed0f0e2d
2 changed files with 51 additions and 0 deletions

View File

@ -50,4 +50,9 @@ static inline int is_vlan_dev(struct net_device *dev)
return dev->priv_flags & IFF_802_1Q_VLAN;
}
extern int vlan_net_id;
struct vlan_net {
};
#endif /* !(__BEN_VLAN_802_1Q_INC__) */