tag | line | file | source code |
eth | 381 | drivers/net/arcnet.c | int arc_rebuild_header(void *eth,struct device *dev,unsigned long raddr, |
eth | 2108 | drivers/net/arcnet.c | if(*eth->h_dest&1) |
eth | 2110 | drivers/net/arcnet.c | if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) |
eth | 2141 | drivers/net/arcnet.c | if (ntohs(eth->h_proto) >= 1536) |
eth | 2142 | drivers/net/arcnet.c | return eth->h_proto; |
eth | 2144 | drivers/net/arcnet.c | rawp = (unsigned char *)(eth + 1); |
eth | 198 | drivers/net/plip.c | int (*orig_rebuild_header)(void *eth, struct device *dev, |
eth | 838 | drivers/net/plip.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 844 | drivers/net/plip.c | if (eth->h_proto != htons(ETH_P_IP)) { |
eth | 845 | drivers/net/plip.c | printk("plip_rebuild_header: Don't know how to resolve type %d addresses?\n", (int)eth->h_proto); |
eth | 846 | drivers/net/plip.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 851 | drivers/net/plip.c | eth->h_dest[i] = 0xfc; |
eth | 852 | drivers/net/plip.c | memcpy(&(eth->h_dest[i]), &dst, sizeof(unsigned long)); |
eth | 149 | include/linux/netdevice.h | int (*rebuild_header)(void *eth, struct device *dev, |
eth | 53 | include/linux/skbuff.h | struct ethhdr *eth; |
eth | 88 | net/inet/eth.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 96 | net/inet/eth.c | eth->h_proto = htons(type); |
eth | 98 | net/inet/eth.c | eth->h_proto = htons(len); |
eth | 105 | net/inet/eth.c | memcpy(eth->h_source,saddr,dev->addr_len); |
eth | 107 | net/inet/eth.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
eth | 115 | net/inet/eth.c | memset(eth->h_dest, 0, dev->addr_len); |
eth | 121 | net/inet/eth.c | memcpy(eth->h_dest,daddr,dev->addr_len); |
eth | 138 | net/inet/eth.c | struct ethhdr *eth = (struct ethhdr *)buff; |
eth | 144 | net/inet/eth.c | if(eth->h_proto != htons(ETH_P_IP)) |
eth | 146 | net/inet/eth.c | printk("eth_rebuild_header: Don't know how to resolve type %d addresses?\n",(int)eth->h_proto); |
eth | 147 | net/inet/eth.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 155 | net/inet/eth.c | return arp_find(eth->h_dest, dst, dev, dev->pa_addr, skb)? 1 : 0; |
eth | 170 | net/inet/eth.c | struct ethhdr *eth = (struct ethhdr *) skb->data; |
eth | 173 | net/inet/eth.c | if(*eth->h_dest&1) |
eth | 175 | net/inet/eth.c | if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) |
eth | 183 | net/inet/eth.c | if(memcmp(eth->h_dest,dev->dev_addr, ETH_ALEN)) |
eth | 187 | net/inet/eth.c | if (ntohs(eth->h_proto) >= 1536) |
eth | 188 | net/inet/eth.c | return eth->h_proto; |
eth | 190 | net/inet/eth.c | rawp = (unsigned char *)(eth + 1); |
eth | 26 | net/inet/eth.h | extern void eth_dump(struct ethhdr *eth); |