diff options
Diffstat (limited to 'net/8021q/vlan.h')
-rw-r--r-- | net/8021q/vlan.h | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h index 1976cdba8f72..62ce1c519aab 100644 --- a/net/8021q/vlan.h +++ b/net/8021q/vlan.h | |||
@@ -58,15 +58,27 @@ int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev, | |||
58 | int vlan_dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev); | 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); | 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); | 60 | int vlan_dev_change_mtu(struct net_device *dev, int new_mtu); |
61 | int vlan_dev_set_mac_address(struct net_device *dev, void* addr); | ||
62 | int vlan_dev_open(struct net_device* dev); | 61 | int vlan_dev_open(struct net_device* dev); |
63 | int vlan_dev_stop(struct net_device* dev); | 62 | int vlan_dev_stop(struct net_device* dev); |
64 | int vlan_dev_ioctl(struct net_device* dev, struct ifreq *ifr, int cmd); | 63 | int vlan_dev_ioctl(struct net_device* dev, struct ifreq *ifr, int cmd); |
65 | int vlan_dev_set_ingress_priority(char* dev_name, __u32 skb_prio, short vlan_prio); | 64 | void vlan_dev_set_ingress_priority(const struct net_device *dev, |
66 | int vlan_dev_set_egress_priority(char* dev_name, __u32 skb_prio, short vlan_prio); | 65 | u32 skb_prio, short vlan_prio); |
67 | int vlan_dev_set_vlan_flag(char* dev_name, __u32 flag, short flag_val); | 66 | int vlan_dev_set_egress_priority(const struct net_device *dev, |
68 | int vlan_dev_get_realdev_name(const char* dev_name, char* result); | 67 | u32 skb_prio, short vlan_prio); |
69 | int vlan_dev_get_vid(const char* dev_name, unsigned short* result); | 68 | int vlan_dev_set_vlan_flag(const struct net_device *dev, |
69 | u32 flag, short flag_val); | ||
70 | void vlan_dev_get_realdev_name(const struct net_device *dev, char *result); | ||
71 | void vlan_dev_get_vid(const struct net_device *dev, unsigned short *result); | ||
70 | void vlan_dev_set_multicast_list(struct net_device *vlan_dev); | 72 | void vlan_dev_set_multicast_list(struct net_device *vlan_dev); |
71 | 73 | ||
74 | int vlan_check_real_dev(struct net_device *real_dev, unsigned short vlan_id); | ||
75 | void vlan_setup(struct net_device *dev); | ||
76 | int register_vlan_dev(struct net_device *dev); | ||
77 | int unregister_vlan_device(struct net_device *dev); | ||
78 | |||
79 | int vlan_netlink_init(void); | ||
80 | void vlan_netlink_fini(void); | ||
81 | |||
82 | extern struct rtnl_link_ops vlan_link_ops; | ||
83 | |||
72 | #endif /* !(__BEN_VLAN_802_1Q_INC__) */ | 84 | #endif /* !(__BEN_VLAN_802_1Q_INC__) */ |