Lines Matching full:packet

46  * batadv_send_skb_packet() - send an already prepared packet
47 * @skb: the packet to send
48 * @hard_iface: the interface to use to send the broadcast packet
51 * Send out an already prepared packet to the given neighbor or broadcast it
54 * If neigh_node is NULL, then the packet is broadcasted using hard_iface,
80 pr_warn("Interface %s is not up - can't send packet via that interface!\n", in batadv_send_skb_packet()
116 * batadv_send_broadcast_skb() - Send broadcast packet via hard interface
117 * @skb: packet to be transmitted (with batadv header and no outer eth header)
131 * batadv_send_unicast_skb() - Send unicast packet to neighbor
132 * @skb: packet to be transmitted (with batadv header and no outer eth header)
164 * @skb: Packet to be transmitted.
165 * @orig_node: Final destination of the packet.
166 * @recv_if: Interface used when receiving the packet (can be NULL).
169 * skb on for preparation of MAC header. If the packet originated from this
175 * lower routine if the packet has been passed down.
197 /* Fragment and send packet. */ in batadv_send_skb_to_orig()
205 /* try to network code the packet, if it is received on an interface in batadv_send_skb_to_orig()
206 * (i.e. being forwarded). If the packet originates from this node or if in batadv_send_skb_to_orig()
207 * network coding fails, then send the packet as usual. in batadv_send_skb_to_orig()
246 /* batman packet type: unicast */ in batadv_send_skb_push_fill_unicast()
279 * @packet_subtype: the unicast 4addr packet subtype to use
321 * @packet_type: the batman unicast packet type to use
322 * @packet_subtype: the unicast 4addr packet subtype (only relevant for unicast
324 * @orig_node: the originator to send the packet to
359 * should never be invoked with any other packet type in batadv_send_skb_unicast()
371 * for this client. The destination will receive this packet and will in batadv_send_skb_unicast()
391 * @packet_type: the batman unicast packet type to use
392 * @packet_subtype: the unicast 4addr packet subtype (only relevant for unicast
418 /* if we got an hint! let's send the packet to this client (if any) */ in batadv_send_skb_via_tt_generic()
462 * batadv_forw_packet_free() - free a forwarding packet
463 * @forw_packet: The packet to free
464 * @dropped: whether the packet is freed because is dropped
466 * This frees a forwarding packet and releases any resources it might
487 * batadv_forw_packet_alloc() - allocate a forwarding packet
492 * @skb: The raw packet this forwarding packet shall contain
494 * Allocates a forwarding packet and tries to get a reference to the
498 * Return: An allocated forwarding packet on success, NULL otherwise.
553 * batadv_forw_packet_was_stolen() - check whether someone stole this packet
554 * @forw_packet: the forwarding packet to check
556 * This function checks whether the given forwarding packet was claimed by
569 * @forw_packet: the forwarding packet to steal
601 * @cleanup_list: a backup pointer, to be able to dispose the packet later
638 * This function cancels the scheduling of any packet in the provided list,
639 * waits for any possibly running packet forwarding thread to finish and
640 * finally, safely frees this forward packet.
659 * batadv_forw_packet_queue() - try to queue a forwarding packet
660 * @forw_packet: the forwarding packet to queue
663 * @send_time: timestamp (jiffies) when the packet is to be sent
665 * This function tries to (re)queue a forwarding packet. Requeuing
668 * packet earlier).
703 * batadv_forw_packet_bcast_queue() - try to queue a broadcast packet
705 * @forw_packet: the forwarding packet to queue
706 * @send_time: timestamp (jiffies) when the packet is to be sent
708 * This function tries to (re)queue a broadcast packet.
722 * batadv_forw_packet_ogmv1_queue() - try to queue an OGMv1 packet
724 * @forw_packet: the forwarding packet to queue
725 * @send_time: timestamp (jiffies) when the packet is to be sent
727 * This function tries to (re)queue an OGMv1 packet.
740 * batadv_add_bcast_packet_to_list() - queue broadcast packet for multiple sends
742 * @skb: broadcast packet to add
744 * @own_packet: true if it is a self-generated broadcast packet
746 * add a broadcast packet to the queue and setup timers. broadcast packets
801 * @forw_packet: the forwarding packet to check
804 * Checks whether a given packet has any (re)transmissions left on the provided
829 * packet
830 * @forw_packet: the packet to increase the counter for
839 * batadv_forw_packet_is_rebroadcast() - check packet for previous transmissions
840 * @forw_packet: the packet to check
842 * Return: True if this packet was transmitted before, false otherwise.
883 /* rebroadcast packet */ in batadv_send_outstanding_bcast_packet()
922 batadv_dbg(BATADV_DBG_BATMAN, bat_priv, "BCAST packet from orig %pM on %s suppressed: %s\n", in batadv_send_outstanding_bcast_packet()
968 * This method cancels and purges any broadcast and OGMv1 packet on the given
994 /* claim batman packet list for free() */ in batadv_purge_outstanding_packets()
1000 /* then cancel or wait for packet workers to finish and free */ in batadv_purge_outstanding_packets()