Altera_Forum
Honored Contributor
13 years agoget MAC address of target IP
Hi,
I have already spent some days searching the information how to fetch the MAC address associated with an IP address. I am primarly an FPGA designer and unfortunately beginner with regard to ucOS and nichestack and would be happy for any help I can get. From what I understood, the flow is the following: the NIOS sends an ARP packet to the selected IP and on the return of the response fetches the node's ethernet address. Can anyone help me with some sample code how to send the arp packet and extract the needed information from the arp response? thank you!