Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
br_sysfs_br.c File Reference
#include <linux/capability.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/if_bridge.h>
#include <linux/rtnetlink.h>
#include <linux/spinlock.h>
#include <linux/times.h>
#include "br_private.h"

Go to the source code of this file.


#define to_dev(obj)   container_of(obj, struct device, kobj)
#define to_bridge(cd)   ((struct net_bridge *)netdev_priv(to_net_dev(cd)))


int br_sysfs_addbr (struct net_device *dev)
void br_sysfs_delbr (struct net_device *dev)

Macro Definition Documentation

#define to_bridge (   cd)    ((struct net_bridge *)netdev_priv(to_net_dev(cd)))

Definition at line 25 of file br_sysfs_br.c.

#define to_dev (   obj)    container_of(obj, struct device, kobj)

Definition at line 24 of file br_sysfs_br.c.

Function Documentation

int br_sysfs_addbr ( struct net_device dev)

Definition at line 792 of file br_sysfs_br.c.

void br_sysfs_delbr ( struct net_device dev)

Definition at line 828 of file br_sysfs_br.c.