Lines Matching refs:to
6 <dev> up or down" and reflects whether the administrator wants to use
10 - ethernet requires to be plugged into the switch and, depending on
12 to be performed before user data can be transferred. Operational state
13 shows the ability of an interface to transmit this user data.
15 Thanks to 802.1X, userspace must be granted the possibility to
25 operation RTM_GETLINK. It is also possible to subscribe to RTMGRP_LINK
26 to be notified of updates. This is important for setting from userspace.
35 flag to determine whether they should use the interface.
53 Interface is unable to transfer data on L1, f.e. ethernet is not
62 protocol to establish. (802.1X)
78 Kernel drivers have access to two flags that map to IFF_LOWER_UP and
82 the driver has to provide the synchronisation needed.
84 __LINK_STATE_NOCARRIER, maps to !IFF_LOWER_UP:
86 The driver uses netif_carrier_on() to clear and netif_carrier_off() to
92 real hardware, it is possible to set this bit from userspace. One
93 should use TVL IFLA_CARRIER to do so.
95 netif_carrier_ok() can be used to query that bit.
97 __LINK_STATE_DORMANT, maps to IFF_DORMANT:
99 Set by the driver to express that the device cannot yet be used
100 because some driver controlled protocol establishment has to
101 complete. Corresponding functions are netif_dormant_on() to set the
102 flag, netif_dormant_off() to clear it and netif_dormant() to query.
104 On device allocation, networking core sets the flags equivalent to
109 scheduled to translate the flag combination to IFLA_OPERSTATE as
122 IF_OPER_DORMANT with the possibility for userspace to initiate the
128 Applications have to use the netlink interface to influence the
129 RFC2863 operational state of an interface. Setting IFLA_LINKMODE to 1
130 via RTM_SETLINK instructs the kernel that an interface should go to
134 to IF_OPER_DORMANT or IF_OPER_UP as long as the driver does not set
140 -subscribe to RTMGRP_LINK
141 -set IFLA_LINKMODE to 1 via RTM_SETLINK
142 -query RTM_GETLINK once to get initial state
146 -send RTM_SETLINK to set operstate to IF_OPER_UP if authentication
149 -set interface back to IF_OPER_DORMANT if 802.1X reauthentication
153 if supplicant goes down, bring back IFLA_LINKMODE to 0 and
154 IFLA_OPERSTATE to a sane value.
156 A routing daemon or dhcp client just needs to care for IFF_RUNNING or
157 waiting for operstate to go IF_OPER_UP/IF_OPER_UNKNOWN before
161 For technical questions and/or comments please e-mail to Stefan Rompf