cffrml.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) cffrml.h (af873fcecef567abf8a3468b06dd4e4aab46da6d)
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*
2 * Copyright (C) ST-Ericsson AB 2010
3 * Author: Sjur Brendeland
2/*
3 * Copyright (C) ST-Ericsson AB 2010
4 * Author: Sjur Brendeland
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>
10#include <linux/netdevice.h>
11
12struct cffrml;
13struct cflayer *cffrml_create(u16 phyid, bool use_fcs);
14void cffrml_free(struct cflayer *layr);
15void cffrml_set_uplayer(struct cflayer *this, struct cflayer *up);
16void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn);
17void cffrml_put(struct cflayer *layr);
18void cffrml_hold(struct cflayer *layr);
19int cffrml_refcnt_read(struct cflayer *layr);
20
21#endif /* CFFRML_H_ */
5 */
6
7#ifndef CFFRML_H_
8#define CFFRML_H_
9#include <net/caif/caif_layer.h>
10#include <linux/netdevice.h>
11
12struct cffrml;
13struct cflayer *cffrml_create(u16 phyid, bool use_fcs);
14void cffrml_free(struct cflayer *layr);
15void cffrml_set_uplayer(struct cflayer *this, struct cflayer *up);
16void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn);
17void cffrml_put(struct cflayer *layr);
18void cffrml_hold(struct cflayer *layr);
19int cffrml_refcnt_read(struct cflayer *layr);
20
21#endif /* CFFRML_H_ */