Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
vlanproc.c File Reference
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/fs.h>
#include <linux/netdevice.h>
#include <linux/if_vlan.h>
#include <net/net_namespace.h>
#include <net/netns/generic.h>
#include "vlanproc.h"
#include "vlan.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

void vlan_proc_cleanup (struct net *net)
 
int __net_init vlan_proc_init (struct net *net)
 
int vlan_proc_add_dev (struct net_device *vlandev)
 
int vlan_proc_rem_dev (struct net_device *vlandev)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 20 of file vlanproc.c.

Function Documentation

int vlan_proc_add_dev ( struct net_device vlandev)

Definition at line 169 of file vlanproc.c.

void vlan_proc_cleanup ( struct net net)

Definition at line 126 of file vlanproc.c.

int __net_init vlan_proc_init ( struct net net)

Definition at line 145 of file vlanproc.c.

int vlan_proc_rem_dev ( struct net_device vlandev)

NOTE: This will consume the memory pointed to by dent, it seems.

Definition at line 185 of file vlanproc.c.