Lines Matching refs:eth
543 struct ethhdr *eth; in plip_type_trans() local
548 eth = eth_hdr(skb); in plip_type_trans()
550 if(*eth->h_dest&1) in plip_type_trans()
552 if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) in plip_type_trans()
563 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN) in plip_type_trans()
564 return eth->h_proto; in plip_type_trans()
995 plip_rewrite_address(const struct net_device *dev, struct ethhdr *eth) in plip_rewrite_address() argument
1005 memcpy(eth->h_source, dev->dev_addr, 6); in plip_rewrite_address()
1006 memset(eth->h_dest, 0xfc, 2); in plip_rewrite_address()
1007 memcpy(eth->h_dest+2, &ifa->ifa_address, 4); in plip_rewrite_address()
1034 struct ethhdr *eth; in plip_hard_header_cache() local
1036 eth = (struct ethhdr*)(((u8*)hh->hh_data) + in plip_hard_header_cache()
1037 HH_DATA_OFF(sizeof(*eth))); in plip_hard_header_cache()
1038 plip_rewrite_address (neigh->dev, eth); in plip_hard_header_cache()