linux/net/core/net-procfs.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/netdevice.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <net/wext.h>
#include <net/hotdata.h>

#include "dev.h"

static void *dev_seq_from_index(struct seq_file *seq, loff_t *pos)
{}

static void *dev_seq_start(struct seq_file *seq, loff_t *pos)
	__acquires(RCU)
{}

static void *dev_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{}

static void dev_seq_stop(struct seq_file *seq, void *v)
	__releases(RCU)
{}

static void dev_seq_printf_stats(struct seq_file *seq, struct net_device *dev)
{}

/*
 *	Called from the PROCfs module. This now uses the new arbitrary sized
 *	/proc/net interface to create /proc/net/dev
 */
static int dev_seq_show(struct seq_file *seq, void *v)
{}

static u32 softnet_input_pkt_queue_len(struct softnet_data *sd)
{}

static u32 softnet_process_queue_len(struct softnet_data *sd)
{}

static struct softnet_data *softnet_get_online(loff_t *pos)
{}

static void *softnet_seq_start(struct seq_file *seq, loff_t *pos)
{}

static void *softnet_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{}

static void softnet_seq_stop(struct seq_file *seq, void *v)
{}

static int softnet_seq_show(struct seq_file *seq, void *v)
{}

static const struct seq_operations dev_seq_ops =;

static const struct seq_operations softnet_seq_ops =;

static void *ptype_get_idx(struct seq_file *seq, loff_t pos)
{}

static void *ptype_seq_start(struct seq_file *seq, loff_t *pos)
	__acquires(RCU)
{}

static void *ptype_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{}

static void ptype_seq_stop(struct seq_file *seq, void *v)
	__releases(RCU)
{}

static int ptype_seq_show(struct seq_file *seq, void *v)
{}

static const struct seq_operations ptype_seq_ops =;

static int __net_init dev_proc_net_init(struct net *net)
{}

static void __net_exit dev_proc_net_exit(struct net *net)
{}

static struct pernet_operations __net_initdata dev_proc_ops =;

static int dev_mc_seq_show(struct seq_file *seq, void *v)
{}

static const struct seq_operations dev_mc_seq_ops =;

static int __net_init dev_mc_net_init(struct net *net)
{}

static void __net_exit dev_mc_net_exit(struct net *net)
{}

static struct pernet_operations __net_initdata dev_mc_net_ops =;

int __init dev_proc_init(void)
{}