Manipulating routing table

From: Ferenc Kubinszky (ferenc.kubinszky@wit.mht.bme.hu)
Date: Mon Jul 23 2001 - 06:43:01 EST


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/



This archive was generated by hypermail 2b29 : Mon Jul 23 2001 - 21:00:16 EST