I would like to add arp bindings into /proc/net/arp in C. Writing into file is not allowed, so trying to do it some other way. Any suggestions? I already know about net-tools, but havent tryed yet
I would like to add arp bindings into /proc/net/arp in C . Writing into
Share
ip neigh add can do this:
For example:
Is this what you want to do?
If you want to do this directly in C, look at the source of the
iptool, which is part of theiproute2package.