Lines Matching refs:ethhdr
1049 struct ethhdr *ethhdr, in batadv_nc_code_packets() argument
1108 second_source = ethhdr->h_source; in batadv_nc_code_packets()
1117 first_source = ethhdr->h_source; in batadv_nc_code_packets()
1374 struct ethhdr *ethhdr; in batadv_nc_skb_store_before_coding() local
1382 ethhdr = eth_hdr(skb); in batadv_nc_skb_store_before_coding()
1383 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest); in batadv_nc_skb_store_before_coding()
1384 ether_addr_copy(ethhdr->h_dest, eth_dst_new); in batadv_nc_skb_store_before_coding()
1413 struct ethhdr *ethhdr) in batadv_nc_skb_dst_search() argument
1426 ethhdr->h_source, nc_node); in batadv_nc_skb_dst_search()
1444 if (batadv_nc_code_packets(bat_priv, skb, ethhdr, nc_packet, in batadv_nc_skb_dst_search()
1506 struct ethhdr *ethhdr = eth_hdr(skb); in batadv_nc_skb_forward() local
1521 if (batadv_nc_skb_dst_search(skb, neigh_node, ethhdr)) in batadv_nc_skb_forward()
1527 ethhdr->h_source, in batadv_nc_skb_forward()
1559 struct ethhdr *ethhdr = eth_hdr(skb); in batadv_nc_skb_store_for_decoding() local
1576 ethhdr->h_source, in batadv_nc_skb_store_for_decoding()
1577 ethhdr->h_dest); in batadv_nc_skb_store_for_decoding()
1618 struct ethhdr *ethhdr = eth_hdr(skb); in batadv_nc_skb_store_sniffed_unicast() local
1620 if (batadv_is_my_mac(bat_priv, ethhdr->h_dest)) in batadv_nc_skb_store_sniffed_unicast()
1647 struct ethhdr *ethhdr, ethhdr_tmp; in batadv_nc_skb_decode_packet() local
1669 ethhdr = eth_hdr(skb); in batadv_nc_skb_decode_packet()
1670 *ethhdr = ethhdr_tmp; in batadv_nc_skb_decode_packet()
1680 ether_addr_copy(ethhdr->h_dest, coded_packet_tmp.second_dest); in batadv_nc_skb_decode_packet()
1734 struct ethhdr *ethhdr, in batadv_nc_find_decoding_packet() argument
1748 dest = ethhdr->h_source; in batadv_nc_find_decoding_packet()
1804 struct ethhdr *ethhdr; in batadv_nc_recv_coded_packet() local
1816 ethhdr = eth_hdr(skb); in batadv_nc_recv_coded_packet()
1819 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest) && in batadv_nc_recv_coded_packet()
1827 nc_packet = batadv_nc_find_decoding_packet(bat_priv, ethhdr, in batadv_nc_recv_coded_packet()