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

Go to the source code of this file.

Data Structures

struct  cfserl
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ":%s(): " fmt, __func__
 
#define container_obj(layr)   ((struct cfserl *) layr)
 
#define CFSERL_STX   0x02
 
#define SERIAL_MINIUM_PACKET_SIZE   4
 
#define SERIAL_MAX_FRAMESIZE   4096
 

Functions

struct cflayercfserl_create (int instance, bool use_stx)
 

Macro Definition Documentation

#define CFSERL_STX   0x02

Definition at line 18 of file cfserl.c.

#define container_obj (   layr)    ((struct cfserl *) layr)

Definition at line 16 of file cfserl.c.

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

Definition at line 7 of file cfserl.c.

#define SERIAL_MAX_FRAMESIZE   4096

Definition at line 20 of file cfserl.c.

#define SERIAL_MINIUM_PACKET_SIZE   4

Definition at line 19 of file cfserl.c.

Function Documentation

struct cflayer* cfserl_create ( int  instance,
bool  use_stx 
)
read

Definition at line 34 of file cfserl.c.