Lines Matching defs:pkt

21  * pkt Packet to be destoyed.
23 void cfpkt_destroy(struct cfpkt *pkt);
28 * pkt Packet to extract header data from.
33 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len);
35 static inline u8 cfpkt_extr_head_u8(struct cfpkt *pkt)
39 cfpkt_extr_head(pkt, &tmp, 1);
44 static inline u16 cfpkt_extr_head_u16(struct cfpkt *pkt)
48 cfpkt_extr_head(pkt, &tmp, 2);
53 static inline u32 cfpkt_extr_head_u32(struct cfpkt *pkt)
57 cfpkt_extr_head(pkt, &tmp, 4);
66 * pkt Packet to extract header data from.
71 int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len);
76 * pkt Packet to extract header data from.
81 int cfpkt_extr_trail(struct cfpkt *pkt, void *data, u16 len);
87 * pkt Packet to add header data to.
92 int cfpkt_add_head(struct cfpkt *pkt, const void *data, u16 len);
98 * pkt Packet to add trailer data to.
103 int cfpkt_add_trail(struct cfpkt *pkt, const void *data, u16 len);
109 * pkt Packet in which to pad trailer.
113 int cfpkt_pad_trail(struct cfpkt *pkt, u16 len);
118 * pkt Packet in which to add byte.
122 int cfpkt_addbdy(struct cfpkt *pkt, const u8 data);
127 * pkt Packet in which to add data.
132 int cfpkt_add_body(struct cfpkt *pkt, const void *data, u16 len);
136 * pkt Packet to check.
139 bool cfpkt_more(struct cfpkt *pkt);
145 * pkt Packet to check.
148 bool cfpkt_erroneous(struct cfpkt *pkt);
152 * pkt Packet to get length from.
155 u16 cfpkt_getlen(struct cfpkt *pkt);
159 * pkt Packet to set length.
163 int cfpkt_setlen(struct cfpkt *pkt, u16 len);
181 * pkt: Packet to be split (will contain the first part of the data on exit)
185 struct cfpkt *cfpkt_split(struct cfpkt *pkt, u16 pos);
192 * pkt: Packet to calculate checksum for
201 int cfpkt_iterate(struct cfpkt *pkt,
213 * pkt - The CAIF packet to be transformed into a "native" packet.
216 void *cfpkt_tonative(struct cfpkt *pkt);
220 * pkt Packet to get info from;
223 struct caif_payload_info *cfpkt_info(struct cfpkt *pkt);
227 * @pkt: The CAIF packet to be adjusted.
230 void cfpkt_set_prio(struct cfpkt *pkt, int prio);