Home
last modified time | relevance | path

Searched refs:ar_data (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/net/
Drarp.c44 net_copy_ip(&net_ip, &arp->ar_data[16]); in rarp_receive()
46 net_copy_ip(&net_server_ip, &arp->ar_data[6]); in rarp_receive()
47 memcpy(net_server_ethaddr, &arp->ar_data[0], 6); in rarp_receive()
88 memcpy(&rarp->ar_data[0], net_ethaddr, 6); /* source ET addr */ in rarp_request()
89 memcpy(&rarp->ar_data[6], &net_ip, 4); /* source IP addr */ in rarp_request()
91 memcpy(&rarp->ar_data[10], net_ethaddr, 6); in rarp_request()
93 memset(&rarp->ar_data[16], 0xff, 4); in rarp_request()
Darp.c208 arp->ar_data); in arp_receive()
/external/u-boot/include/
Dnet.h425 u8 ar_data[0]; member
426 #define ar_sha ar_data[0]
427 #define ar_spa ar_data[ARP_HLEN]
428 #define ar_tha ar_data[ARP_HLEN + ARP_PLEN]
429 #define ar_tpa ar_data[ARP_HLEN + ARP_PLEN + ARP_HLEN]