cfpkt
struct cfpkt;
int (*receive)(struct cflayer *layr, struct cfpkt *cfpkt);
int (*transmit) (struct cflayer *layr, struct cfpkt *cfpkt);
int cfpkt_add_trail(struct cfpkt *pkt, const void *data, u16 len);
struct cfpkt;
int cfpkt_pad_trail(struct cfpkt *pkt, u16 len);
int cfpkt_addbdy(struct cfpkt *pkt, const u8 data);
int cfpkt_add_body(struct cfpkt *pkt, const void *data, u16 len);
bool cfpkt_more(struct cfpkt *pkt);
bool cfpkt_erroneous(struct cfpkt *pkt);
u16 cfpkt_getlen(struct cfpkt *pkt);
int cfpkt_setlen(struct cfpkt *pkt, u16 len);
struct cfpkt *cfpkt_create(u16 len);
struct cfpkt *cfpkt_append(struct cfpkt *dstpkt, struct cfpkt *addpkt,
struct cfpkt *cfpkt_split(struct cfpkt *pkt, u16 pos);
int cfpkt_iterate(struct cfpkt *pkt,
struct cfpkt *cfpkt_fromnative(enum caif_direction dir, void *nativepkt);
void *cfpkt_tonative(struct cfpkt *pkt);
struct caif_payload_info *cfpkt_info(struct cfpkt *pkt);
void cfpkt_destroy(struct cfpkt *pkt);
void cfpkt_set_prio(struct cfpkt *pkt, int prio);
int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len);
static inline u8 cfpkt_extr_head_u8(struct cfpkt *pkt)
static inline u16 cfpkt_extr_head_u16(struct cfpkt *pkt)
static inline u32 cfpkt_extr_head_u32(struct cfpkt *pkt)
int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len);
int cfpkt_extr_trail(struct cfpkt *pkt, void *data, u16 len);
int cfpkt_add_head(struct cfpkt *pkt, const void *data, u16 len);
static int transmit(struct cflayer *layer, struct cfpkt *pkt)
struct cfpkt *pkt;
static int caif_sktrecv_cb(struct cflayer *layr, struct cfpkt *pkt)
struct cfpkt *pkt;
static int cfusbl_receive(struct cflayer *layr, struct cfpkt *pkt)
static int cfusbl_transmit(struct cflayer *layr, struct cfpkt *pkt)
struct cfpkt *pkt;
struct cfpkt *pkt;
int cmd, struct cfpkt *pkt){
int cmd, struct cfpkt *pkt);
static int cfctrl_recv(struct cflayer *layr, struct cfpkt *pkt);
struct cfpkt *pkt;
static int cfctrl_link_setup(struct cfctrl *cfctrl, struct cfpkt *pkt, u8 cmdrsp)
static int cfctrl_recv(struct cflayer *layer, struct cfpkt *pkt)
static int handle_loop(struct cfctrl *ctrl, int cmd, struct cfpkt *pkt)
static int cfdbgl_receive(struct cflayer *layr, struct cfpkt *pkt);
static int cfdbgl_transmit(struct cflayer *layr, struct cfpkt *pkt);
static int cfdbgl_receive(struct cflayer *layr, struct cfpkt *pkt)
static int cfdbgl_transmit(struct cflayer *layr, struct cfpkt *pkt)
static int cfdgml_receive(struct cflayer *layr, struct cfpkt *pkt);
static int cfdgml_transmit(struct cflayer *layr, struct cfpkt *pkt);
static int cfdgml_receive(struct cflayer *layr, struct cfpkt *pkt)
static int cfdgml_transmit(struct cflayer *layr, struct cfpkt *pkt)
static int cffrml_transmit(struct cflayer *layr, struct cfpkt *pkt)
static int cffrml_receive(struct cflayer *layr, struct cfpkt *pkt);
static int cffrml_transmit(struct cflayer *layr, struct cfpkt *pkt);
static int cffrml_receive(struct cflayer *layr, struct cfpkt *pkt)
static int cfmuxl_receive(struct cflayer *layr, struct cfpkt *pkt)
static int cfmuxl_transmit(struct cflayer *layr, struct cfpkt *pkt)
static int cfmuxl_receive(struct cflayer *layr, struct cfpkt *pkt);
static int cfmuxl_transmit(struct cflayer *layr, struct cfpkt *pkt);
int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len)
int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len)
int cfpkt_extr_trail(struct cfpkt *pkt, void *dta, u16 len)
int cfpkt_pad_trail(struct cfpkt *pkt, u16 len)
int cfpkt_add_body(struct cfpkt *pkt, const void *data, u16 len)
inline int cfpkt_addbdy(struct cfpkt *pkt, u8 data)
int cfpkt_add_head(struct cfpkt *pkt, const void *data2, u16 len)
inline int cfpkt_add_trail(struct cfpkt *pkt, const void *data, u16 len)
inline u16 cfpkt_getlen(struct cfpkt *pkt)
int cfpkt_iterate(struct cfpkt *pkt,
int cfpkt_setlen(struct cfpkt *pkt, u16 len)
struct cfpkt *cfpkt_append(struct cfpkt *dstpkt,
struct cfpkt *addpkt,
struct cfpkt *tmppkt;
struct cfpkt *cfpkt_split(struct cfpkt *pkt, u16 pos)
struct cfpkt *tmppkt;
bool cfpkt_erroneous(struct cfpkt *pkt)
struct caif_payload_info *cfpkt_info(struct cfpkt *pkt)
void cfpkt_set_prio(struct cfpkt *pkt, int prio)
static inline struct cfpkt_priv_data *cfpkt_priv(struct cfpkt *pkt)
static inline bool is_erronous(struct cfpkt *pkt)
static inline struct sk_buff *pkt_to_skb(struct cfpkt *pkt)
static inline struct cfpkt *skb_to_pkt(struct sk_buff *skb)
return (struct cfpkt *) skb;
struct cfpkt *cfpkt_fromnative(enum caif_direction dir, void *nativepkt)
struct cfpkt *pkt = skb_to_pkt(nativepkt);
void *cfpkt_tonative(struct cfpkt *pkt)
static struct cfpkt *cfpkt_create_pfx(u16 len, u16 pfx)
inline struct cfpkt *cfpkt_create(u16 len)
void cfpkt_destroy(struct cfpkt *pkt)
inline bool cfpkt_more(struct cfpkt *pkt)
struct cfpkt *tmppkt = NULL;
static int cfrfml_transmit_segment(struct cfrfml *rfml, struct cfpkt *pkt)
static int cfrfml_receive(struct cflayer *layr, struct cfpkt *pkt);
static int cfrfml_transmit(struct cflayer *layr, struct cfpkt *pkt)
struct cfpkt *rearpkt = NULL;
struct cfpkt *frontpkt = pkt;
static int cfrfml_transmit(struct cflayer *layr, struct cfpkt *pkt);
struct cfpkt *incomplete_frm;
static struct cfpkt *rfm_append(struct cfrfml *rfml, char *seghead,
struct cfpkt *pkt, int *err)
struct cfpkt *tmppkt;
static int cfrfml_receive(struct cflayer *layr, struct cfpkt *pkt)
static int cfserl_transmit(struct cflayer *layer, struct cfpkt *newpkt)
struct cfpkt *incomplete_frm;
static int cfserl_receive(struct cflayer *layr, struct cfpkt *pkt);
static int cfserl_transmit(struct cflayer *layr, struct cfpkt *pkt);
static int cfserl_receive(struct cflayer *l, struct cfpkt *newpkt)
struct cfpkt *pkt = NULL;
struct cfpkt *tail_pkt = NULL;
struct cfpkt *pkt;
struct cfpkt *pkt;
static int cfutill_receive(struct cflayer *layr, struct cfpkt *pkt);
static int cfutill_transmit(struct cflayer *layr, struct cfpkt *pkt);
static int cfutill_receive(struct cflayer *layr, struct cfpkt *pkt)
static int cfutill_transmit(struct cflayer *layr, struct cfpkt *pkt)
static int cfvei_receive(struct cflayer *layr, struct cfpkt *pkt);
static int cfvei_transmit(struct cflayer *layr, struct cfpkt *pkt);
static int cfvei_receive(struct cflayer *layr, struct cfpkt *pkt)
static int cfvei_transmit(struct cflayer *layr, struct cfpkt *pkt)
static int cfvidl_receive(struct cflayer *layr, struct cfpkt *pkt);
static int cfvidl_transmit(struct cflayer *layr, struct cfpkt *pkt);
static int cfvidl_receive(struct cflayer *layr, struct cfpkt *pkt)
static int cfvidl_transmit(struct cflayer *layr, struct cfpkt *pkt)
struct cfpkt *pkt = NULL;
static int chnl_recv_cb(struct cflayer *layr, struct cfpkt *pkt)