aboutsummaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-01-21 03:22:11 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:08:26 -0500
commitef3eb3e59bd5723895b2349edec98998198ef5bb (patch)
tree586fdbc09660ae47ad863c00e061973687f7ab23 /net/8021q/vlan.h
parent7bd38d778e3f2250e96fc277040879d66c30ecb4 (diff)
[VLAN]: Move device setup to vlan_dev.c
Move device setup to vlan_dev.c and make all the VLAN device methods static. 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.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h
index 2cd1393073ec..7b615d6b6f46 100644
--- a/net/8021q/vlan.h
+++ b/net/8021q/vlan.h
@@ -49,19 +49,8 @@ struct net_device *__find_vlan_dev(struct net_device* real_dev,
49 unsigned short VID); /* vlan.c */ 49 unsigned short VID); /* vlan.c */
50 50
51/* found in vlan_dev.c */ 51/* found in vlan_dev.c */
52int vlan_dev_rebuild_header(struct sk_buff *skb);
53int vlan_skb_recv(struct sk_buff *skb, struct net_device *dev, 52int vlan_skb_recv(struct sk_buff *skb, struct net_device *dev,
54 struct packet_type *ptype, struct net_device *orig_dev); 53 struct packet_type *ptype, struct net_device *orig_dev);
55int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev,
56 unsigned short type, const void *daddr,
57 const void *saddr, unsigned len);
58int vlan_dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev);
59int vlan_dev_hwaccel_hard_start_xmit(struct sk_buff *skb, struct net_device *dev);
60int vlan_dev_change_mtu(struct net_device *dev, int new_mtu);
61int vlan_dev_open(struct net_device* dev);
62int vlan_dev_stop(struct net_device* dev);
63int vlan_set_mac_address(struct net_device *dev, void *p);
64int vlan_dev_ioctl(struct net_device* dev, struct ifreq *ifr, int cmd);
65void vlan_dev_set_ingress_priority(const struct net_device *dev, 54void vlan_dev_set_ingress_priority(const struct net_device *dev,
66 u32 skb_prio, short vlan_prio); 55 u32 skb_prio, short vlan_prio);
67int vlan_dev_set_egress_priority(const struct net_device *dev, 56int vlan_dev_set_egress_priority(const struct net_device *dev,
@@ -70,8 +59,6 @@ int vlan_dev_set_vlan_flag(const struct net_device *dev,
70 u32 flag, short flag_val); 59 u32 flag, short flag_val);
71void vlan_dev_get_realdev_name(const struct net_device *dev, char *result); 60void vlan_dev_get_realdev_name(const struct net_device *dev, char *result);
72void vlan_dev_get_vid(const struct net_device *dev, unsigned short *result); 61void vlan_dev_get_vid(const struct net_device *dev, unsigned short *result);
73void vlan_change_rx_flags(struct net_device *dev, int change);
74void vlan_dev_set_multicast_list(struct net_device *vlan_dev);
75 62
76int vlan_check_real_dev(struct net_device *real_dev, unsigned short vlan_id); 63int vlan_check_real_dev(struct net_device *real_dev, unsigned short vlan_id);
77void vlan_setup(struct net_device *dev); 64void vlan_setup(struct net_device *dev);