From: James Cameron <james.cameron@hp.com>
To: linux-ppp@vger.kernel.org
Subject: Re: howto setup a route by netlink socket
Date: Fri, 30 May 2008 03:36:17 +0000 [thread overview]
Message-ID: <20080530033617.GD5572@hp.com> (raw)
In-Reply-To: <200805300937396564081@gmail.com>
You could look at the ip(8) command source to find out how it is done,
/sbin/ip or /bin/ip is part of the iproute package on Red Hat and Debian
based Linux distributions.
Latest version of pptp has a hack that uses system(3) to execute ip(8).
If you can figure a way to do this without using system(3) then I'm
quite interested.
--
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
next prev parent reply other threads:[~2008-05-30 3:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-30 1:37 howto setup a route by netlink socket C.J
2008-05-30 3:36 ` James Cameron [this message]
2008-05-30 8:13 ` James Chapman
2008-05-31 13:26 ` C.J
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080530033617.GD5572@hp.com \
--to=james.cameron@hp.com \
--cc=linux-ppp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.