All of lore.kernel.org
 help / color / mirror / Atom feed
* ip rule and ip route
@ 2005-09-26 11:50 Abhishek Misra
  2005-09-26 16:49 ` Henrik Nordstrom
  0 siblings, 1 reply; 2+ messages in thread
From: Abhishek Misra @ 2005-09-26 11:50 UTC (permalink / raw)
  To: Netfilter Development Mailinglist


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ip rule and ip route
  2005-09-26 11:50 ip rule and ip route Abhishek Misra
@ 2005-09-26 16:49 ` Henrik Nordstrom
  0 siblings, 0 replies; 2+ messages in thread
From: Henrik Nordstrom @ 2005-09-26 16:49 UTC (permalink / raw)
  To: Abhishek Misra; +Cc: Netfilter Development Mailinglist

On Mon, 26 Sep 2005, Abhishek Misra wrote:

> Please let me know if there are ioctls for ip rule and ip route.

Wrong mailinglist, but iproute uses netlink, not ioctl.

Regards
Henrik

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-26 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-26 11:50 ip rule and ip route Abhishek Misra
2005-09-26 16:49 ` Henrik Nordstrom

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.