Lines Matching defs:ethhdr
1046 * @ethhdr: pointer to the ethernet header inside the skb
1054 struct ethhdr *ethhdr,
1113 second_source = ethhdr->h_source;
1122 first_source = ethhdr->h_source;
1383 struct ethhdr *ethhdr;
1391 ethhdr = eth_hdr(skb);
1392 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest);
1393 ether_addr_copy(ethhdr->h_dest, eth_dst_new);
1411 * @ethhdr: pointer to the ethernet header inside the skb
1422 struct ethhdr *ethhdr)
1435 ethhdr->h_source, nc_node);
1453 if (batadv_nc_code_packets(bat_priv, skb, ethhdr, nc_packet,
1515 struct ethhdr *ethhdr = eth_hdr(skb);
1530 if (batadv_nc_skb_dst_search(skb, neigh_node, ethhdr))
1536 ethhdr->h_source,
1568 struct ethhdr *ethhdr = eth_hdr(skb);
1585 ethhdr->h_source,
1586 ethhdr->h_dest);
1627 struct ethhdr *ethhdr = eth_hdr(skb);
1629 if (batadv_is_my_mac(bat_priv, ethhdr->h_dest))
1656 struct ethhdr *ethhdr, ethhdr_tmp;
1678 ethhdr = eth_hdr(skb);
1679 *ethhdr = ethhdr_tmp;
1689 ether_addr_copy(ethhdr->h_dest, coded_packet_tmp.second_dest);
1736 * @ethhdr: pointer to the ethernet header inside the coded packet
1743 struct ethhdr *ethhdr,
1757 dest = ethhdr->h_source;
1813 struct ethhdr *ethhdr;
1825 ethhdr = eth_hdr(skb);
1828 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest) &&
1836 nc_packet = batadv_nc_find_decoding_packet(bat_priv, ethhdr,