Hi all, I'm currently working on a module for a dynamic routing algorithm and I've got a problem. I use ip_route_output_key (net/ipv4/route.c) in order to know if a route for an host exists. If this route exists, i have to know if this is a route of type host or of type net. My problem is that I didn't find how to do this. ip_route_output_key returns a struct rt_key and a struct rtable and I was unable to find how to make a difference between host route (route add -host ...) and net route (route add -net ...) with those 2 structs. Do you know any way to do this ? I try to directly access the fib table, but it seems that fib_lookup is for internal use only :( Thanx -- Francis -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/