Lines Matching refs:pkt
23 void cfpkt_destroy(struct cfpkt *pkt);
33 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len);
35 static inline u8 cfpkt_extr_head_u8(struct cfpkt *pkt) in cfpkt_extr_head_u8() argument
39 cfpkt_extr_head(pkt, &tmp, 1); in cfpkt_extr_head_u8()
44 static inline u16 cfpkt_extr_head_u16(struct cfpkt *pkt) in cfpkt_extr_head_u16() argument
48 cfpkt_extr_head(pkt, &tmp, 2); in cfpkt_extr_head_u16()
53 static inline u32 cfpkt_extr_head_u32(struct cfpkt *pkt) in cfpkt_extr_head_u32() argument
57 cfpkt_extr_head(pkt, &tmp, 4); in cfpkt_extr_head_u32()
71 int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len);
81 int cfpkt_extr_trail(struct cfpkt *pkt, void *data, u16 len);
92 int cfpkt_add_head(struct cfpkt *pkt, const void *data, u16 len);
103 int cfpkt_add_trail(struct cfpkt *pkt, const void *data, u16 len);
113 int cfpkt_pad_trail(struct cfpkt *pkt, u16 len);
122 int cfpkt_addbdy(struct cfpkt *pkt, const u8 data);
132 int cfpkt_add_body(struct cfpkt *pkt, const void *data, u16 len);
139 bool cfpkt_more(struct cfpkt *pkt);
148 bool cfpkt_erroneous(struct cfpkt *pkt);
155 u16 cfpkt_getlen(struct cfpkt *pkt);
163 int cfpkt_setlen(struct cfpkt *pkt, u16 len);
185 struct cfpkt *cfpkt_split(struct cfpkt *pkt, u16 pos);
201 int cfpkt_iterate(struct cfpkt *pkt,
216 void *cfpkt_tonative(struct cfpkt *pkt);
223 struct caif_payload_info *cfpkt_info(struct cfpkt *pkt);
230 void cfpkt_set_prio(struct cfpkt *pkt, int prio);