Where, in memory, does the ARP cache exist? I tried searching it up online but didn't find anything.
11 Answer
GNU/Linux, unlike MacOSx, uses the /proc directory structure, a.k.a. procfs, to store system data. The arp cache is located at /proc/net/arp You print the data to stdout directly from that system file via:
cat /proc/net/arpI realized that you may also want the memory address that the kernel uses to find the arp cache. The exact address may vary. However, you can find the memory address table for all arp memory addresses the kernel uses in /proc/kallsyms
cat /proc/kallsyms |grep arp_May be helpful as well.
3