#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/wireless.h>
#include <linux/netdevice.h>
#include <linux/rtnetlink.h>
#include <net/iw_handler.h>
#include <net/wext.h>
static void wireless_seq_printf_stats(struct seq_file *seq,
struct net_device *dev)
{ … }
static int wireless_dev_seq_show(struct seq_file *seq, void *v)
{ … }
static void *wireless_dev_seq_start(struct seq_file *seq, loff_t *pos)
{ … }
static void *wireless_dev_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{ … }
static void wireless_dev_seq_stop(struct seq_file *seq, void *v)
{ … }
static const struct seq_operations wireless_seq_ops = …;
int __net_init wext_proc_init(struct net *net)
{ … }
void __net_exit wext_proc_exit(struct net *net)
{ … }