Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/sched.h>
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/in.h>
#include <linux/sysfs.h>
#include <linux/ctype.h>
#include <linux/inet.h>
#include <linux/rtnetlink.h>
#include <linux/etherdevice.h>
#include <net/net_namespace.h>
#include <net/netns/generic.h>
#include <linux/nsproxy.h>
#include "bonding.h"
Go to the source code of this file.
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | to_dev(obj) container_of(obj, struct device, kobj) |
#define | to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd)))) |
Functions | |
int | bond_create_slave_symlinks (struct net_device *master, struct net_device *slave) |
void | bond_destroy_slave_symlinks (struct net_device *master, struct net_device *slave) |
int | bond_create_sysfs (struct bond_net *bn) |
void | bond_destroy_sysfs (struct bond_net *bn) |
void | bond_prepare_sysfs_group (struct bonding *bond) |
Definition at line 23 of file bond_sysfs.c.
#define to_bond | ( | cd | ) | ((struct bonding *)(netdev_priv(to_net_dev(cd)))) |
Definition at line 47 of file bond_sysfs.c.
#define to_dev | ( | obj | ) | container_of(obj, struct device, kobj) |
Definition at line 46 of file bond_sysfs.c.
int bond_create_slave_symlinks | ( | struct net_device * | master, |
struct net_device * | slave | ||
) |
Definition at line 171 of file bond_sysfs.c.
Definition at line 1671 of file bond_sysfs.c.
void bond_destroy_slave_symlinks | ( | struct net_device * | master, |
struct net_device * | slave | ||
) |
Definition at line 190 of file bond_sysfs.c.
Definition at line 1706 of file bond_sysfs.c.
Definition at line 1715 of file bond_sysfs.c.