Lines Matching defs:eth
2733 struct ethhdr eth;
2736 mesh_hdr = (struct ieee80211s_hdr *)(skb->data + sizeof(eth));
2771 memcpy(ð, skb->data, ETH_HLEN - 2);
2774 eth.h_dest, eth.h_source);
2797 struct ethhdr *eth;
2806 if (!pskb_may_pull(skb, sizeof(*eth) + 6))
2809 mesh_hdr = (struct ieee80211s_hdr *)(skb->data + sizeof(*eth));
2812 if (!pskb_may_pull(skb, sizeof(*eth) + mesh_hdrlen))
2815 eth = (struct ethhdr *)skb->data;
2816 multicast = is_multicast_ether_addr(eth->h_dest);
2818 mesh_hdr = (struct ieee80211s_hdr *)(eth + 1);
2823 if (is_multicast_ether_addr(eth->h_dest) &&
2824 mesh_rmc_check(sdata, eth->h_source, mesh_hdr))
2847 mpp_path_add(sdata, proxied_addr, eth->h_source);
2850 if (!ether_addr_equal(mppath->mpp, eth->h_source)) {
2851 memcpy(mppath->mpp, eth->h_source, ETH_ALEN);
2866 if (ether_addr_equal(sdata->vif.addr, eth->h_dest))
2878 if (is_multicast_ether_addr(eth->h_dest))
2891 eth->h_dest, eth->h_source);
2894 int extra_head = sizeof(struct ieee80211_hdr) - sizeof(*eth);