lkml.org 
[lkml]   [2001]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: (WAN) network device status
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:08    [W:1.661 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site