net-caif: add CAIF core protocol stack header files
Add include files for the CAIF Core protocol stack. caif_layer.h - Defines the structure of the CAIF protocol layers cfcnfg.h - CAIF Configuration Module for services and link layers cfctrl.h - CAIF Control Protocol Layer cffrml.h - CAIF Framing Layer cfmuxl.h - CAIF Muxing Layer cfpkt.h - CAIF Packet layer (skb helper functions) cfserl.h - CAIF Serial Layer cfsrvl.h - CAIF Service Layer Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
f671c54207
commit
09009f30de
22
include/net/caif/cfmuxl.h
Normal file
22
include/net/caif/cfmuxl.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright (C) ST-Ericsson AB 2010
|
||||
* Author: Sjur Brendeland/sjur.brandeland@stericsson.com
|
||||
* License terms: GNU General Public License (GPL) version 2
|
||||
*/
|
||||
|
||||
#ifndef CFMUXL_H_
|
||||
#define CFMUXL_H_
|
||||
#include <net/caif/caif_layer.h>
|
||||
|
||||
struct cfsrvl;
|
||||
struct cffrml;
|
||||
|
||||
struct cflayer *cfmuxl_create(void);
|
||||
int cfmuxl_set_uplayer(struct cflayer *layr, struct cflayer *up, u8 linkid);
|
||||
struct cflayer *cfmuxl_remove_dnlayer(struct cflayer *layr, u8 phyid);
|
||||
int cfmuxl_set_dnlayer(struct cflayer *layr, struct cflayer *up, u8 phyid);
|
||||
struct cflayer *cfmuxl_remove_uplayer(struct cflayer *layr, u8 linkid);
|
||||
bool cfmuxl_is_phy_inuse(struct cflayer *layr, u8 phyid);
|
||||
u8 cfmuxl_get_phyid(struct cflayer *layr, u8 channel_id);
|
||||
|
||||
#endif /* CFMUXL_H_ */
|
Reference in New Issue
Block a user