Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cfmuxl.c File Reference
#include <linux/stddef.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/rculist.h>
#include <net/caif/cfpkt.h>
#include <net/caif/cfmuxl.h>
#include <net/caif/cfsrvl.h>
#include <net/caif/cffrml.h>

Go to the source code of this file.

Data Structures

struct  cfmuxl
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ":%s(): " fmt, __func__
 
#define container_obj(layr)   container_of(layr, struct cfmuxl, layer)
 
#define CAIF_CTRL_CHANNEL   0
 
#define UP_CACHE_SIZE   8
 
#define DN_CACHE_SIZE   8
 

Functions

struct cflayercfmuxl_create (void)
 
int cfmuxl_set_dnlayer (struct cflayer *layr, struct cflayer *dn, u8 phyid)
 
int cfmuxl_set_uplayer (struct cflayer *layr, struct cflayer *up, u8 linkid)
 
struct cflayercfmuxl_remove_dnlayer (struct cflayer *layr, u8 phyid)
 
struct cflayercfmuxl_remove_uplayer (struct cflayer *layr, u8 id)
 

Macro Definition Documentation

#define CAIF_CTRL_CHANNEL   0

Definition at line 20 of file cfmuxl.c.

#define container_obj (   layr)    container_of(layr, struct cfmuxl, layer)

Definition at line 18 of file cfmuxl.c.

#define DN_CACHE_SIZE   8

Definition at line 22 of file cfmuxl.c.

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

Definition at line 7 of file cfmuxl.c.

#define UP_CACHE_SIZE   8

Definition at line 21 of file cfmuxl.c.

Function Documentation

struct cflayer* cfmuxl_create ( void  )
read

Definition at line 48 of file cfmuxl.c.

struct cflayer* cfmuxl_remove_dnlayer ( struct cflayer layr,
u8  phyid 
)
read

Definition at line 104 of file cfmuxl.c.

struct cflayer* cfmuxl_remove_uplayer ( struct cflayer layr,
u8  id 
)
read

Definition at line 151 of file cfmuxl.c.

int cfmuxl_set_dnlayer ( struct cflayer layr,
struct cflayer dn,
u8  phyid 
)

Definition at line 65 of file cfmuxl.c.

int cfmuxl_set_uplayer ( struct cflayer layr,
struct cflayer up,
u8  linkid 
)

Definition at line 86 of file cfmuxl.c.