Lines Matching defs:packet
81 * batadv_frag_size_limit() - maximum possible size of packet to be fragmented
135 * fragments needed to merge the packet, the chain is moved to the passed head
150 /* Linearize packet to avoid linearizing 16 packets in a row when doing
185 /* Drop packet if fragment already exists. */
215 /* Clear chain if total size of either the list or the packet
216 * exceeds the maximum size of one merged packet. Don't allow
251 struct batadv_frag_packet *packet;
265 packet = (struct batadv_frag_packet *)skb_out->data;
266 size = ntohs(packet->total_size) + hdr_size;
306 * set *skb to merged packet; 2) Packet is buffered: Return true and set *skb
309 * Return: true when the packet is merged or buffered, false when skb is not
319 /* Add packet to buffer and table entry if merge is possible. */
344 * Look up the next-hop of the fragments payload and check if the merged packet
357 struct batadv_frag_packet *packet;
361 packet = (struct batadv_frag_packet *)skb->data;
362 orig_node_dst = batadv_orig_hash_find(bat_priv, packet->dest);
370 /* Forward the fragment, if the merged packet would be too big to
373 total_size = ntohs(packet->total_size);
379 packet->ttl--;