From: James Carlson <carlsonj@workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: Re: IFF_RUNNING support for ppp interfaces?
Date: Wed, 04 Feb 2009 17:14:44 +0000 [thread overview]
Message-ID: <18825.52484.575457.272416@gargle.gargle.HOWL> (raw)
In-Reply-To: <OF25BF4B49.1E3AF8FD-ONC1257551.0047CFD6-C1257551.00493095@transmode.se>
Joakim Tjernlund writes:
> I wonder how IFF_RUNNING is managed in recent pppd version(s). I very much
> like to
> use IFF_RUNNING to see if the link working in both ends.
For most implementations, IFF_RUNNING cannot be controlled by anything
in user space (such as pppd). Instead, it's set/cleared by the
kernel's PPP driver.
Defining "working" is difficult. Usually, the IFF_RUNNING flag is set
if the link is either a demand link waiting for activity or if there's
an active serial link underneath the connection, and IFF_UP is set
when IPCP successfully negotiates addresses.
--
James Carlson 42.703N 71.076W <carlsonj@workingcode.com>
next prev parent reply other threads:[~2009-02-04 17:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-02 13:18 IFF_RUNNING support for ppp interfaces? Joakim Tjernlund
2009-02-04 17:14 ` James Carlson [this message]
2009-02-08 19:23 ` Joakim Tjernlund
2009-02-09 12:10 ` James Carlson
2009-02-09 14:43 ` Joakim Tjernlund
2009-02-09 15:17 ` James Carlson
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=18825.52484.575457.272416@gargle.gargle.HOWL \
--to=carlsonj@workingcode.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox