Mahesh Pujara wrote: > I am doing study on Ipv6 routing table. My aim is to Traverse the Ipv6 > routing table and build my own Forwarding table. > Ipv6 routing table is maintained as a tree inside the kernel. > Can i get any document regarding How table is build in > kernel and How to traverse the tree to access all the nodes of the tree. Depends on how low-level you want to go and what you exactly want to do with it. But if you only want to read it, the easiest way is by getting your data from /proc/net/ipv6_route. For 'writing' to the routing tables I suggest you use the appropriate IOCTL's. Which ofcourse can also be used for reading them. Also you might take a look at Zebra which does this for many OS's. Greets, Jeroen - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html