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

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ":%s(): " fmt, __func__
 
#define container_obj(layr)   container_of(layr, struct cfctrl, serv.layer)
 
#define UTILITY_NAME_LENGTH   16
 
#define CFPKT_CTRL_PKT_LEN   20
 

Functions

struct cflayercfctrl_create (void)
 
void cfctrl_remove (struct cflayer *layer)
 
struct cfctrl_rspcfctrl_get_respfuncs (struct cflayer *layer)
 
void cfctrl_enum_req (struct cflayer *layer, u8 physlinkid)
 
int cfctrl_linkup_request (struct cflayer *layer, struct cfctrl_link_param *param, struct cflayer *user_layer)
 
int cfctrl_linkdown_req (struct cflayer *layer, u8 channelid, struct cflayer *client)
 
int cfctrl_cancel_req (struct cflayer *layr, struct cflayer *adap_layer)
 

Macro Definition Documentation

#define CFPKT_CTRL_PKT_LEN   20

Definition at line 19 of file cfctrl.c.

#define container_obj (   layr)    container_of(layr, struct cfctrl, serv.layer)

Definition at line 17 of file cfctrl.c.

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

Definition at line 7 of file cfctrl.c.

#define UTILITY_NAME_LENGTH   16

Definition at line 18 of file cfctrl.c.

Function Documentation

int cfctrl_cancel_req ( struct cflayer layr,
struct cflayer adap_layer 
)

Definition at line 330 of file cfctrl.c.

struct cflayer* cfctrl_create ( void  )
read

Definition at line 35 of file cfctrl.c.

void cfctrl_enum_req ( struct cflayer layer,
u8  physlinkid 
)

Definition at line 176 of file cfctrl.c.

struct cfctrl_rsp* cfctrl_get_respfuncs ( struct cflayer layer)
read

Definition at line 163 of file cfctrl.c.

int cfctrl_linkdown_req ( struct cflayer layer,
u8  channelid,
struct cflayer client 
)

Definition at line 303 of file cfctrl.c.

int cfctrl_linkup_request ( struct cflayer layer,
struct cfctrl_link_param param,
struct cflayer user_layer 
)

Definition at line 199 of file cfctrl.c.

void cfctrl_remove ( struct cflayer layer)

Definition at line 60 of file cfctrl.c.