Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright (C) ST-Ericsson AB 2010
0004  * Author:  Sjur Brendeland
0005  */
0006 
0007 #ifndef CFFRML_H_
0008 #define CFFRML_H_
0009 #include <net/caif/caif_layer.h>
0010 #include <linux/netdevice.h>
0011 
0012 struct cffrml;
0013 struct cflayer *cffrml_create(u16 phyid, bool use_fcs);
0014 void cffrml_free(struct cflayer *layr);
0015 void cffrml_set_uplayer(struct cflayer *this, struct cflayer *up);
0016 void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn);
0017 void cffrml_put(struct cflayer *layr);
0018 void cffrml_hold(struct cflayer *layr);
0019 int cffrml_refcnt_read(struct cflayer *layr);
0020 
0021 #endif /* CFFRML_H_ */