diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-16 09:49:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 09:49:09 +0200 |
commit | d9ed0f0e2dba45eec79ffbdd841757f87712349b (patch) | |
tree | 8a8db88cb7d5376052c1adb639f0825fee3086a3 /net/8021q/vlan.h | |
parent | [VLAN]: Tag vlan_group_device with net device, not ifindex. (diff) | |
download | linux-d9ed0f0e2dba45eec79ffbdd841757f87712349b.tar.xz linux-d9ed0f0e2dba45eec79ffbdd841757f87712349b.zip |
[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>
Diffstat (limited to '')
-rw-r--r-- | net/8021q/vlan.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h index 51271aea402b..f27d8d6f3625 100644 --- a/net/8021q/vlan.h +++ b/net/8021q/vlan.h @@ -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__) */ |