Lines Matching defs:operstate
171 LinkOperationalState operstate;
175 operstate = LINK_OPERSTATE_DORMANT;
190 /* for operstate we also take foreign addresses into account */
201 operstate = LINK_OPERSTATE_ROUTABLE;
204 operstate = LINK_OPERSTATE_DEGRADED;
207 operstate = LINK_OPERSTATE_CARRIER;
209 operstate = LINK_OPERSTATE_NO_CARRIER;
211 operstate = LINK_OPERSTATE_OFF;
213 if (link->operstate != operstate) {
214 link->operstate = operstate;
228 uint8_t operstate;
237 r = sd_netlink_message_read_u8(m, IFLA_OPERSTATE, &operstate);
239 /* if we got a message without operstate, take it to mean
241 operstate = link->kernel_operstate;
243 if ((link->flags == flags) && (link->kernel_operstate == operstate))
291 link->kernel_operstate = operstate;
1334 /* operstate may not be implemented, so fall back to flags */
2714 oper_state = link_operstate_to_string(link->operstate);