Lines Matching full:packet

13 /* Create a CAIF packet.
14 * len: Length of packet to be created
15 * @return New packet.
20 * Destroy a CAIF Packet.
21 * pkt Packet to be destoyed.
26 * Extract header from packet.
28 * pkt Packet to extract header data from.
63 * Peek header from packet.
64 * Reads data from packet without changing packet.
66 * pkt Packet to extract header data from.
74 * Extract header from trailer (end of packet).
76 * pkt Packet to extract header data from.
84 * Add header to packet.
87 * pkt Packet to add header data to.
95 * Add trailer to packet.
98 * pkt Packet to add trailer data to.
106 * Pad trailer on packet.
107 * Moves data pointer in packet, no content copied.
109 * pkt Packet in which to pad trailer.
116 * Add a single byte to packet body (tail).
118 * pkt Packet in which to add byte.
125 * Add a data to packet body (tail).
127 * pkt Packet in which to add data.
128 * data Pointer to data to copy into the packet body.
135 * Checks whether there are more data to process in packet.
136 * pkt Packet to check.
137 * @return true if more data are available in packet false otherwise
142 * Checks whether the packet is erroneous,
143 * i.e. if it has been attempted to extract more data than available in packet
145 * pkt Packet to check.
151 * Get the packet length.
152 * pkt Packet to get length from.
153 * @return Number of bytes in packet.
158 * Set the packet length, by adjusting the trailer pointer according to length.
159 * pkt Packet to set length.
160 * len Packet length.
161 * @return Number of bytes in packet.
166 * cfpkt_append - Appends a packet's data to another packet.
167 * dstpkt: Packet to append data into, WILL BE FREED BY THIS FUNCTION
168 * addpkt: Packet to be appended and automatically released,
170 * expectlen: Packet's expected total length. This should be considered
174 * @return The new appended packet.
180 * cfpkt_split - Split a packet into two packets at the specified split point.
181 * pkt: Packet to be split (will contain the first part of the data on exit)
182 * pos: Position to split packet in two parts.
183 * @return The new packet, containing the second part of the data.
188 * Iteration function, iterates the packet buffers from start to end.
192 * pkt: Packet to calculate checksum for
205 /* Map from a "native" packet (e.g. Linux Socket Buffer) to a CAIF packet.
206 * dir - Direction indicating whether this packet is to be sent or received.
207 * nativepkt - The native packet to be transformed to a CAIF packet
208 * @return The mapped CAIF Packet CFPKT.
212 /* Map from a CAIF packet to a "native" packet (e.g. Linux Socket Buffer).
213 * pkt - The CAIF packet to be transformed into a "native" packet.
214 * @return The native packet transformed from a CAIF packet.
219 * Returns packet information for a packet.
220 * pkt Packet to get info from;
221 * @return Packet information
225 /** cfpkt_set_prio - set priority for a CAIF packet.
227 * @pkt: The CAIF packet to be adjusted.