[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Modify the route table with C



On 4/6/06, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> On Thu, 2006-04-06 09:39:58 +0800, Luo Yong <yong.personal.mail@gmail.com> wrote:
> > Is there anyway to modify the route table with C language?
>
> There is. `route' is written in C, as well as the `ip' utility.
>
> MfG, JBG
>
> --
> Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
> "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
>  für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
> ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFENKJTHb1edYOZ4bsRAupJAKCKW6H1jZNkFyZHb1V8MWSQf2009ACeIJXd
> ipjnakStEYW+NcXsIW3IYOA=
> =CpIY
> -----END PGP SIGNATURE-----
>
>
>

But my server is a customized ARM machine.It don't have the program
'route'.So I must find a way to modify route table myself.

Thanks.

Reply to: