How to send gratuitous ARP

Using NETOS60_GNU on NS7520 board. Like to advertise own ip and mac association on startup by sending ARP request to resolve own ip address. This will help in finding a forgotten ip address of a unit by sniffer (not using bootloader). I tried:

// Do nothing callback function - conflict_cb
retval = ll_arp_address(“eth0”, own_ip,
3/probe count/, 100/interval/,
&conflict_cb, 1/blocking/);
Function returns 0 without wait.
I don’t see any ARP capture on Ethereal.

Any Help ?

Wrote a function to build raw ARP packet and send through low level driver interface did it.

Very cool, thanks!