Sjur Braendeland | 09009f3 | 2010-03-30 13:56:21 +0000 | [diff] [blame] | 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> |
sjur.brandeland@stericsson.com | cb3cb42 | 2011-05-13 02:44:02 +0000 | [diff] [blame^] | 10 | #include <linux/netdevice.h> |
Sjur Braendeland | 09009f3 | 2010-03-30 13:56:21 +0000 | [diff] [blame] | 11 | |
| 12 | struct cffrml; |
sjur.brandeland@stericsson.com | cb3cb42 | 2011-05-13 02:44:02 +0000 | [diff] [blame^] | 13 | struct cflayer *cffrml_create(u16 phyid, bool use_fcs); |
| 14 | void cffrml_free(struct cflayer *layr); |
Sjur Braendeland | 09009f3 | 2010-03-30 13:56:21 +0000 | [diff] [blame] | 15 | void cffrml_set_uplayer(struct cflayer *this, struct cflayer *up); |
| 16 | void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn); |
sjur.brandeland@stericsson.com | 0b1e973 | 2011-05-13 02:43:59 +0000 | [diff] [blame] | 17 | void cffrml_put(struct cflayer *layr); |
| 18 | void cffrml_hold(struct cflayer *layr); |
sjur.brandeland@stericsson.com | cb3cb42 | 2011-05-13 02:44:02 +0000 | [diff] [blame^] | 19 | int cffrml_refcnt_read(struct cflayer *layr); |
Sjur Braendeland | 09009f3 | 2010-03-30 13:56:21 +0000 | [diff] [blame] | 20 | |
| 21 | #endif /* CFFRML_H_ */ |