Searched refs:operstate (Results 1 – 6 of 6) sorted by relevance
55 unsigned char operstate = default_operstate(dev); in rfc2863_policy() local57 if (operstate == dev->operstate) in rfc2863_policy()64 if (operstate == IF_OPER_UP) in rfc2863_policy()65 operstate = IF_OPER_DORMANT; in rfc2863_policy()73 dev->operstate = operstate; in rfc2863_policy()
260 unsigned char operstate; in operstate_show() local263 operstate = netdev->operstate; in operstate_show()265 operstate = IF_OPER_DOWN; in operstate_show()268 if (operstate >= ARRAY_SIZE(operstates)) in operstate_show()271 return sprintf(buf, "%s\n", operstates[operstate]); in operstate_show()273 static DEVICE_ATTR_RO(operstate);
713 unsigned char operstate = dev->operstate; in set_operstate() local717 if ((operstate == IF_OPER_DORMANT || in set_operstate()718 operstate == IF_OPER_UNKNOWN) && in set_operstate()720 operstate = IF_OPER_UP; in set_operstate()724 if (operstate == IF_OPER_UP || in set_operstate()725 operstate == IF_OPER_UNKNOWN) in set_operstate()726 operstate = IF_OPER_DORMANT; in set_operstate()730 if (dev->operstate != operstate) { in set_operstate()732 dev->operstate = operstate; in set_operstate()999 netif_running(dev) ? dev->operstate : IF_OPER_DOWN) || in rtnl_fill_ifinfo()[all …]
6100 if (rootdev->operstate == IF_OPER_DORMANT) in netif_stacked_transfer_operstate()
40 if (dev->operstate != transition) { in __hsr_set_operstate()41 dev->operstate = transition; in __hsr_set_operstate()93 if ((hsr_dev->operstate == IF_OPER_UP) && (old_operstate != IF_OPER_UP)) { in hsr_check_announce()101 if ((hsr_dev->operstate != IF_OPER_UP) && (old_operstate == IF_OPER_UP)) in hsr_check_announce()116 old_operstate = master->dev->operstate; in hsr_check_carrier_and_operstate()
81 u8 operstate = netif_running(dev) ? dev->operstate : IF_OPER_DOWN; in br_fill_ifinfo() local106 nla_put_u8(skb, IFLA_OPERSTATE, operstate) || in br_fill_ifinfo()