|
Linux Kernel
3.7.1
|
#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 "br_private.h"Go to the source code of this file.
Data Structures | |
| struct | brport_attribute |
Macros | |
| #define | BRPORT_ATTR(_name, _mode, _show, _store) |
| #define | to_brport_attr(_at) container_of(_at, struct brport_attribute, attr) |
| #define | to_brport(obj) container_of(obj, struct net_bridge_port, kobj) |
Functions | |
| int | br_sysfs_addif (struct net_bridge_port *p) |
| int | br_sysfs_renameif (struct net_bridge_port *p) |
Variables | |
| struct sysfs_ops | brport_sysfs_ops |
| #define BRPORT_ATTR | ( | _name, | |
| _mode, | |||
| _show, | |||
| _store | |||
| ) |
Definition at line 29 of file br_sysfs_if.c.
| #define to_brport | ( | obj | ) | container_of(obj, struct net_bridge_port, kobj) |
Definition at line 191 of file br_sysfs_if.c.
| #define to_brport_attr | ( | _at | ) | container_of(_at, struct brport_attribute, attr) |
Definition at line 190 of file br_sysfs_if.c.
| int br_sysfs_addif | ( | struct net_bridge_port * | p | ) |
Definition at line 241 of file br_sysfs_if.c.
| int br_sysfs_renameif | ( | struct net_bridge_port * | p | ) |
Definition at line 263 of file br_sysfs_if.c.
Definition at line 231 of file br_sysfs_if.c.
1.8.2