Altera_Forum
Honored Contributor
9 years agoIniche stack - how found MAC address from IP
I'm using Nios II system to provide ethernet services (like ICMP, ARP etc. etc.) to an video over IP design. I'm using the uCOS II system with Nichestack.
My video to IP transmitter (hardware design) needs to known the MAC address of the receiver interface. Since the user didn't specify the MAC address but only the IP address, I need to find the MAC address from the IP. I'm a newbie with uCOS and Nichestack. How I can implement a function that search for IP in the ARP table and if doesn't exist make and ARP request and send back the MAC address? I can use some existing functions? Thanks.