[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 02167) Re: routing socket.
To add or delete routes from kernel you should be use NETLINK socket in Linux.
For this purpose, you can refer the ip utility code.
In BSD, you should be use routing socket as you know and refer the route utility code.
And as you know, this is LINUX IPV6 mailing list.
----- Original Message -----
From: "Abdul Basit" <basit@xxxxxxxx>
To: <usagi-users@xxxxxxxxxxxxxx>
Sent: Sunday, February 02, 2003 10:42 PM
Subject: (usagi-users 02164) routing socket.
> Hey,
>
> Do anyone has a fairly simple example of using routing
> sockets to add an ipv6 route in kernel routing table?
> I was trying to use rtm_add. Can we use sysctl() to
> set some IPv6 route ? what package route.c comes in with
> freebsd?
>
> -- basit
> wichita state univ.
> dept. of computer science.
>
>