[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.01.1209100355370.22738@frira.zrqbmnf.qr>
Date: Mon, 10 Sep 2012 04:00:11 +0200 (CEST)
From: Jan Engelhardt <jengelh@...i.de>
To: Stephen Hemminger <shemminger@...tta.com>
cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: RFC - document network device carrier management
On Wednesday 2012-08-15 17:58, Stephen Hemminger wrote:
>--- a/Documentation/networking/netdevices.txt 2012-06-22 08:27:46.729168196 -0700
>+++ b/Documentation/networking/netdevices.txt 2012-08-15 08:56:31.120429994 -0700
>@@ -45,6 +45,36 @@ drop, truncate, or pass up oversize pack
> packets is preferred.
>
>
>+CARRIER
>+=======
>+Most network devices have an operational state that the device
>+monitors. The Linux kernel uses the name "carrier" for this flag which
>+is a historical reference to old modems. Carrier is reported to
>+userspace via the IFF_RUNNING flag from SIOCGIFFLAGS ioctl.
I think Netlink should be mentioned instead:
Carrier is reported to userspace via the IFF_RUNNING flag in
struct ifinfomsg.ifi_flags returned by RTM_GETLINK (see rtnetlink(7)).
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists