Searched refs:forw_packet (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/net/batman-adv/ |
D | send.c | 465 void batadv_forw_packet_free(struct batadv_forw_packet *forw_packet, in batadv_forw_packet_free() argument 469 kfree_skb(forw_packet->skb); in batadv_forw_packet_free() 471 consume_skb(forw_packet->skb); in batadv_forw_packet_free() 473 batadv_hardif_put(forw_packet->if_incoming); in batadv_forw_packet_free() 474 batadv_hardif_put(forw_packet->if_outgoing); in batadv_forw_packet_free() 475 if (forw_packet->queue_left) in batadv_forw_packet_free() 476 atomic_inc(forw_packet->queue_left); in batadv_forw_packet_free() 477 kfree(forw_packet); in batadv_forw_packet_free() 501 struct batadv_forw_packet *forw_packet; in batadv_forw_packet_alloc() local 519 forw_packet = kmalloc(sizeof(*forw_packet), GFP_ATOMIC); in batadv_forw_packet_alloc() [all …]
|
D | bat_iv_ogm.c | 333 static void batadv_iv_ogm_send_to_if(struct batadv_forw_packet *forw_packet, in batadv_iv_ogm_send_to_if() argument 349 packet_pos = forw_packet->skb->data; in batadv_iv_ogm_send_to_if() 353 while (batadv_iv_ogm_aggr_packet(buff_pos, forw_packet->packet_len, in batadv_iv_ogm_send_to_if() 358 if (forw_packet->direct_link_flags & BIT(packet_num) && in batadv_iv_ogm_send_to_if() 359 forw_packet->if_incoming == hard_iface) in batadv_iv_ogm_send_to_if() 364 if (packet_num > 0 || !forw_packet->own) in batadv_iv_ogm_send_to_if() 383 packet_pos = forw_packet->skb->data + buff_pos; in batadv_iv_ogm_send_to_if() 388 skb = skb_clone(forw_packet->skb, GFP_ATOMIC); in batadv_iv_ogm_send_to_if() 398 static void batadv_iv_ogm_emit(struct batadv_forw_packet *forw_packet) in batadv_iv_ogm_emit() argument 402 if (!forw_packet->if_incoming) { in batadv_iv_ogm_emit() [all …]
|
D | send.h | 18 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);
|
D | distributed-arp-table.h | 42 struct batadv_forw_packet *forw_packet); 149 struct batadv_forw_packet *forw_packet) in batadv_dat_drop_broadcast_packet() argument
|
D | distributed-arp-table.c | 1791 struct batadv_forw_packet *forw_packet) in batadv_dat_drop_broadcast_packet() argument 1806 if (batadv_forw_packet_is_rebroadcast(forw_packet)) in batadv_dat_drop_broadcast_packet() 1809 vid = batadv_dat_get_vid(forw_packet->skb, &hdr_size); in batadv_dat_drop_broadcast_packet() 1811 type = batadv_arp_get_type(bat_priv, forw_packet->skb, hdr_size); in batadv_dat_drop_broadcast_packet() 1815 ip_dst = batadv_arp_ip_dst(forw_packet->skb, hdr_size); in batadv_dat_drop_broadcast_packet()
|