diff options
author | Patrick McHardy <kaber@trash.net> | 2008-01-21 03:22:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:08:26 -0500 |
commit | ef3eb3e59bd5723895b2349edec98998198ef5bb (patch) | |
tree | 586fdbc09660ae47ad863c00e061973687f7ab23 /net/8021q/vlan.h | |
parent | 7bd38d778e3f2250e96fc277040879d66c30ecb4 (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.h | 13 |
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 */ |
52 | int vlan_dev_rebuild_header(struct sk_buff *skb); | ||
53 | int vlan_skb_recv(struct sk_buff *skb, struct net_device *dev, | 52 | int 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); |
55 | int 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); | ||
58 | int vlan_dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev); | ||
59 | int vlan_dev_hwaccel_hard_start_xmit(struct sk_buff *skb, struct net_device *dev); | ||
60 | int vlan_dev_change_mtu(struct net_device *dev, int new_mtu); | ||
61 | int vlan_dev_open(struct net_device* dev); | ||
62 | int vlan_dev_stop(struct net_device* dev); | ||
63 | int vlan_set_mac_address(struct net_device *dev, void *p); | ||
64 | int vlan_dev_ioctl(struct net_device* dev, struct ifreq *ifr, int cmd); | ||
65 | void vlan_dev_set_ingress_priority(const struct net_device *dev, | 54 | void vlan_dev_set_ingress_priority(const struct net_device *dev, |
66 | u32 skb_prio, short vlan_prio); | 55 | u32 skb_prio, short vlan_prio); |
67 | int vlan_dev_set_egress_priority(const struct net_device *dev, | 56 | int 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); |
71 | void vlan_dev_get_realdev_name(const struct net_device *dev, char *result); | 60 | void vlan_dev_get_realdev_name(const struct net_device *dev, char *result); |
72 | void vlan_dev_get_vid(const struct net_device *dev, unsigned short *result); | 61 | void vlan_dev_get_vid(const struct net_device *dev, unsigned short *result); |
73 | void vlan_change_rx_flags(struct net_device *dev, int change); | ||
74 | void vlan_dev_set_multicast_list(struct net_device *vlan_dev); | ||
75 | 62 | ||
76 | int vlan_check_real_dev(struct net_device *real_dev, unsigned short vlan_id); | 63 | int vlan_check_real_dev(struct net_device *real_dev, unsigned short vlan_id); |
77 | void vlan_setup(struct net_device *dev); | 64 | void vlan_setup(struct net_device *dev); |