Home
last modified time | relevance | path

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

/Linux-v4.19/net/batman-adv/
Dsend.c481 void batadv_forw_packet_free(struct batadv_forw_packet *forw_packet, in batadv_forw_packet_free() argument
485 kfree_skb(forw_packet->skb); in batadv_forw_packet_free()
487 consume_skb(forw_packet->skb); in batadv_forw_packet_free()
489 if (forw_packet->if_incoming) in batadv_forw_packet_free()
490 batadv_hardif_put(forw_packet->if_incoming); in batadv_forw_packet_free()
491 if (forw_packet->if_outgoing) in batadv_forw_packet_free()
492 batadv_hardif_put(forw_packet->if_outgoing); in batadv_forw_packet_free()
493 if (forw_packet->queue_left) in batadv_forw_packet_free()
494 atomic_inc(forw_packet->queue_left); in batadv_forw_packet_free()
495 kfree(forw_packet); in batadv_forw_packet_free()
[all …]
Dbat_iv_ogm.c483 static void batadv_iv_ogm_send_to_if(struct batadv_forw_packet *forw_packet, in batadv_iv_ogm_send_to_if() argument
499 packet_pos = forw_packet->skb->data; in batadv_iv_ogm_send_to_if()
503 while (batadv_iv_ogm_aggr_packet(buff_pos, forw_packet->packet_len, in batadv_iv_ogm_send_to_if()
508 if (forw_packet->direct_link_flags & BIT(packet_num) && in batadv_iv_ogm_send_to_if()
509 forw_packet->if_incoming == hard_iface) in batadv_iv_ogm_send_to_if()
514 if (packet_num > 0 || !forw_packet->own) in batadv_iv_ogm_send_to_if()
533 packet_pos = forw_packet->skb->data + buff_pos; in batadv_iv_ogm_send_to_if()
538 skb = skb_clone(forw_packet->skb, GFP_ATOMIC); in batadv_iv_ogm_send_to_if()
548 static void batadv_iv_ogm_emit(struct batadv_forw_packet *forw_packet) in batadv_iv_ogm_emit() argument
552 if (!forw_packet->if_incoming) { in batadv_iv_ogm_emit()
[all …]
Dsend.h31 void batadv_forw_packet_free(struct batadv_forw_packet *forw_packet,
41 struct batadv_forw_packet *forw_packet,
43 bool batadv_forw_packet_is_rebroadcast(struct batadv_forw_packet *forw_packet);
Ddistributed-arp-table.h50 struct batadv_forw_packet *forw_packet);
145 struct batadv_forw_packet *forw_packet) in batadv_dat_drop_broadcast_packet() argument
Ddistributed-arp-table.c1447 struct batadv_forw_packet *forw_packet) in batadv_dat_drop_broadcast_packet() argument
1462 if (batadv_forw_packet_is_rebroadcast(forw_packet)) in batadv_dat_drop_broadcast_packet()
1465 vid = batadv_dat_get_vid(forw_packet->skb, &hdr_size); in batadv_dat_drop_broadcast_packet()
1467 type = batadv_arp_get_type(bat_priv, forw_packet->skb, hdr_size); in batadv_dat_drop_broadcast_packet()
1471 ip_dst = batadv_arp_ip_dst(forw_packet->skb, hdr_size); in batadv_dat_drop_broadcast_packet()