cffrml.h 626 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (C) ST-Ericsson AB 2010
  3. * Author: Sjur Brendeland
  4. * License terms: GNU General Public License (GPL) version 2
  5. */
  6. #ifndef CFFRML_H_
  7. #define CFFRML_H_
  8. #include <net/caif/caif_layer.h>
  9. #include <linux/netdevice.h>
  10. struct cffrml;
  11. struct cflayer *cffrml_create(u16 phyid, bool use_fcs);
  12. void cffrml_free(struct cflayer *layr);
  13. void cffrml_set_uplayer(struct cflayer *this, struct cflayer *up);
  14. void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn);
  15. void cffrml_put(struct cflayer *layr);
  16. void cffrml_hold(struct cflayer *layr);
  17. int cffrml_refcnt_read(struct cflayer *layr);
  18. #endif /* CFFRML_H_ */