tag | line | file | source code |
eth | 172 | drivers/net/plip.c | static int plip_addrcmp(struct ethhdr *eth); |
eth | 177 | drivers/net/plip.c | static int plip_send_start(struct device *dev, struct ethhdr *eth); |
eth | 436 | drivers/net/plip.c | struct ethhdr eth; |
eth | 449 | drivers/net/plip.c | unsigned char *eth_p = (unsigned char*)ð |
eth | 450 | drivers/net/plip.c | for ( i = 0; i < sizeof(eth); i++, eth_p++) { |
eth | 476 | drivers/net/plip.c | unsigned char *eth_p = (unsigned char *)ð |
eth | 478 | drivers/net/plip.c | for ( i = 0; i < sizeof(eth); i++) { |
eth | 482 | drivers/net/plip.c | for ( i = 0; i < length - sizeof(eth); i++) { |
eth | 557 | drivers/net/plip.c | plip_send_start(struct device *dev, struct ethhdr *eth) |
eth | 577 | drivers/net/plip.c | if ( plip_addrcmp(eth) > 0 ) { |
eth | 727 | drivers/net/plip.c | plip_addrcmp(struct ethhdr *eth) |
eth | 731 | drivers/net/plip.c | if (eth->h_dest[i] > eth->h_source[i]) return -1; |
eth | 732 | drivers/net/plip.c | if (eth->h_dest[i] < eth->h_source[i]) return 1; |
eth | 735 | drivers/net/plip.c | *(long*)ð->h_dest[2],*(short*)ð->h_dest[0], |
eth | 736 | drivers/net/plip.c | *(long*)ð->h_source[2],*(short*)ð->h_source[0])); |
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 addreses?\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); |