Searched refs:forw_packet (Results 1 – 4 of 4) sorted by relevance
457 void batadv_forw_packet_free(struct batadv_forw_packet *forw_packet, in batadv_forw_packet_free() argument461 kfree_skb(forw_packet->skb); in batadv_forw_packet_free()463 consume_skb(forw_packet->skb); in batadv_forw_packet_free()465 batadv_hardif_put(forw_packet->if_incoming); in batadv_forw_packet_free()466 batadv_hardif_put(forw_packet->if_outgoing); in batadv_forw_packet_free()467 if (forw_packet->queue_left) in batadv_forw_packet_free()468 atomic_inc(forw_packet->queue_left); in batadv_forw_packet_free()469 kfree(forw_packet); in batadv_forw_packet_free()493 struct batadv_forw_packet *forw_packet; in batadv_forw_packet_alloc() local511 forw_packet = kmalloc_obj(*forw_packet, GFP_ATOMIC); in batadv_forw_packet_alloc()[all …]
407 static void batadv_iv_ogm_send_to_if(struct batadv_forw_packet *forw_packet, in batadv_iv_ogm_send_to_if() argument423 packet_pos = forw_packet->skb->data; in batadv_iv_ogm_send_to_if()427 while (batadv_iv_ogm_aggr_packet(buff_pos, forw_packet->packet_len, in batadv_iv_ogm_send_to_if()432 if (test_bit(packet_num, forw_packet->direct_link_flags) && in batadv_iv_ogm_send_to_if()433 forw_packet->if_incoming == hard_iface) in batadv_iv_ogm_send_to_if()438 if (packet_num > 0 || !forw_packet->own) in batadv_iv_ogm_send_to_if()456 packet_pos = forw_packet->skb->data + buff_pos; in batadv_iv_ogm_send_to_if()461 skb = skb_clone(forw_packet->skb, GFP_ATOMIC); in batadv_iv_ogm_send_to_if()477 static void batadv_iv_ogm_emit(struct batadv_forw_packet *forw_packet) in batadv_iv_ogm_emit() argument479 if (!forw_packet->if_incoming) { in batadv_iv_ogm_emit()[all …]
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);
42 struct batadv_forw_packet *forw_packet);149 struct batadv_forw_packet *forw_packet) in batadv_dat_drop_broadcast_packet() argument