tag | line | file | source code |
eth | 120 | net/inet/dev.h | int (*rebuild_header)(void *eth, struct device *dev); |
eth | 79 | net/inet/eth.c | eth_dump(struct ethhdr *eth) |
eth | 83 | net/inet/eth.c | printk("eth: SRC = %s ", eth_print(eth->h_source)); |
eth | 84 | net/inet/eth.c | printk("DST = %s ", eth_print(eth->h_dest)); |
eth | 85 | net/inet/eth.c | printk("TYPE = %04X\n", ntohs(eth->h_proto)); |
eth | 94 | net/inet/eth.c | struct ethhdr *eth; |
eth | 100 | net/inet/eth.c | eth = (struct ethhdr *) buff; |
eth | 101 | net/inet/eth.c | eth->h_proto = ntohs(type); |
eth | 102 | net/inet/eth.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 107 | net/inet/eth.c | memset(eth->h_dest, 0, dev->addr_len); |
eth | 114 | net/inet/eth.c | memcpy(eth->h_dest, dev->broadcast, dev->addr_len); |
eth | 119 | net/inet/eth.c | if (arp_find(eth->h_dest, daddr, dev, saddr)) { |
eth | 129 | net/inet/eth.c | struct ethhdr *eth; |
eth | 133 | net/inet/eth.c | eth = (struct ethhdr *) buff; |
eth | 134 | net/inet/eth.c | src = *(unsigned long *) eth->h_source; |
eth | 135 | net/inet/eth.c | dst = *(unsigned long *) eth->h_dest; |
eth | 138 | net/inet/eth.c | if (arp_find(eth->h_dest, dst, dev, src)) return(1); |
eth | 139 | net/inet/eth.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
eth | 148 | net/inet/eth.c | struct ethhdr *eth; |
eth | 150 | net/inet/eth.c | eth = (struct ethhdr *) (skb + 1); |
eth | 151 | net/inet/eth.c | arp_add(addr, eth->h_source, dev); |
eth | 159 | net/inet/eth.c | struct ethhdr *eth; |
eth | 161 | net/inet/eth.c | eth = (struct ethhdr *) (skb + 1); |
eth | 162 | net/inet/eth.c | return(eth->h_proto); |
eth | 26 | net/inet/eth.h | extern void eth_dump(struct ethhdr *eth); |
eth | 37 | net/inet/skbuff.h | struct ethhdr *eth; |