bond_sysfs.c (d5432503bfb49f3425bad0b850714ffd8b533cfc) bond_sysfs.c (1ef8019be8799c39f316a772ffdd705c46029752)
1/*
2 * Copyright(c) 2004-2005 Intel Corporation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 26 unchanged lines hidden (view full) ---

35#include <linux/ctype.h>
36#include <linux/inet.h>
37#include <linux/rtnetlink.h>
38#include <linux/etherdevice.h>
39#include <net/net_namespace.h>
40#include <net/netns/generic.h>
41#include <linux/nsproxy.h>
42
1/*
2 * Copyright(c) 2004-2005 Intel Corporation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 26 unchanged lines hidden (view full) ---

35#include <linux/ctype.h>
36#include <linux/inet.h>
37#include <linux/rtnetlink.h>
38#include <linux/etherdevice.h>
39#include <net/net_namespace.h>
40#include <net/netns/generic.h>
41#include <linux/nsproxy.h>
42
43#include "bonding.h"
43#include <net/bonding.h>
44
45#define to_dev(obj) container_of(obj, struct device, kobj)
46#define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
47
48/* "show" function for the bond_masters attribute.
49 * The class parameter is ignored.
50 */
51static ssize_t bonding_show_bonds(struct class *cls,

--- 733 unchanged lines hidden ---
44
45#define to_dev(obj) container_of(obj, struct device, kobj)
46#define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
47
48/* "show" function for the bond_masters attribute.
49 * The class parameter is ignored.
50 */
51static ssize_t bonding_show_bonds(struct class *cls,

--- 733 unchanged lines hidden ---