Home
last modified time | relevance | path

Searched refs:rarp (Results 1 – 2 of 2) sorted by relevance

/u-boot/net/
A Drarp.c73 struct arp_hdr *rarp; in rarp_request() local
82 rarp = (struct arp_hdr *)pkt; in rarp_request()
84 rarp->ar_hrd = htons(ARP_ETHER); in rarp_request()
85 rarp->ar_pro = htons(PROT_IP); in rarp_request()
86 rarp->ar_hln = 6; in rarp_request()
87 rarp->ar_pln = 4; in rarp_request()
88 rarp->ar_op = htons(RARPOP_REQUEST); in rarp_request()
89 memcpy(&rarp->ar_data[0], net_ethaddr, 6); /* source ET addr */ in rarp_request()
90 memcpy(&rarp->ar_data[6], &net_ip, 4); /* source IP addr */ in rarp_request()
92 memcpy(&rarp->ar_data[10], net_ethaddr, 6); in rarp_request()
[all …]
A DMakefile26 obj-$(CONFIG_CMD_RARP) += rarp.o

Completed in 2 milliseconds