Lines Matching defs:eth
539 struct ethhdr *eth;
544 eth = eth_hdr(skb);
546 if(is_multicast_ether_addr(eth->h_dest))
548 if(ether_addr_equal_64bits(eth->h_dest, dev->broadcast))
559 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN)
560 return eth->h_proto;
1003 plip_rewrite_address(const struct net_device *dev, struct ethhdr *eth)
1013 memcpy(eth->h_source, dev->dev_addr, ETH_ALEN);
1014 memset(eth->h_dest, 0xfc, 2);
1015 memcpy(eth->h_dest+2, &ifa->ifa_address, 4);
1042 struct ethhdr *eth;
1044 eth = (struct ethhdr*)(((u8*)hh->hh_data) +
1045 HH_DATA_OFF(sizeof(*eth)));
1046 plip_rewrite_address (neigh->dev, eth);