From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abhishek Misra Subject: ip rule and ip route Date: Mon, 26 Sep 2005 17:20:20 +0530 (IST) Message-ID: Return-path: To: "Netfilter Development Mailinglist" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Hello, Last week there was a mail on use of ip route. Please let me know if there are ioctls for ip rule and ip route. The usual ip_rt_ioctl has only this int ip_rt_ioctl(unsigned int cmd, void *arg) { int err; struct kern_rta rta; struct rtentry r; struct { struct nlmsghdr nlh; struct rtmsg rtm; } req; switch (cmd) { case SIOCADDRT: /* Add a route */ case SIOCDELRT: /* Delete a route */ ..... ..... } Thank You