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

Go to the source code of this file.

Data Structures

struct  cffrml
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ":%s(): " fmt, __func__
 
#define container_obj(layr)   container_of(layr, struct cffrml, layer)
 

Functions

struct cflayercffrml_create (u16 phyid, bool use_fcs)
 
void cffrml_free (struct cflayer *layer)
 
void cffrml_set_uplayer (struct cflayer *this, struct cflayer *up)
 
void cffrml_set_dnlayer (struct cflayer *this, struct cflayer *dn)
 
void cffrml_put (struct cflayer *layr)
 
void cffrml_hold (struct cflayer *layr)
 
int cffrml_refcnt_read (struct cflayer *layr)
 

Macro Definition Documentation

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

Definition at line 20 of file cffrml.c.

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

Definition at line 9 of file cffrml.c.

Function Documentation

struct cflayer* cffrml_create ( u16  phyid,
bool  use_fcs 
)
read

Definition at line 35 of file cffrml.c.

void cffrml_free ( struct cflayer layer)

Definition at line 57 of file cffrml.c.

void cffrml_hold ( struct cflayer layr)

Definition at line 183 of file cffrml.c.

void cffrml_put ( struct cflayer layr)

Definition at line 176 of file cffrml.c.

int cffrml_refcnt_read ( struct cflayer layr)

Definition at line 190 of file cffrml.c.

void cffrml_set_dnlayer ( struct cflayer this,
struct cflayer dn 
)

Definition at line 69 of file cffrml.c.

void cffrml_set_uplayer ( struct cflayer this,
struct cflayer up 
)

Definition at line 64 of file cffrml.c.