Where is the routing table created?
I'm working on my senior year project which is os/networks related. It involves kernel programming. I need to know where excactly the routing table is being constructed in the kernel. Which file should i look at, i looked at /usr/src/linux/net/ipv4/route.c but i couldn't understand what's happening exactly.
When you type the route command the routing table is displayed. I need to do something with the routing table entries for instance save a particular entry and send it over the network to another pc in the form of a packet. How do i go about it and where would i think about making the modifications/additions ?
Any link/resource on this kind of a thing?
Thanks in advance