Lines Matching defs:ethhdr

345 	struct ethhdr *ethhdr;
381 ethhdr = (struct ethhdr *)skb->data;
382 hw_src = (u8 *)ethhdr + ETH_HLEN + sizeof(struct arphdr);
390 ether_addr_copy(ethhdr->h_source, mac);
411 ethhdr->h_source, batadv_print_vid(vid));
419 ether_addr_copy(ethhdr->h_dest, mac);
422 ethhdr->h_source, ethhdr->h_dest,
426 ether_addr_copy(ethhdr->h_source, mac);
429 __func__, ethhdr->h_source, ethhdr->h_dest,
891 * @ethhdr: ethernet header of a packet
898 u8 *backbone_addr, struct ethhdr *ethhdr,
902 if (!batadv_compare_eth(backbone_addr, ethhdr->h_dest))
908 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr))
913 __func__, batadv_print_vid(vid), ethhdr->h_source);
1000 * @ethhdr: pointer to the Ethernet header of the claim frame
1014 struct ethhdr *ethhdr)
1033 backbone_addr = ethhdr->h_source;
1085 struct ethhdr *ethhdr;
1094 ethhdr = eth_hdr(skb);
1096 proto = ethhdr->h_proto;
1127 /* pskb_may_pull() may have modified the pointers, get ethhdr again */
1128 ethhdr = eth_hdr(skb);
1129 arphdr = (struct arphdr *)((u8 *)ethhdr + headlen);
1166 ethhdr);
1170 __func__, ethhdr->h_source, batadv_print_vid(vid),
1183 ethhdr->h_source, vid))
1188 ethhdr->h_source, hw_src, vid))
1193 if (batadv_handle_announce(bat_priv, hw_src, ethhdr->h_source,
1198 if (batadv_handle_request(bat_priv, primary_if, hw_src, ethhdr,
1206 __func__, ethhdr->h_source, batadv_print_vid(vid), hw_src,
1876 struct ethhdr *ethhdr;
1879 ethhdr = eth_hdr(skb);
1884 if (!batadv_compare_eth(ethhdr->h_source,
1932 struct ethhdr *ethhdr;
1938 ethhdr = eth_hdr(skb);
1952 if (is_multicast_ether_addr(ethhdr->h_dest))
1973 if (is_multicast_ether_addr(ethhdr->h_dest) &&
1978 ether_addr_copy(search_claim.addr, ethhdr->h_source);
1983 bool local = batadv_is_my_client(bat_priv, ethhdr->h_source, vid);
1991 __func__, ethhdr->h_source, str_yes_no(local));
1994 ethhdr->h_source, vid);
2011 if (is_multicast_ether_addr(ethhdr->h_dest) &&
2027 ethhdr->h_source, vid);
2065 struct ethhdr *ethhdr;
2082 ethhdr = eth_hdr(skb);
2086 if (is_multicast_ether_addr(ethhdr->h_dest))
2089 ether_addr_copy(search_claim.addr, ethhdr->h_source);
2114 __func__, ethhdr->h_source);
2117 ethhdr->h_source, vid);
2121 __func__, ethhdr->h_source);
2127 if (is_multicast_ether_addr(ethhdr->h_dest)) {