Home
last modified time | relevance | path

Searched refs:forw_packet (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/net/batman-adv/
Dsend.c469 void batadv_forw_packet_free(struct batadv_forw_packet *forw_packet, in batadv_forw_packet_free() argument
473 kfree_skb(forw_packet->skb); in batadv_forw_packet_free()
475 consume_skb(forw_packet->skb); in batadv_forw_packet_free()
477 if (forw_packet->if_incoming) in batadv_forw_packet_free()
478 batadv_hardif_put(forw_packet->if_incoming); in batadv_forw_packet_free()
479 if (forw_packet->if_outgoing) in batadv_forw_packet_free()
480 batadv_hardif_put(forw_packet->if_outgoing); in batadv_forw_packet_free()
481 if (forw_packet->queue_left) in batadv_forw_packet_free()
482 atomic_inc(forw_packet->queue_left); in batadv_forw_packet_free()
483 kfree(forw_packet); in batadv_forw_packet_free()
[all …]
Dbat_iv_ogm.c334 static void batadv_iv_ogm_send_to_if(struct batadv_forw_packet *forw_packet, in batadv_iv_ogm_send_to_if() argument
350 packet_pos = forw_packet->skb->data; in batadv_iv_ogm_send_to_if()
354 while (batadv_iv_ogm_aggr_packet(buff_pos, forw_packet->packet_len, in batadv_iv_ogm_send_to_if()
359 if (forw_packet->direct_link_flags & BIT(packet_num) && in batadv_iv_ogm_send_to_if()
360 forw_packet->if_incoming == hard_iface) in batadv_iv_ogm_send_to_if()
365 if (packet_num > 0 || !forw_packet->own) in batadv_iv_ogm_send_to_if()
384 packet_pos = forw_packet->skb->data + buff_pos; in batadv_iv_ogm_send_to_if()
389 skb = skb_clone(forw_packet->skb, GFP_ATOMIC); in batadv_iv_ogm_send_to_if()
399 static void batadv_iv_ogm_emit(struct batadv_forw_packet *forw_packet) in batadv_iv_ogm_emit() argument
403 if (!forw_packet->if_incoming) { in batadv_iv_ogm_emit()
[all …]
Dsend.h18 void batadv_forw_packet_free(struct batadv_forw_packet *forw_packet,
28 struct batadv_forw_packet *forw_packet,
30 bool batadv_forw_packet_is_rebroadcast(struct batadv_forw_packet *forw_packet);
Ddistributed-arp-table.h43 struct batadv_forw_packet *forw_packet);
151 struct batadv_forw_packet *forw_packet) in batadv_dat_drop_broadcast_packet() argument
Ddistributed-arp-table.c1853 struct batadv_forw_packet *forw_packet) in batadv_dat_drop_broadcast_packet() argument
1868 if (batadv_forw_packet_is_rebroadcast(forw_packet)) in batadv_dat_drop_broadcast_packet()
1871 vid = batadv_dat_get_vid(forw_packet->skb, &hdr_size); in batadv_dat_drop_broadcast_packet()
1873 type = batadv_arp_get_type(bat_priv, forw_packet->skb, hdr_size); in batadv_dat_drop_broadcast_packet()
1877 ip_dst = batadv_arp_ip_dst(forw_packet->skb, hdr_size); in batadv_dat_drop_broadcast_packet()