#define pr_fmt(fmt) …
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <net/caif/caif_layer.h>
#include <net/caif/cfsrvl.h>
#include <net/caif/cfpkt.h>
#define container_obj(layr) …
#define UTIL_PAYLOAD …
#define UTIL_CMD_BIT …
#define UTIL_REMOTE_SHUTDOWN …
#define UTIL_FLOW_OFF …
#define UTIL_FLOW_ON …
static int cfutill_receive(struct cflayer *layr, struct cfpkt *pkt);
static int cfutill_transmit(struct cflayer *layr, struct cfpkt *pkt);
struct cflayer *cfutill_create(u8 channel_id, struct dev_info *dev_info)
{ … }
static int cfutill_receive(struct cflayer *layr, struct cfpkt *pkt)
{ … }
static int cfutill_transmit(struct cflayer *layr, struct cfpkt *pkt)
{ … }