• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/unix/

Lines Matching refs:we

68  *    really crucial? I think we may suppose they're always called from the
103 // this just means that a RAS connection exists, under Unix we check that
111 // do we have a constant net connection?
137 // parameter is only for Unix where we do the check manually: under
148 // under Unix, the value of well-known host is used to check whether we're
165 Net_Unknown = -1, // we couldn't learn anything
175 NetDevice_Modem = 0x0002, // we have a modem
183 // the connection we have with the network card
186 // Can we use ifconfig to list active devices?
192 // Can we use ping to find hosts?
432 // if we're in defined state
443 We first try to find out if ppp interface is active. If it is, we assume
444 that we're online but don't have a permanent connection (this is false if a
445 networked machine uses modem to connect to somewhere else, but we can't do
448 If no ppp interface is detected, we check for eth interface. If it is
449 found, we check that we can, indeed, connect to an Internet host. The logic
450 here is that connection check should be fast enough in this case and we
454 If we didn't find either ppp or eth interfaces, we stop here and decide
455 that we're connected. However, if couldn't check for this, we try to ping a
464 NB2: pinging, actually, means that we first try to connect "manually" to
465 a port on remove machine and if it fails, we run ping.
472 // first do quick checks to determine what kind of network devices do we
489 // we still do ping to confirm that we're connected but we only do
507 // assume we're connected
529 // this is the only thing we can do unfortunately...
535 // we are only permanently online if we have a network card
579 return Net_Connected; // we can connect, so we have a network!
607 // now we know that we will find all devices we may have
704 so we could let ifconfig write directly to the tmpfile, but
716 // FIXME shouldn't we grep for "^ppp"? (VZ)
786 // we didn't find ping