vlan.h (40f98e1af4c6082f7f98391540a2a1ade030480a) | vlan.h (af30151709bcace1ca844d4bb8b7e2e392ff81eb) |
---|---|
1#ifndef __BEN_VLAN_802_1Q_INC__ 2#define __BEN_VLAN_802_1Q_INC__ 3 4#include <linux/if_vlan.h> 5 6extern unsigned short vlan_name_type; 7 8#define VLAN_GRP_HASH_SHIFT 5 --- 24 unchanged lines hidden (view full) --- 33int vlan_dev_set_vlan_flag(const struct net_device *dev, 34 u32 flag, short flag_val); 35void vlan_dev_get_realdev_name(const struct net_device *dev, char *result); 36void vlan_dev_get_vid(const struct net_device *dev, unsigned short *result); 37 38int vlan_check_real_dev(struct net_device *real_dev, unsigned short vlan_id); 39void vlan_setup(struct net_device *dev); 40int register_vlan_dev(struct net_device *dev); | 1#ifndef __BEN_VLAN_802_1Q_INC__ 2#define __BEN_VLAN_802_1Q_INC__ 3 4#include <linux/if_vlan.h> 5 6extern unsigned short vlan_name_type; 7 8#define VLAN_GRP_HASH_SHIFT 5 --- 24 unchanged lines hidden (view full) --- 33int vlan_dev_set_vlan_flag(const struct net_device *dev, 34 u32 flag, short flag_val); 35void vlan_dev_get_realdev_name(const struct net_device *dev, char *result); 36void vlan_dev_get_vid(const struct net_device *dev, unsigned short *result); 37 38int vlan_check_real_dev(struct net_device *real_dev, unsigned short vlan_id); 39void vlan_setup(struct net_device *dev); 40int register_vlan_dev(struct net_device *dev); |
41int unregister_vlan_device(struct net_device *dev); | 41void unregister_vlan_dev(struct net_device *dev); |
42 43int vlan_netlink_init(void); 44void vlan_netlink_fini(void); 45 46extern struct rtnl_link_ops vlan_link_ops; 47 48#endif /* !(__BEN_VLAN_802_1Q_INC__) */ | 42 43int vlan_netlink_init(void); 44void vlan_netlink_fini(void); 45 46extern struct rtnl_link_ops vlan_link_ops; 47 48#endif /* !(__BEN_VLAN_802_1Q_INC__) */ |