tag | line | file | source code |
eth | 524 | drivers/net/arcnet.c | int arcnetA_rebuild_header(void *eth,struct device *dev,unsigned long raddr, |
eth | 526 | drivers/net/arcnet.c | int arcnetS_rebuild_header(void *eth,struct device *dev,unsigned long raddr, |
eth | 211 | drivers/net/plip.c | int (*orig_rebuild_header)(void *eth, struct device *dev, |
eth | 861 | drivers/net/plip.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 867 | drivers/net/plip.c | if (eth->h_proto != htons(ETH_P_IP)) { |
eth | 868 | drivers/net/plip.c | printk("plip_rebuild_header: Don't know how to resolve type %d addresses?\n", (int)eth->h_proto); |
eth | 869 | drivers/net/plip.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 874 | drivers/net/plip.c | eth->h_dest[i] = 0xfc; |
eth | 875 | drivers/net/plip.c | memcpy(&(eth->h_dest[i]), &dst, sizeof(unsigned long)); |
eth | 173 | include/linux/netdevice.h | int (*rebuild_header)(void *eth, struct device *dev, |
eth | 62 | include/linux/skbuff.h | struct ethhdr *eth; |
eth | 92 | net/ethernet/eth.c | struct ethhdr *eth = (struct ethhdr *)skb_push(skb,ETH_HLEN); |
eth | 100 | net/ethernet/eth.c | eth->h_proto = htons(type); |
eth | 102 | net/ethernet/eth.c | eth->h_proto = htons(len); |
eth | 109 | net/ethernet/eth.c | memcpy(eth->h_source,saddr,dev->addr_len); |
eth | 111 | net/ethernet/eth.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
eth | 119 | net/ethernet/eth.c | memset(eth->h_dest, 0, dev->addr_len); |
eth | 125 | net/ethernet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
eth | 142 | net/ethernet/eth.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 148 | net/ethernet/eth.c | if(eth->h_proto != htons(ETH_P_IP)) |
eth | 150 | net/ethernet/eth.c | printk("eth_rebuild_header: Don't know how to resolve type %d addresses?\n",(int)eth->h_proto); |
eth | 151 | net/ethernet/eth.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 159 | net/ethernet/eth.c | return arp_find(eth->h_dest, dst, dev, dev->pa_addr, skb)? 1 : 0; |
eth | 174 | net/ethernet/eth.c | struct ethhdr *eth; |
eth | 179 | net/ethernet/eth.c | eth= skb->mac.ethernet; |
eth | 181 | net/ethernet/eth.c | if(*eth->h_dest&1) |
eth | 183 | net/ethernet/eth.c | if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) |
eth | 196 | net/ethernet/eth.c | if(memcmp(eth->h_dest,dev->dev_addr, ETH_ALEN)) |
eth | 200 | net/ethernet/eth.c | if (ntohs(eth->h_proto) >= 1536) |
eth | 201 | net/ethernet/eth.c | return eth->h_proto; |
eth | 267 | net/ethernet/eth.c | struct ethhdr *eth; |
eth | 272 | net/ethernet/eth.c | eth=(struct ethhdr *)dest->data; |
eth | 273 | net/ethernet/eth.c | if(eth->h_proto!=htons(ETH_P_IP)) |