#include <linux/proc_fs.h>
#include <linux/ethtool.h>
#include <linux/export.h>
#include <net/net_namespace.h>
#include <net/netns/generic.h>
#include <net/bonding.h>
#include "bonding_priv.h"
static void *bond_info_seq_start(struct seq_file *seq, loff_t *pos)
__acquires(RCU)
{ … }
static void *bond_info_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{ … }
static void bond_info_seq_stop(struct seq_file *seq, void *v)
__releases(RCU)
{ … }
static void bond_info_show_master(struct seq_file *seq)
{ … }
static void bond_info_show_slave(struct seq_file *seq,
const struct slave *slave)
{ … }
static int bond_info_seq_show(struct seq_file *seq, void *v)
{ … }
static const struct seq_operations bond_info_seq_ops = …;
void bond_create_proc_entry(struct bonding *bond)
{ … }
void bond_remove_proc_entry(struct bonding *bond)
{ … }
void __net_init bond_create_proc_dir(struct bond_net *bn)
{ … }
void __net_exit bond_destroy_proc_dir(struct bond_net *bn)
{ … }