summaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-06-13 12:07:54 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-10 22:15:03 -0700
commit07b5b17e157b7018d0ca40ca0d1581a23096fb45 (patch)
tree6dd11652eb4cd1f6c008a6c57e7eaeca10aa9143 /net/8021q/vlan.h
parenta4bf3af4ac46802436d352ef409cee4fe80445b3 (diff)
[VLAN]: Use rtnl_link API
Signed-off-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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h
index b83739017e9..fe6bb0f7d27 100644
--- a/net/8021q/vlan.h
+++ b/net/8021q/vlan.h
@@ -72,4 +72,14 @@ void vlan_dev_get_realdev_name(const struct net_device *dev, char *result);
void vlan_dev_get_vid(const struct net_device *dev, unsigned short *result);
void vlan_dev_set_multicast_list(struct net_device *vlan_dev);
+int vlan_check_real_dev(struct net_device *real_dev, unsigned short vlan_id);
+void vlan_setup(struct net_device *dev);
+int register_vlan_dev(struct net_device *dev);
+int unregister_vlan_device(struct net_device *dev);
+
+int vlan_netlink_init(void);
+void vlan_netlink_fini(void);
+
+extern struct rtnl_link_ops vlan_link_ops;
+
#endif /* !(__BEN_VLAN_802_1Q_INC__) */