LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   proc/net/arp source location (https://www.linuxquestions.org/questions/linux-kernel-70/proc-net-arp-source-location-690823/)

eselig 12-15-2008 07:41 PM

proc/net/arp source location
 
Hello everyone.

Im attempting to make a program that updates the ARP table of a system and wanted to take a look at the proc/net/arp source code to get some ideas. The problem? I have no idea where to look. I've search through the linux kernel source code and found nothing. If someone could tell me where to look it would be most appreciated.

Thanks,

E

JZL240I-U 12-17-2008 03:31 AM

I haven't the faintest idea ;) (sorry). But have you looked at the links in this page http://en.wikipedia.org/wiki/ARP_spoofing ? In particular the programs to manipulate the ARP-table should contain some references enabling you to find the exact spot in the sources...

chayedan 06-11-2009 06:24 AM

Quote:

Originally Posted by eselig (Post 3376782)
Hello everyone.

Im attempting to make a program that updates the ARP table of a system and wanted to take a look at the proc/net/arp source code to get some ideas. The problem? I have no idea where to look. I've search through the linux kernel source code and found nothing. If someone could tell me where to look it would be most appreciated.

Thanks,

E

you can trace the following file:
linux/net/ipv4/arp.c


All times are GMT -5. The time now is 05:51 AM.