tag | line | file | source code |
eth | 433 | drivers/net/plip.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 436 | drivers/net/plip.c | if (eth->h_proto != htons(ETH_P_IP)) { |
eth | 437 | drivers/net/plip.c | printk("plip_rebuild_header: Don't know how to resolve type %d addresses?\n",(int)eth->h_proto); |
eth | 438 | drivers/net/plip.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 443 | drivers/net/plip.c | eth->h_dest[i] = 0xfc; |
eth | 444 | drivers/net/plip.c | memcpy(&(eth->h_dest[i]), &dst, sizeof(unsigned long)); |
eth | 131 | include/linux/netdevice.h | int (*rebuild_header)(void *eth, struct device *dev, |
eth | 52 | include/linux/skbuff.h | struct ethhdr *eth; |
eth | 86 | net/inet/eth.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 94 | net/inet/eth.c | eth->h_proto = htons(type); |
eth | 96 | net/inet/eth.c | eth->h_proto = htons(len); |
eth | 103 | net/inet/eth.c | memcpy(eth->h_source,saddr,dev->addr_len); |
eth | 105 | net/inet/eth.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
eth | 113 | net/inet/eth.c | memset(eth->h_dest, 0, dev->addr_len); |
eth | 119 | net/inet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
eth | 136 | net/inet/eth.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 142 | net/inet/eth.c | if(eth->h_proto != htons(ETH_P_IP)) |
eth | 144 | net/inet/eth.c | printk("eth_rebuild_header: Don't know how to resolve type %d addresses?\n",(int)eth->h_proto); |
eth | 145 | net/inet/eth.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 153 | net/inet/eth.c | return arp_find(eth->h_dest, dst, dev, dev->pa_addr, skb)? 1 : 0; |
eth | 168 | net/inet/eth.c | struct ethhdr *eth = (struct ethhdr *) skb->data; |
eth | 171 | net/inet/eth.c | if(*eth->h_dest&1) |
eth | 173 | net/inet/eth.c | if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) |
eth | 181 | net/inet/eth.c | if(memcmp(eth->h_dest,dev->dev_addr, ETH_ALEN)) |
eth | 185 | net/inet/eth.c | if (ntohs(eth->h_proto) >= 1536) |
eth | 186 | net/inet/eth.c | return eth->h_proto; |
eth | 188 | net/inet/eth.c | rawp = (unsigned char *)(eth + 1); |
eth | 26 | net/inet/eth.h | extern void eth_dump(struct ethhdr *eth); |