Lines Matching refs:cfpkt

35 struct cfpkt {  struct
45 inline struct cfpkt_priv_data *cfpkt_priv(struct cfpkt *pkt) in cfpkt_priv() argument
50 inline bool is_erronous(struct cfpkt *pkt) in is_erronous()
55 inline struct sk_buff *pkt_to_skb(struct cfpkt *pkt) in pkt_to_skb()
60 inline struct cfpkt *skb_to_pkt(struct sk_buff *skb) in skb_to_pkt()
62 return (struct cfpkt *) skb; in skb_to_pkt()
66 struct cfpkt *cfpkt_fromnative(enum caif_direction dir, void *nativepkt) in cfpkt_fromnative()
68 struct cfpkt *pkt = skb_to_pkt(nativepkt); in cfpkt_fromnative()
74 void *cfpkt_tonative(struct cfpkt *pkt) in cfpkt_tonative()
80 static struct cfpkt *cfpkt_create_pfx(u16 len, u16 pfx) in cfpkt_create_pfx()
96 inline struct cfpkt *cfpkt_create(u16 len) in cfpkt_create()
102 void cfpkt_destroy(struct cfpkt *pkt) in cfpkt_destroy()
109 inline bool cfpkt_more(struct cfpkt *pkt) in cfpkt_more()
116 int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len) in cfpkt_peek_head()
128 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len) in cfpkt_extr_head()
153 int cfpkt_extr_trail(struct cfpkt *pkt, void *dta, u16 len) in cfpkt_extr_trail()
176 int cfpkt_pad_trail(struct cfpkt *pkt, u16 len) in cfpkt_pad_trail()
182 int cfpkt_add_body(struct cfpkt *pkt, const void *data, u16 len) in cfpkt_add_body()
231 inline int cfpkt_addbdy(struct cfpkt *pkt, u8 data) in cfpkt_addbdy()
237 int cfpkt_add_head(struct cfpkt *pkt, const void *data2, u16 len) in cfpkt_add_head()
264 inline int cfpkt_add_trail(struct cfpkt *pkt, const void *data, u16 len) in cfpkt_add_trail()
270 inline u16 cfpkt_getlen(struct cfpkt *pkt) in cfpkt_getlen()
277 inline u16 cfpkt_iterate(struct cfpkt *pkt, in cfpkt_iterate()
295 int cfpkt_setlen(struct cfpkt *pkt, u16 len) in cfpkt_setlen()
320 struct cfpkt *cfpkt_create_uplink(const unsigned char *data, unsigned int len) in cfpkt_create_uplink()
322 struct cfpkt *pkt = cfpkt_create_pfx(len + PKT_POSTFIX, PKT_PREFIX); in cfpkt_create_uplink()
331 struct cfpkt *cfpkt_append(struct cfpkt *dstpkt, in cfpkt_append()
332 struct cfpkt *addpkt, in cfpkt_append()
352 struct cfpkt *tmppkt; in cfpkt_append()
373 struct cfpkt *cfpkt_split(struct cfpkt *pkt, u16 pos) in cfpkt_split()
377 struct cfpkt *tmppkt; in cfpkt_split()
411 char *cfpkt_log_pkt(struct cfpkt *pkt, char *buf, int buflen) in cfpkt_log_pkt()
449 int cfpkt_raw_append(struct cfpkt *pkt, void **buf, unsigned int buflen) in cfpkt_raw_append()
478 int cfpkt_raw_extract(struct cfpkt *pkt, void **buf, unsigned int buflen) in cfpkt_raw_extract()
505 inline bool cfpkt_erroneous(struct cfpkt *pkt) in cfpkt_erroneous()
523 void cfpkt_queue(struct cfpktq *pktq, struct cfpkt *pkt, unsigned short prio) in cfpkt_queue()
533 struct cfpkt *cfpkt_qpeek(struct cfpktq *pktq) in cfpkt_qpeek()
535 struct cfpkt *tmp; in cfpkt_qpeek()
543 struct cfpkt *cfpkt_dequeue(struct cfpktq *pktq) in cfpkt_dequeue()
545 struct cfpkt *pkt; in cfpkt_dequeue()
563 struct cfpkt *cfpkt_clone_release(struct cfpkt *pkt) in cfpkt_clone_release()
565 struct cfpkt *clone; in cfpkt_clone_release()
575 struct caif_payload_info *cfpkt_info(struct cfpkt *pkt) in cfpkt_info()