The Linux kernel generally tends to cache its ARP tables here:
/proc/net/arp
.
Darwin & Mac OS X, however, do not seem to follow the same convention.
So where can I find the Darwin & Mac OS X equivalent of:
/proc/net/arp
?
MacOS – Where Is Darwin’s ARP Cache
command lineconfigurationmacosNetwork
Best Answer
OS X doesn't cache things on /proc so there's no equivalent exposure of kernel data through the filesystem idiom.
You can call
arp -a
to dump the current table to the location of your choosing if that sort of DIY caching has benefits for your code or use case.