Lines Matching full:packet

44  * batadv_send_skb_packet() - send an already prepared packet
45 * @skb: the packet to send
46 * @hard_iface: the interface to use to send the broadcast packet
49 * Send out an already prepared packet to the given neighbor or broadcast it
52 * If neigh_node is NULL, then the packet is broadcasted using hard_iface,
75 pr_warn("Interface %s is not up - can't send packet via that interface!\n", in batadv_send_skb_packet()
108 * batadv_send_broadcast_skb() - Send broadcast packet via hard interface
109 * @skb: packet to be transmitted (with batadv header and no outer eth header)
125 * batadv_send_unicast_skb() - Send unicast packet to neighbor
126 * @skb: packet to be transmitted (with batadv header and no outer eth header)
157 * @skb: Packet to be transmitted.
158 * @orig_node: Final destination of the packet.
159 * @recv_if: Interface used when receiving the packet (can be NULL).
162 * skb on for preparation of MAC header. If the packet originated from this
168 * lower routine if the packet has been passed down.
190 /* Fragment and send packet. */ in batadv_send_skb_to_orig()
232 /* batman packet type: unicast */ in batadv_send_skb_push_fill_unicast()
265 * @packet_subtype: the unicast 4addr packet subtype to use
306 * @packet_type: the batman unicast packet type to use
307 * @packet_subtype: the unicast 4addr packet subtype (only relevant for unicast
309 * @orig_node: the originator to send the packet to
344 * should never be invoked with any other packet type in batadv_send_skb_unicast()
356 * for this client. The destination will receive this packet and will in batadv_send_skb_unicast()
376 * @packet_type: the batman unicast packet type to use
377 * @packet_subtype: the unicast 4addr packet subtype (only relevant for unicast
403 /* if we got an hint! let's send the packet to this client (if any) */ in batadv_send_skb_via_tt_generic()
445 * batadv_forw_packet_free() - free a forwarding packet
446 * @forw_packet: The packet to free
447 * @dropped: whether the packet is freed because is dropped
449 * This frees a forwarding packet and releases any resources it might
468 * batadv_forw_packet_alloc() - allocate a forwarding packet
473 * @skb: The raw packet this forwarding packet shall contain
475 * Allocates a forwarding packet and tries to get a reference to the
479 * Return: An allocated forwarding packet on success, NULL otherwise.
534 * batadv_forw_packet_was_stolen() - check whether someone stole this packet
535 * @forw_packet: the forwarding packet to check
537 * This function checks whether the given forwarding packet was claimed by
550 * @forw_packet: the forwarding packet to steal
582 * @cleanup_list: a backup pointer, to be able to dispose the packet later
619 * This function cancels the scheduling of any packet in the provided list,
620 * waits for any possibly running packet forwarding thread to finish and
621 * finally, safely frees this forward packet.
640 * batadv_forw_packet_queue() - try to queue a forwarding packet
641 * @forw_packet: the forwarding packet to queue
644 * @send_time: timestamp (jiffies) when the packet is to be sent
646 * This function tries to (re)queue a forwarding packet. Requeuing
649 * packet earlier).
684 * batadv_forw_packet_bcast_queue() - try to queue a broadcast packet
686 * @forw_packet: the forwarding packet to queue
687 * @send_time: timestamp (jiffies) when the packet is to be sent
689 * This function tries to (re)queue a broadcast packet.
703 * batadv_forw_packet_ogmv1_queue() - try to queue an OGMv1 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 an OGMv1 packet.
721 * batadv_forw_bcast_packet_to_list() - queue broadcast packet for transmissions
723 * @skb: broadcast packet to add
725 * @own_packet: true if it is a self-generated broadcast packet
726 * @if_in: the interface where the packet was received on
729 * Adds a broadcast packet to the queue and sets up timers. Broadcast packets
776 * batadv_forw_bcast_packet_if() - forward and queue a broadcast packet
778 * @skb: broadcast packet to add
780 * @own_packet: true if it is a self-generated broadcast packet
781 * @if_in: the interface where the packet was received on
784 * Transmits a broadcast packet on the specified interface either immediately
829 * @skb: broadcast packet to check
830 * @own_packet: true if it is a self-generated broadcast packet
833 * Return: False if a packet needs to be (re)broadcasted on the given interface,
881 "BCAST packet from orig %pM on %s suppressed: %s\n", in batadv_send_no_broadcast()
889 * __batadv_forw_bcast_packet() - forward and queue a broadcast packet
891 * @skb: broadcast packet to add
893 * @own_packet: true if it is a self-generated broadcast packet
895 * Transmits a broadcast packet either immediately or if a delay is given
945 * batadv_forw_bcast_packet() - forward and queue a broadcast packet
947 * @skb: broadcast packet to add
949 * @own_packet: true if it is a self-generated broadcast packet
951 * Transmits a broadcast packet either immediately or if a delay is given
966 * batadv_send_bcast_packet() - send and queue a broadcast packet
968 * @skb: broadcast packet to add
970 * @own_packet: true if it is a self-generated broadcast packet
972 * Transmits a broadcast packet either immediately or if a delay is given
989 * @forw_packet: the forwarding packet to check
991 * Checks whether a given packet has any (re)transmissions left on the provided
1008 * packet
1009 * @forw_packet: the packet to decrease the counter for
1018 * batadv_forw_packet_is_rebroadcast() - check packet for previous transmissions
1019 * @forw_packet: the packet to check
1021 * Return: True if this packet was transmitted before, false otherwise.
1031 * batadv_send_outstanding_bcast_packet() - transmit a queued broadcast packet
1034 * Transmits a queued broadcast packet and if necessary reschedules it.
1086 * This method cancels and purges any broadcast and OGMv1 packet on the given
1112 /* claim batman packet list for free() */ in batadv_purge_outstanding_packets()
1118 /* then cancel or wait for packet workers to finish and free */ in batadv_purge_outstanding_packets()