aboutsummaryrefslogtreecommitdiffstats
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)
downloadkernel_samsung_aries-07b5b17e157b7018d0ca40ca0d1581a23096fb45.zip
kernel_samsung_aries-07b5b17e157b7018d0ca40ca0d1581a23096fb45.tar.gz
kernel_samsung_aries-07b5b17e157b7018d0ca40ca0d1581a23096fb45.tar.bz2
[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 b837390..fe6bb0f 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__) */