Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosnetteam] || [Date Prev] [10-2003 Date Index] [Date Next] || [Thread Prev] [10-2003 Thread Index] [Thread Next]

[openbeosnetteam] Re: new if_flag IFF_CONNECTED

  • From: "Bruno G. Albuquerque" <bga@xxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Mon, 20 Oct 2003 08:32:20 -0100 CVT
On Mon, 20 Oct 2003 12:27:34 +0200, "Waldemar Kornewald" <
Waldemar.Kornewald@xxxxxx> said:

> As PPP supports dial-on-demand there has to be a flag so that the 
> user knows (when he enters ifconfig -a) which PPP interfaces are 
> really connected and which of them are only pretending to the stack 
> that they are connected.
> For this I added a new flag IFF_CONNECTED that is only valid if 
> IFF_POINTOPOINT is also set. For IFF_POINTOPOINT ifconfig prints 
> either "CONNECTED" or "DISCONNECTED", depending on the value of the 
> IFF_CONNECTED flag.

Maybe I misunderstood you, but isn't the standar behavior like this:

1 - If the ppp connection is not created, nothing appears in the 
ifconfig output.
2 - If it is created but not up 9connected) it appears in the iconfig 
output as being "down".
3 - If it is created and connected , it appears as being "up".

-Bruno


--
Fortune Cookie Says:

"There is hopeful symbolism in the fact that flags do not wave in a
vacuum."
                -- Arthur C. Clarke





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.