Lines Matching defs:eth
546 struct ethhdr *eth;
551 eth = eth_hdr(skb);
553 if(is_multicast_ether_addr(eth->h_dest))
555 if(ether_addr_equal_64bits(eth->h_dest, dev->broadcast))
566 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN)
567 return eth->h_proto;
1011 plip_rewrite_address(const struct net_device *dev, struct ethhdr *eth)
1021 memcpy(eth->h_source, dev->dev_addr, ETH_ALEN);
1022 memset(eth->h_dest, 0xfc, 2);
1023 memcpy(eth->h_dest+2, &ifa->ifa_address, 4);
1050 struct ethhdr *eth;
1052 eth = (struct ethhdr*)(((u8*)hh->hh_data) +
1053 HH_DATA_OFF(sizeof(*eth)));
1054 plip_rewrite_address (neigh->dev, eth);