Lines Matching defs:eth
2773 struct ethhdr eth;
2776 mesh_hdr = (struct ieee80211s_hdr *)(skb->data + sizeof(eth));
2815 memcpy(ð, skb->data, ETH_HLEN - 2);
2818 eth.h_dest, eth.h_source);
2841 struct ethhdr *eth;
2850 if (!pskb_may_pull(skb, sizeof(*eth) + 6))
2853 mesh_hdr = (struct ieee80211s_hdr *)(skb->data + sizeof(*eth));
2856 if (!pskb_may_pull(skb, sizeof(*eth) + mesh_hdrlen))
2859 eth = (struct ethhdr *)skb->data;
2860 multicast = is_multicast_ether_addr(eth->h_dest);
2862 mesh_hdr = (struct ieee80211s_hdr *)(eth + 1);
2867 if (is_multicast_ether_addr(eth->h_dest) &&
2868 mesh_rmc_check(sdata, eth->h_source, mesh_hdr))
2891 mpp_path_add(sdata, proxied_addr, eth->h_source);
2894 if (!ether_addr_equal(mppath->mpp, eth->h_source)) {
2895 memcpy(mppath->mpp, eth->h_source, ETH_ALEN);
2910 if (ether_addr_equal(sdata->vif.addr, eth->h_dest))
2922 if (is_multicast_ether_addr(eth->h_dest))
2935 eth->h_dest, eth->h_source);
2938 int extra_head = sizeof(struct ieee80211_hdr) - sizeof(*eth);