Manipulating arp table under program control

We need to manipulate the arp table under program control. Executing command
line commands from within a program will work but thats kind of tacky given
the potentially large number of entries we’ll be manipulating. Is there a
programming interface for doing this? ioctl() sounds like a good bet but I
couldn’t find any specifics.

Thanks for the help,
Keith

Look at SIOC[GSD]ARP.

-seanb

Keith Clifford <keithc@tri-linktech.com> wrote:
: We need to manipulate the arp table under program control. Executing command
: line commands from within a program will work but thats kind of tacky given
: the potentially large number of entries we’ll be manipulating. Is there a
: programming interface for doing this? ioctl() sounds like a good bet but I
: couldn’t find any specifics.

: Thanks for the help,
: Keith