Manipulating routing table

Ferenc Kubinszky (ferenc.kubinszky@wit.mht.bme.hu)
Mon, 23 Jul 2001 13:43:01 +0200 (CEST)


Hi,

I'd like to access and modify the kernel routing table from a kernel
module. (v2.4.6)
The symbol ip_rt_ioctl is exported, but there is a copy_from_user(...)
call in fib_frontend.c line 302. I think it fails when I call it from
the module.

So, how can I modify the routing table from a module ?

Best regards,
Ferenc

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/