Searched refs:forw_packet (Results 1 – 5 of 5) sorted by relevance
/net/batman-adv/ |
D | send.c | 408 static void batadv_forw_packet_free(struct batadv_forw_packet *forw_packet) in batadv_forw_packet_free() argument 410 if (forw_packet->skb) in batadv_forw_packet_free() 411 kfree_skb(forw_packet->skb); in batadv_forw_packet_free() 412 if (forw_packet->if_incoming) in batadv_forw_packet_free() 413 batadv_hardif_free_ref(forw_packet->if_incoming); in batadv_forw_packet_free() 414 if (forw_packet->if_outgoing) in batadv_forw_packet_free() 415 batadv_hardif_free_ref(forw_packet->if_outgoing); in batadv_forw_packet_free() 416 kfree(forw_packet); in batadv_forw_packet_free() 421 struct batadv_forw_packet *forw_packet, in _batadv_add_bcast_packet_to_list() argument 426 hlist_add_head(&forw_packet->list, &bat_priv->forw_bcast_list); in _batadv_add_bcast_packet_to_list() [all …]
|
D | bat_iv_ogm.c | 447 static void batadv_iv_ogm_send_to_if(struct batadv_forw_packet *forw_packet, in batadv_iv_ogm_send_to_if() argument 463 packet_pos = forw_packet->skb->data; in batadv_iv_ogm_send_to_if() 467 while (batadv_iv_ogm_aggr_packet(buff_pos, forw_packet->packet_len, in batadv_iv_ogm_send_to_if() 472 if (forw_packet->direct_link_flags & BIT(packet_num) && in batadv_iv_ogm_send_to_if() 473 forw_packet->if_incoming == hard_iface) in batadv_iv_ogm_send_to_if() 478 if (packet_num > 0 || !forw_packet->own) in batadv_iv_ogm_send_to_if() 497 packet_pos = forw_packet->skb->data + buff_pos; in batadv_iv_ogm_send_to_if() 502 skb = skb_clone(forw_packet->skb, GFP_ATOMIC); in batadv_iv_ogm_send_to_if() 512 static void batadv_iv_ogm_emit(struct batadv_forw_packet *forw_packet) in batadv_iv_ogm_emit() argument 518 if (!forw_packet->if_incoming) { in batadv_iv_ogm_emit() [all …]
|
D | distributed-arp-table.h | 48 struct batadv_forw_packet *forw_packet); 142 struct batadv_forw_packet *forw_packet) in batadv_dat_drop_broadcast_packet() argument
|
D | distributed-arp-table.c | 1218 struct batadv_forw_packet *forw_packet) in batadv_dat_drop_broadcast_packet() argument 1233 if (forw_packet->num_packets) in batadv_dat_drop_broadcast_packet() 1236 vid = batadv_dat_get_vid(forw_packet->skb, &hdr_size); in batadv_dat_drop_broadcast_packet() 1238 type = batadv_arp_get_type(bat_priv, forw_packet->skb, hdr_size); in batadv_dat_drop_broadcast_packet() 1242 ip_dst = batadv_arp_ip_dst(forw_packet->skb, hdr_size); in batadv_dat_drop_broadcast_packet()
|
D | types.h | 1168 void (*bat_ogm_emit)(struct batadv_forw_packet *forw_packet);
|