Lines Matching refs:rarpreq
481 struct arprequest rarpreq;
487 memset(&rarpreq, 0, sizeof(rarpreq));
489 rarpreq.hwtype = htons(1);
490 rarpreq.protocol = htons(IP);
491 rarpreq.hwlen = ETH_ALEN;
492 rarpreq.protolen = 4;
493 rarpreq.opcode = htons(RARP_REQUEST);
494 memcpy(&rarpreq.shwaddr, arptable[ARP_CLIENT].node, ETH_ALEN);
496 memcpy(&rarpreq.thwaddr, arptable[ARP_CLIENT].node, ETH_ALEN);
501 eth_transmit(broadcast, RARP, sizeof(rarpreq), &rarpreq);
504 if (await_reply(await_rarp, 0, rarpreq.shwaddr, timeout))