#include <linux/module.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/stat.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/errno.h>
#include <linux/atm.h>
#include <linux/atmdev.h>
#include <linux/netdevice.h>
#include <linux/atmclip.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <net/net_namespace.h>
#include <net/atmclip.h>
#include <linux/uaccess.h>
#include <linux/param.h>
#include <linux/atomic.h>
#include "resources.h"
#include "common.h"
#include "signaling.h"
static ssize_t proc_dev_atm_read(struct file *file, char __user *buf,
size_t count, loff_t *pos);
static const struct proc_ops atm_dev_proc_ops = …;
static void add_stats(struct seq_file *seq, const char *aal,
const struct k_atm_aal_stats *stats)
{ … }
static void atm_dev_info(struct seq_file *seq, const struct atm_dev *dev)
{ … }
struct vcc_state { … };
static inline int compare_family(struct sock *sk, int family)
{ … }
static int __vcc_walk(struct sock **sock, int family, int *bucket, loff_t l)
{ … }
static inline void *vcc_walk(struct seq_file *seq, loff_t l)
{ … }
static void *vcc_seq_start(struct seq_file *seq, loff_t *pos)
__acquires(vcc_sklist_lock)
{ … }
static void vcc_seq_stop(struct seq_file *seq, void *v)
__releases(vcc_sklist_lock)
{ … }
static void *vcc_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{ … }
static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc)
{ … }
static const char *vcc_state(struct atm_vcc *vcc)
{ … }
static void vcc_info(struct seq_file *seq, struct atm_vcc *vcc)
{ … }
static void svc_info(struct seq_file *seq, struct atm_vcc *vcc)
{ … }
static int atm_dev_seq_show(struct seq_file *seq, void *v)
{ … }
static const struct seq_operations atm_dev_seq_ops = …;
static int pvc_seq_show(struct seq_file *seq, void *v)
{ … }
static const struct seq_operations pvc_seq_ops = …;
static int vcc_seq_show(struct seq_file *seq, void *v)
{ … }
static const struct seq_operations vcc_seq_ops = …;
static int svc_seq_show(struct seq_file *seq, void *v)
{ … }
static const struct seq_operations svc_seq_ops = …;
static ssize_t proc_dev_atm_read(struct file *file, char __user *buf,
size_t count, loff_t *pos)
{ … }
struct proc_dir_entry *atm_proc_root;
EXPORT_SYMBOL(…);
int atm_proc_dev_register(struct atm_dev *dev)
{ … }
void atm_proc_dev_deregister(struct atm_dev *dev)
{ … }
int __init atm_proc_init(void)
{ … }
void atm_proc_exit(void)
{ … }