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)
163 * @skb: Packet to be transmitted.
164 * @orig_node: Final destination of the packet.
165 * @recv_if: Interface used when receiving the packet (can be NULL).
168 * skb on for preparation of MAC header. If the packet originated from this
174 * lower routine if the packet has been passed down.
196 /* Fragment and send packet. */ in batadv_send_skb_to_orig()
204 /* try to network code the packet, if it is received on an interface in batadv_send_skb_to_orig()
205 * (i.e. being forwarded). If the packet originates from this node or if in batadv_send_skb_to_orig()
206 * network coding fails, then send the packet as usual. in batadv_send_skb_to_orig()
245 /* batman packet type: unicast */ in batadv_send_skb_push_fill_unicast()
278 * @packet_subtype: the unicast 4addr packet subtype to use
319 * @packet_type: the batman unicast packet type to use
320 * @packet_subtype: the unicast 4addr packet subtype (only relevant for unicast
322 * @orig_node: the originator to send the packet to
357 * should never be invoked with any other packet type in batadv_send_skb_unicast()
369 * for this client. The destination will receive this packet and will in batadv_send_skb_unicast()
389 * @packet_type: the batman unicast packet type to use
390 * @packet_subtype: the unicast 4addr packet subtype (only relevant for unicast
416 /* if we got an hint! let's send the packet to this client (if any) */ in batadv_send_skb_via_tt_generic()
458 * batadv_forw_packet_free() - free a forwarding packet
459 * @forw_packet: The packet to free
460 * @dropped: whether the packet is freed because is dropped
462 * This frees a forwarding packet and releases any resources it might
481 * batadv_forw_packet_alloc() - allocate a forwarding packet
486 * @skb: The raw packet this forwarding packet shall contain
488 * Allocates a forwarding packet and tries to get a reference to the
492 * Return: An allocated forwarding packet on success, NULL otherwise.
547 * batadv_forw_packet_was_stolen() - check whether someone stole this packet
548 * @forw_packet: the forwarding packet to check
550 * This function checks whether the given forwarding packet was claimed by
563 * @forw_packet: the forwarding packet to steal
595 * @cleanup_list: a backup pointer, to be able to dispose the packet later
632 * This function cancels the scheduling of any packet in the provided list,
633 * waits for any possibly running packet forwarding thread to finish and
634 * finally, safely frees this forward packet.
653 * batadv_forw_packet_queue() - try to queue a forwarding packet
654 * @forw_packet: the forwarding packet to queue
657 * @send_time: timestamp (jiffies) when the packet is to be sent
659 * This function tries to (re)queue a forwarding packet. Requeuing
662 * packet earlier).
697 * batadv_forw_packet_bcast_queue() - try to queue a broadcast packet
699 * @forw_packet: the forwarding packet to queue
700 * @send_time: timestamp (jiffies) when the packet is to be sent
702 * This function tries to (re)queue a broadcast packet.
716 * batadv_forw_packet_ogmv1_queue() - try to queue an OGMv1 packet
718 * @forw_packet: the forwarding packet to queue
719 * @send_time: timestamp (jiffies) when the packet is to be sent
721 * This function tries to (re)queue an OGMv1 packet.
734 * batadv_forw_bcast_packet_to_list() - queue broadcast packet for transmissions
736 * @skb: broadcast packet to add
738 * @own_packet: true if it is a self-generated broadcast packet
739 * @if_in: the interface where the packet was received on
742 * Adds a broadcast packet to the queue and sets up timers. Broadcast packets
789 * batadv_forw_bcast_packet_if() - forward and queue a broadcast packet
791 * @skb: broadcast packet to add
793 * @own_packet: true if it is a self-generated broadcast packet
794 * @if_in: the interface where the packet was received on
797 * Transmits a broadcast packet on the specified interface either immediately
842 * @skb: broadcast packet to check
843 * @own_packet: true if it is a self-generated broadcast packet
846 * Return: False if a packet needs to be (re)broadcasted on the given interface,
894 "BCAST packet from orig %pM on %s suppressed: %s\n", in batadv_send_no_broadcast()
902 * __batadv_forw_bcast_packet() - forward and queue a broadcast packet
904 * @skb: broadcast packet to add
906 * @own_packet: true if it is a self-generated broadcast packet
908 * Transmits a broadcast packet either immediately or if a delay is given
960 * batadv_forw_bcast_packet() - forward and queue a broadcast packet
962 * @skb: broadcast packet to add
964 * @own_packet: true if it is a self-generated broadcast packet
966 * Transmits a broadcast packet either immediately or if a delay is given
981 * batadv_send_bcast_packet() - send and queue a broadcast packet
983 * @skb: broadcast packet to add
985 * @own_packet: true if it is a self-generated broadcast packet
987 * Transmits a broadcast packet either immediately or if a delay is given
1004 * @forw_packet: the forwarding packet to check
1006 * Checks whether a given packet has any (re)transmissions left on the provided
1023 * packet
1024 * @forw_packet: the packet to decrease the counter for
1033 * batadv_forw_packet_is_rebroadcast() - check packet for previous transmissions
1034 * @forw_packet: the packet to check
1036 * Return: True if this packet was transmitted before, false otherwise.
1046 * batadv_send_outstanding_bcast_packet() - transmit a queued broadcast packet
1049 * Transmits a queued broadcast packet and if necessary reschedules it.
1101 * This method cancels and purges any broadcast and OGMv1 packet on the given
1127 /* claim batman packet list for free() */ in batadv_purge_outstanding_packets()
1133 /* then cancel or wait for packet workers to finish and free */ in batadv_purge_outstanding_packets()