Lines Matching defs:packet
80 * batadv_frag_size_limit() - maximum possible size of packet to be fragmented
134 * fragments needed to merge the packet, the chain is moved to the passed head
149 /* Linearize packet to avoid linearizing 16 packets in a row when doing
184 /* Drop packet if fragment already exists. */
214 /* Clear chain if total size of either the list or the packet
215 * exceeds the maximum size of one merged packet. Don't allow
250 struct batadv_frag_packet *packet;
264 packet = (struct batadv_frag_packet *)skb_out->data;
265 size = ntohs(packet->total_size) + hdr_size;
305 * set *skb to merged packet; 2) Packet is buffered: Return true and set *skb
308 * Return: true when the packet is merged or buffered, false when skb is not
318 /* Add packet to buffer and table entry if merge is possible. */
343 * Look up the next-hop of the fragments payload and check if the merged packet
356 struct batadv_frag_packet *packet;
360 packet = (struct batadv_frag_packet *)skb->data;
361 orig_node_dst = batadv_orig_hash_find(bat_priv, packet->dest);
369 /* Forward the fragment, if the merged packet would be too big to
372 total_size = ntohs(packet->total_size);
378 packet->ttl--;