Lines Matching refs:eth
541 struct ethhdr *eth; in plip_type_trans() local
546 eth = eth_hdr(skb); in plip_type_trans()
548 if(*eth->h_dest&1) in plip_type_trans()
550 if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) in plip_type_trans()
561 if (ntohs(eth->h_proto) >= 1536) in plip_type_trans()
562 return eth->h_proto; in plip_type_trans()
994 plip_rewrite_address(const struct net_device *dev, struct ethhdr *eth) in plip_rewrite_address() argument
1002 memcpy(eth->h_source, dev->dev_addr, 6); in plip_rewrite_address()
1003 memset(eth->h_dest, 0xfc, 2); in plip_rewrite_address()
1004 memcpy(eth->h_dest+2, &ifa->ifa_address, 4); in plip_rewrite_address()
1030 struct ethhdr *eth; in plip_hard_header_cache() local
1032 eth = (struct ethhdr*)(((u8*)hh->hh_data) + in plip_hard_header_cache()
1033 HH_DATA_OFF(sizeof(*eth))); in plip_hard_header_cache()
1034 plip_rewrite_address (neigh->dev, eth); in plip_hard_header_cache()