tag | line | file | source code |
eth | 458 | drivers/net/arcnet.c | int arcnetA_rebuild_header(void *eth,struct device *dev,unsigned long raddr, |
eth | 198 | drivers/net/plip.c | int (*orig_rebuild_header)(void *eth, struct device *dev, |
eth | 839 | drivers/net/plip.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 845 | drivers/net/plip.c | if (eth->h_proto != htons(ETH_P_IP)) { |
eth | 846 | drivers/net/plip.c | printk("plip_rebuild_header: Don't know how to resolve type %d addresses?\n", (int)eth->h_proto); |
eth | 847 | drivers/net/plip.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 852 | drivers/net/plip.c | eth->h_dest[i] = 0xfc; |
eth | 853 | drivers/net/plip.c | memcpy(&(eth->h_dest[i]), &dst, sizeof(unsigned long)); |
eth | 148 | include/linux/netdevice.h | int (*rebuild_header)(void *eth, struct device *dev, |
eth | 53 | include/linux/skbuff.h | struct ethhdr *eth; |
eth | 26 | include/net/eth.h | extern void eth_dump(struct ethhdr *eth); |
eth | 89 | net/ethernet/eth.c | struct ethhdr *eth = (struct ethhdr *)skb_push(skb,14); |
eth | 97 | net/ethernet/eth.c | eth->h_proto = htons(type); |
eth | 99 | net/ethernet/eth.c | eth->h_proto = htons(len); |
eth | 106 | net/ethernet/eth.c | memcpy(eth->h_source,saddr,dev->addr_len); |
eth | 108 | net/ethernet/eth.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
eth | 116 | net/ethernet/eth.c | memset(eth->h_dest, 0, dev->addr_len); |
eth | 122 | net/ethernet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
eth | 139 | net/ethernet/eth.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 145 | net/ethernet/eth.c | if(eth->h_proto != htons(ETH_P_IP)) |
eth | 147 | net/ethernet/eth.c | printk("eth_rebuild_header: Don't know how to resolve type %d addresses?\n",(int)eth->h_proto); |
eth | 148 | net/ethernet/eth.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 156 | net/ethernet/eth.c | return arp_find(eth->h_dest, dst, dev, dev->pa_addr, skb)? 1 : 0; |
eth | 171 | net/ethernet/eth.c | struct ethhdr *eth; |
eth | 176 | net/ethernet/eth.c | eth= skb->mac.ethernet; |
eth | 178 | net/ethernet/eth.c | if(*eth->h_dest&1) |
eth | 180 | net/ethernet/eth.c | if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) |
eth | 188 | net/ethernet/eth.c | if(memcmp(eth->h_dest,dev->dev_addr, ETH_ALEN)) |
eth | 192 | net/ethernet/eth.c | if (ntohs(eth->h_proto) >= 1536) |
eth | 193 | net/ethernet/eth.c | return eth->h_proto; |
eth | 238 | net/ethernet/eth.c | struct ethhdr *eth; |
eth | 241 | net/ethernet/eth.c | eth=(struct ethhdr *)dest->data; |
eth | 244 | net/ethernet/eth.c | if(eth->h_proto!=htons(ETH_P_IP)) |