Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
vlan_dev.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <net/arp.h>
#include "vlan.h"
#include "vlanproc.h"
#include <linux/if_vlan.h>
#include <linux/netpoll.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

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 flags, u32 mask)
 
void vlan_dev_get_realdev_name (const struct net_device *dev, char *result)
 
void vlan_setup (struct net_device *dev)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 23 of file vlan_dev.c.

Function Documentation

int vlan_dev_change_flags ( const struct net_device dev,
u32  flags,
u32  mask 
)

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.

int vlan_dev_set_egress_priority ( const struct net_device dev,
u32  skb_prio,
u16  vlan_prio 
)

Definition at line 220 of file vlan_dev.c.

void vlan_dev_set_ingress_priority ( const struct net_device dev,
u32  skb_prio,
u16  vlan_prio 
)

Definition at line 207 of file vlan_dev.c.

void vlan_setup ( struct net_device dev)

Definition at line 760 of file vlan_dev.c.