Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | vlan_priority_tci_mapping |
struct | vlan_pcpu_stats |
struct | vlan_dev_priv |
struct | vlan_group |
struct | vlan_info |
struct | vlan_net |
Macros | |
#define | VLAN_GROUP_ARRAY_SPLIT_PARTS 8 |
#define | VLAN_GROUP_ARRAY_PART_LEN (VLAN_N_VID/VLAN_GROUP_ARRAY_SPLIT_PARTS) |
Functions | |
void | vlan_dev_set_ingress_priority (const struct net_device *dev, u32 skb_prio, u16 vlan_prio) |
int | vlan_dev_set_egress_priority (const struct net_device *dev, u32 skb_prio, u16 vlan_prio) |
int | vlan_dev_change_flags (const struct net_device *dev, u32 flag, u32 mask) |
void | vlan_dev_get_realdev_name (const struct net_device *dev, char *result) |
int | vlan_check_real_dev (struct net_device *real_dev, u16 vlan_id) |
void | vlan_setup (struct net_device *dev) |
int | register_vlan_dev (struct net_device *dev) |
void | unregister_vlan_dev (struct net_device *dev, struct list_head *head) |
int | vlan_netlink_init (void) |
void | vlan_netlink_fini (void) |
Variables | |
const char | vlan_fullname [] |
const char | vlan_version [] |
struct rtnl_link_ops | vlan_link_ops |
int | vlan_net_id |
#define VLAN_GROUP_ARRAY_PART_LEN (VLAN_N_VID/VLAN_GROUP_ARRAY_SPLIT_PARTS) |
int register_vlan_dev | ( | struct net_device * | dev | ) |
void unregister_vlan_dev | ( | struct net_device * | dev, |
struct list_head * | head | ||
) |
int vlan_check_real_dev | ( | struct net_device * | real_dev, |
u16 | vlan_id | ||
) |
Definition at line 258 of file vlan_dev.c.
void vlan_dev_get_realdev_name | ( | const struct net_device * | dev, |
char * | result | ||
) |
Definition at line 278 of file vlan_dev.c.
Definition at line 220 of file vlan_dev.c.
Definition at line 207 of file vlan_dev.c.
Definition at line 240 of file vlan_netlink.c.
Definition at line 235 of file vlan_netlink.c.
void vlan_setup | ( | struct net_device * | dev | ) |
Definition at line 760 of file vlan_dev.c.
struct rtnl_link_ops vlan_link_ops |
int vlan_net_id |