* (WAN) network device status
@ 2001-10-22 14:06 Krzysztof Halasa
2001-10-23 6:10 ` Jeff Garzik
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Halasa @ 2001-10-22 14:06 UTC (permalink / raw)
To: linux-kernel
Hi,
I remember a discussion about net_dev->flags and carrier loss etc
detection. Did the things change? I mean, do we currently have a way
for network device driver to report (to the rest of kernel, to the
userland) that the link is down? It would include DCD (carrier) loss,
Ethernet link down, IrDA/USB disconnects etc.
I think the kernel should deactivate respective routing table entries
as well when a link goes down.
--
Krzysztof Halasa
Network Administrator
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: (WAN) network device status
2001-10-22 14:06 Krzysztof Halasa
@ 2001-10-23 6:10 ` Jeff Garzik
0 siblings, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2001-10-23 6:10 UTC (permalink / raw)
To: Krzysztof Halasa; +Cc: linux-kernel
Krzysztof Halasa wrote:
> I remember a discussion about net_dev->flags and carrier loss etc
> detection. Did the things change? I mean, do we currently have a way
> for network device driver to report (to the rest of kernel, to the
> userland) that the link is down? It would include DCD (carrier) loss,
> Ethernet link down, IrDA/USB disconnects etc.
We have netif_carrier_{on,off}, and longer term netlink should
proactively deliver link up/down messages.
Jeff
--
Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansno
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: (WAN) network device status
@ 2001-10-23 16:38 Telford002
0 siblings, 0 replies; 3+ messages in thread
From: Telford002 @ 2001-10-23 16:38 UTC (permalink / raw)
To: khc, linux-kernel
In a message dated 10/23/01 1:59:03 AM Eastern Daylight Time, khc@pm.waw.pl
writes:
> I remember a discussion about net_dev->flags and carrier loss etc
> detection. Did the things change? I mean, do we currently have a way
> for network device driver to report (to the rest of kernel, to the
> userland) that the link is down? It would include DCD (carrier) loss,
> Ethernet link down, IrDA/USB disconnects etc.
>
> I think the kernel should deactivate respective routing table entries
> as well when a link goes down.
Not if the link can be redialed or reconnected implicitly or on-demand
in some way.
Joachim Martillo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-10-23 16:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-23 16:38 (WAN) network device status Telford002
-- strict thread matches above, loose matches on Subject: below --
2001-10-22 14:06 Krzysztof Halasa
2001-10-23 6:10 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox