ip rule and ip route
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
Quoted 1 line · Abhishek Misra
Please let me know if there are ioctls for ip rule and ip route.
Wrong mailinglist, but iproute uses netlink, not ioctl.
Regards
Henrik