diff options
author | Jiri Pirko <jiri@resnulli.us> | 2012-12-27 18:49:39 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-28 18:24:18 -0500 |
commit | 9a57247f31e361f80508c40363366222dbbb6aa5 (patch) | |
tree | e125345af6ec8fc6e2788fc694141a38feb6f249 /Documentation/networking/operstates.txt | |
parent | fdae0fde5352790030d89edd09f1b43b9bed97f8 (diff) |
rtnl: expose carrier value with possibility to set it
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/operstates.txt')
-rw-r--r-- | Documentation/networking/operstates.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/networking/operstates.txt b/Documentation/networking/operstates.txt index 1a77a3cfae54..97694572338b 100644 --- a/Documentation/networking/operstates.txt +++ b/Documentation/networking/operstates.txt | |||
@@ -88,6 +88,10 @@ set this flag. On netif_carrier_off(), the scheduler stops sending | |||
88 | packets. The name 'carrier' and the inversion are historical, think of | 88 | packets. The name 'carrier' and the inversion are historical, think of |
89 | it as lower layer. | 89 | it as lower layer. |
90 | 90 | ||
91 | Note that for certain kind of soft-devices, which are not managing any | ||
92 | real hardware, there is possible to set this bit from userpsace. | ||
93 | One should use TVL IFLA_CARRIER to do so. | ||
94 | |||
91 | netif_carrier_ok() can be used to query that bit. | 95 | netif_carrier_ok() can be used to query that bit. |
92 | 96 | ||
93 | __LINK_STATE_DORMANT, maps to IFF_DORMANT: | 97 | __LINK_STATE_DORMANT, maps to IFF_DORMANT: |