#define pr_fmt(fmt) …
#ifdef CONFIG_PROC_FS
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/ktime.h>
#include <linux/seq_file.h>
#include <linux/uaccess.h>
#include <linux/atmmpc.h>
#include <linux/atm.h>
#include <linux/gfp.h>
#include "mpc.h"
#include "mpoa_caches.h"
#if 1
#define dprintk(format, args...) …
#else
#define dprintk …
#endif
#if 0
#define ddprintk …
#else
#define ddprintk(format, args...) …
#endif
#define STAT_FILE_NAME …
extern struct mpoa_client *mpcs;
extern struct proc_dir_entry *atm_proc_root;
static int proc_mpc_open(struct inode *inode, struct file *file);
static ssize_t proc_mpc_write(struct file *file, const char __user *buff,
size_t nbytes, loff_t *ppos);
static int parse_qos(const char *buff);
static const struct proc_ops mpc_proc_ops = …;
static const char *ingress_state_string(int state)
{ … }
static const char *egress_state_string(int state)
{ … }
static void *mpc_start(struct seq_file *m, loff_t *pos)
{ … }
static void *mpc_next(struct seq_file *m, void *v, loff_t *pos)
{ … }
static void mpc_stop(struct seq_file *m, void *v)
{ … }
static int mpc_show(struct seq_file *m, void *v)
{ … }
static const struct seq_operations mpc_op = …;
static int proc_mpc_open(struct inode *inode, struct file *file)
{ … }
static ssize_t proc_mpc_write(struct file *file, const char __user *buff,
size_t nbytes, loff_t *ppos)
{ … }
static int parse_qos(const char *buff)
{ … }
int mpc_proc_init(void)
{ … }
void mpc_proc_clean(void)
{ … }
#endif