Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
mpc.c File Reference
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/capability.h>
#include <linux/seq_file.h>
#include <linux/if_ether.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <net/sock.h>
#include <linux/skbuff.h>
#include <linux/ip.h>
#include <linux/uaccess.h>
#include <asm/byteorder.h>
#include <net/checksum.h>
#include <net/arp.h>
#include <net/dst.h>
#include <linux/proc_fs.h>
#include <linux/atmdev.h>
#include <linux/atmlec.h>
#include <linux/atmmpc.h>
#include <linux/module.h>
#include "lec.h"
#include "mpc.h"
#include "resources.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ":%s: " fmt, __func__
 
#define dprintk(format, args...)
 
#define dprintk_cont(format, args...)   do { if (0) printk(KERN_CONT format, ##args); } while (0)
 
#define ddprintk(format, args...)
 
#define ddprintk_cont(format, args...)   do { if (0) printk(KERN_CONT format, ##args); } while (0)
 

Functions

struct atm_mpoa_qosatm_mpoa_add_qos (__be32 dst_ip, struct atm_qos *qos)
 
struct atm_mpoa_qosatm_mpoa_search_qos (__be32 dst_ip)
 
int atm_mpoa_delete_qos (struct atm_mpoa_qos *entry)
 
void atm_mpoa_disp_qos (struct seq_file *m)
 
int msg_to_mpoad (struct k_message *mesg, struct mpoa_client *mpc)
 
 module_init (atm_mpoa_init)
 
 module_exit (atm_mpoa_cleanup)
 
 MODULE_LICENSE ("GPL")
 

Variables

struct mpoa_clientmpcs = NULL
 

Macro Definition Documentation

#define ddprintk (   format,
  args... 
)
Value:
do { if (0) \
printk(KERN_DEBUG "mpoa:%s: " format, __func__, ##args);\
} while (0)

Definition at line 59 of file mpc.c.

#define ddprintk_cont (   format,
  args... 
)    do { if (0) printk(KERN_CONT format, ##args); } while (0)

Definition at line 63 of file mpc.c.

#define dprintk (   format,
  args... 
)
Value:
do { if (0) \
printk(KERN_DEBUG "mpoa:%s: " format, __func__, ##args);\
} while (0)

Definition at line 46 of file mpc.c.

#define dprintk_cont (   format,
  args... 
)    do { if (0) printk(KERN_CONT format, ##args); } while (0)

Definition at line 50 of file mpc.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ":%s: " fmt, __func__

Definition at line 1 of file mpc.c.

Function Documentation

struct atm_mpoa_qos* atm_mpoa_add_qos ( __be32  dst_ip,
struct atm_qos qos 
)
read

Definition at line 176 of file mpc.c.

int atm_mpoa_delete_qos ( struct atm_mpoa_qos entry)

Definition at line 218 of file mpc.c.

void atm_mpoa_disp_qos ( struct seq_file m)

Definition at line 244 of file mpc.c.

struct atm_mpoa_qos* atm_mpoa_search_qos ( __be32  dst_ip)
read

Definition at line 201 of file mpc.c.

module_exit ( atm_mpoa_cleanup  )
module_init ( atm_mpoa_init  )
MODULE_LICENSE ( "GPL"  )
int msg_to_mpoad ( struct k_message mesg,
struct mpoa_client mpc 
)

Definition at line 976 of file mpc.c.

Variable Documentation

Definition at line 122 of file mpc.c.