On Wednesday 2012-08-15 17:58, Stephen Hemminger wrote:
quoted hunk ↗ jump to hunk
--- 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)).