Linux Kernel
3.7.1
|
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/if_vlan.h>
#include <linux/netpoll.h>
#include <linux/export.h>
#include "vlan.h"
Go to the source code of this file.
Data Structures | |
struct | vlan_vid_info |
Functions | |
bool | vlan_do_receive (struct sk_buff **skbp) |
struct net_device * | __vlan_find_dev_deep (struct net_device *real_dev, u16 vlan_id) |
EXPORT_SYMBOL (__vlan_find_dev_deep) | |
struct net_device * | vlan_dev_real_dev (const struct net_device *dev) |
EXPORT_SYMBOL (vlan_dev_real_dev) | |
u16 | vlan_dev_vlan_id (const struct net_device *dev) |
EXPORT_SYMBOL (vlan_dev_vlan_id) | |
struct sk_buff * | vlan_untag (struct sk_buff *skb) |
int | vlan_vid_add (struct net_device *dev, unsigned short vid) |
EXPORT_SYMBOL (vlan_vid_add) | |
void | vlan_vid_del (struct net_device *dev, unsigned short vid) |
EXPORT_SYMBOL (vlan_vid_del) | |
int | vlan_vids_add_by_dev (struct net_device *dev, const struct net_device *by_dev) |
EXPORT_SYMBOL (vlan_vids_add_by_dev) | |
void | vlan_vids_del_by_dev (struct net_device *dev, const struct net_device *by_dev) |
EXPORT_SYMBOL (vlan_vids_del_by_dev) | |
bool | vlan_uses_dev (const struct net_device *dev) |
EXPORT_SYMBOL (vlan_uses_dev) | |
|
read |
Definition at line 64 of file vlan_core.c.
EXPORT_SYMBOL | ( | __vlan_find_dev_deep | ) |
EXPORT_SYMBOL | ( | vlan_dev_real_dev | ) |
EXPORT_SYMBOL | ( | vlan_dev_vlan_id | ) |
EXPORT_SYMBOL | ( | vlan_vid_add | ) |
EXPORT_SYMBOL | ( | vlan_vid_del | ) |
EXPORT_SYMBOL | ( | vlan_vids_add_by_dev | ) |
EXPORT_SYMBOL | ( | vlan_vids_del_by_dev | ) |
EXPORT_SYMBOL | ( | vlan_uses_dev | ) |
|
read |
Definition at line 84 of file vlan_core.c.
u16 vlan_dev_vlan_id | ( | const struct net_device * | dev | ) |
Definition at line 90 of file vlan_core.c.
Definition at line 8 of file vlan_core.c.
bool vlan_uses_dev | ( | const struct net_device * | dev | ) |
Definition at line 367 of file vlan_core.c.
int vlan_vid_add | ( | struct net_device * | dev, |
unsigned short | vid | ||
) |
Definition at line 237 of file vlan_core.c.
void vlan_vid_del | ( | struct net_device * | dev, |
unsigned short | vid | ||
) |
Definition at line 294 of file vlan_core.c.
int vlan_vids_add_by_dev | ( | struct net_device * | dev, |
const struct net_device * | by_dev | ||
) |
Definition at line 319 of file vlan_core.c.
void vlan_vids_del_by_dev | ( | struct net_device * | dev, |
const struct net_device * | by_dev | ||
) |
Definition at line 350 of file vlan_core.c.