Lines Matching defs:ethhdr
1037 * @ethhdr: pointer to the ethernet header inside the skb
1045 struct ethhdr *ethhdr,
1104 second_source = ethhdr->h_source;
1113 first_source = ethhdr->h_source;
1370 struct ethhdr *ethhdr;
1378 ethhdr = eth_hdr(skb);
1379 ether_addr_copy(ethhdr->h_source, ethhdr->h_dest);
1380 ether_addr_copy(ethhdr->h_dest, eth_dst_new);
1398 * @ethhdr: pointer to the ethernet header inside the skb
1409 struct ethhdr *ethhdr)
1422 ethhdr->h_source, nc_node);
1440 if (batadv_nc_code_packets(bat_priv, skb, ethhdr, nc_packet,
1502 struct ethhdr *ethhdr = eth_hdr(skb);
1517 if (batadv_nc_skb_dst_search(skb, neigh_node, ethhdr))
1523 ethhdr->h_source,
1555 struct ethhdr *ethhdr = eth_hdr(skb);
1572 ethhdr->h_source,
1573 ethhdr->h_dest);
1614 struct ethhdr *ethhdr = eth_hdr(skb);
1616 if (batadv_is_my_mac(bat_priv, ethhdr->h_dest))
1643 struct ethhdr *ethhdr, ethhdr_tmp;
1665 ethhdr = eth_hdr(skb);
1666 *ethhdr = ethhdr_tmp;
1676 ether_addr_copy(ethhdr->h_dest, coded_packet_tmp.second_dest);
1723 * @ethhdr: pointer to the ethernet header inside the coded packet
1730 struct ethhdr *ethhdr,
1744 dest = ethhdr->h_source;
1800 struct ethhdr *ethhdr;
1812 ethhdr = eth_hdr(skb);
1815 if (!batadv_is_my_mac(bat_priv, ethhdr->h_dest) &&
1823 nc_packet = batadv_nc_find_decoding_packet(bat_priv, ethhdr,