]>
Commit | Line | Data |
---|---|---|
09009f30 SB |
1 | /* |
2 | * Copyright (C) ST-Ericsson AB 2010 | |
3 | * Author: Sjur Brendeland/sjur.brandeland@stericsson.com | |
4 | * License terms: GNU General Public License (GPL) version 2 | |
5 | */ | |
6 | ||
7 | #ifndef CFFRML_H_ | |
8 | #define CFFRML_H_ | |
9 | #include <net/caif/caif_layer.h> | |
cb3cb423 | 10 | #include <linux/netdevice.h> |
09009f30 SB |
11 | |
12 | struct cffrml; | |
cb3cb423 | 13 | struct cflayer *cffrml_create(u16 phyid, bool use_fcs); |
14 | void cffrml_free(struct cflayer *layr); | |
09009f30 SB |
15 | void cffrml_set_uplayer(struct cflayer *this, struct cflayer *up); |
16 | void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn); | |
0b1e9738 | 17 | void cffrml_put(struct cflayer *layr); |
18 | void cffrml_hold(struct cflayer *layr); | |
cb3cb423 | 19 | int cffrml_refcnt_read(struct cflayer *layr); |
09009f30 SB |
20 | |
21 | #endif /* CFFRML_H_ */ |