tag | line | file | source code |
eth | 452 | 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 | 842 | drivers/net/plip.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 848 | drivers/net/plip.c | if (eth->h_proto != htons(ETH_P_IP)) { |
eth | 849 | drivers/net/plip.c | printk("plip_rebuild_header: Don't know how to resolve type %d addresses?\n", (int)eth->h_proto); |
eth | 850 | drivers/net/plip.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 855 | drivers/net/plip.c | eth->h_dest[i] = 0xfc; |
eth | 856 | drivers/net/plip.c | memcpy(&(eth->h_dest[i]), &dst, sizeof(unsigned long)); |
eth | 157 | include/linux/netdevice.h | int (*rebuild_header)(void *eth, struct device *dev, |
eth | 53 | include/linux/skbuff.h | struct ethhdr *eth; |
eth | 90 | net/ethernet/eth.c | struct ethhdr *eth = (struct ethhdr *)skb_push(skb,14); |
eth | 98 | net/ethernet/eth.c | eth->h_proto = htons(type); |
eth | 100 | net/ethernet/eth.c | eth->h_proto = htons(len); |
eth | 107 | net/ethernet/eth.c | memcpy(eth->h_source,saddr,dev->addr_len); |
eth | 109 | net/ethernet/eth.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
eth | 117 | net/ethernet/eth.c | memset(eth->h_dest, 0, dev->addr_len); |
eth | 123 | net/ethernet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
eth | 140 | net/ethernet/eth.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 146 | net/ethernet/eth.c | if(eth->h_proto != htons(ETH_P_IP)) |
eth | 148 | net/ethernet/eth.c | printk("eth_rebuild_header: Don't know how to resolve type %d addresses?\n",(int)eth->h_proto); |
eth | 149 | net/ethernet/eth.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 157 | net/ethernet/eth.c | return arp_find(eth->h_dest, dst, dev, dev->pa_addr, skb)? 1 : 0; |
eth | 172 | net/ethernet/eth.c | struct ethhdr *eth; |
eth | 177 | net/ethernet/eth.c | eth= skb->mac.ethernet; |
eth | 179 | net/ethernet/eth.c | if(*eth->h_dest&1) |
eth | 181 | net/ethernet/eth.c | if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) |
eth | 189 | net/ethernet/eth.c | if(memcmp(eth->h_dest,dev->dev_addr, ETH_ALEN)) |
eth | 193 | net/ethernet/eth.c | if (ntohs(eth->h_proto) >= 1536) |
eth | 194 | net/ethernet/eth.c | return eth->h_proto; |
eth | 240 | net/ethernet/eth.c | struct ethhdr *eth; |
eth | 245 | net/ethernet/eth.c | eth=(struct ethhdr *)dest->data; |
eth | 246 | net/ethernet/eth.c | if(eth->h_proto!=htons(ETH_P_IP)) |