tag | line | file | source code |
haddr | 39 | include/linux/etherdevice.h | extern void eth_header_cache_update(struct hh_cache *hh, struct device *dev, unsigned char * haddr); |
haddr | 185 | include/linux/netdevice.h | void (*header_cache_update)(struct hh_cache *hh, struct device *dev, unsigned char * haddr); |
haddr | 8 | include/net/arp.h | extern int arp_query(unsigned char *haddr, u32 paddr, struct device *dev); |
haddr | 9 | include/net/arp.h | extern int arp_find(unsigned char *haddr, u32 paddr, |
haddr | 250 | net/ethernet/eth.c | void eth_header_cache_update(struct hh_cache *hh, struct device *dev, unsigned char * haddr) |
haddr | 257 | net/ethernet/eth.c | memcpy(hh->hh_data, haddr, ETH_ALEN); |
haddr | 1111 | net/ipv4/arp.c | int arp_query(unsigned char *haddr, u32 paddr, struct device * dev) |
haddr | 1124 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
haddr | 1134 | net/ipv4/arp.c | static int arp_set_predefined(int addr_hint, unsigned char * haddr, __u32 paddr, struct device * dev) |
haddr | 1140 | net/ipv4/arp.c | memcpy(haddr, dev->dev_addr, dev->addr_len); |
haddr | 1147 | net/ipv4/arp.c | haddr[0]=0x01; |
haddr | 1148 | net/ipv4/arp.c | haddr[1]=0x00; |
haddr | 1149 | net/ipv4/arp.c | haddr[2]=0x5e; |
haddr | 1151 | net/ipv4/arp.c | haddr[5]=taddr&0xff; |
haddr | 1153 | net/ipv4/arp.c | haddr[4]=taddr&0xff; |
haddr | 1155 | net/ipv4/arp.c | haddr[3]=taddr&0x7f; |
haddr | 1164 | net/ipv4/arp.c | memcpy(haddr, dev->broadcast, dev->addr_len); |
haddr | 1174 | net/ipv4/arp.c | int arp_find(unsigned char *haddr, u32 paddr, struct device *dev, |
haddr | 1180 | net/ipv4/arp.c | if (arp_set_predefined(ip_chk_addr(paddr), haddr, paddr, dev)) |
haddr | 1242 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
haddr | 1410 | net/ipv4/arp.c | unsigned char haddr[MAX_ADDR_LEN]; |
haddr | 1416 | net/ipv4/arp.c | arp_set_predefined(addr_hint, haddr, paddr, dev); |
haddr | 1423 | net/ipv4/arp.c | dev->header_cache_update(hh, dev, haddr); |