Searched full:operstate (Results 1 – 15 of 15) sorted by relevance
| /linux/tools/testing/selftests/net/ |
| H A D | vlan_bridge_binding.sh | 51 local operstate=$(ip -j link show $dev | jq -r .[].operstate) 52 if [[ $operstate == UP ]]; then 53 operstate=1 54 elif [[ $operstate == DOWN || $operstate == LOWERLAYERDOWN ]]; then 55 operstate=0 57 echo -n $operstate 58 [[ $operstate == $expect ]] 65 local operstate 67 operstate=$(busywait 2000 \ 69 check_err $? "Got operstate of $operstate, expected $expect"
|
| H A D | rtnetlink.sh | 1611 end_test "FAIL: operstate" 1615 end_test "PASS: operstate"
|
| /linux/drivers/dpll/zl3073x/ |
| H A D | dpll.c | 42 * @operstate: last saved operational state 59 enum dpll_pin_operstate operstate; member 378 if (pin->operstate != DPLL_PIN_OPERSTATE_ACTIVE) in zl3073x_dpll_input_pin_ffo_get() 597 * @operstate: place to store operational state 607 enum dpll_pin_operstate *operstate) in zl3073x_dpll_ref_operstate_get() argument 620 *operstate = DPLL_PIN_OPERSTATE_ACTIVE; in zl3073x_dpll_ref_operstate_get() 627 *operstate = DPLL_PIN_OPERSTATE_NO_SIGNAL; in zl3073x_dpll_ref_operstate_get() 629 *operstate = DPLL_PIN_OPERSTATE_QUAL_FAILED; in zl3073x_dpll_ref_operstate_get() 631 *operstate = DPLL_PIN_OPERSTATE_STANDBY; in zl3073x_dpll_ref_operstate_get() 681 enum dpll_pin_operstate *operstate, in zl3073x_dpll_input_pin_operstate_on_dpll_get() argument [all …]
|
| /linux/Documentation/networking/ |
| H A D | operstates.rst | 171 - send RTM_SETLINK to set operstate to IF_OPER_UP if authentication 173 - see how operstate and IFF_RUNNING is echoed via netlink multicast 182 waiting for operstate to go IF_OPER_UP/IF_OPER_UNKNOWN before
|
| /linux/Documentation/netlink/specs/ |
| H A D | dpll.yaml | 227 name: pin-operstate 539 name: operstate 541 enum: pin-operstate 545 operstate reflects the actual hardware status. 560 name: operstate
|
| H A D | rt-link.yaml | 909 name: operstate 2453 - operstate 2508 - operstate
|
| /linux/net/core/ |
| H A D | net-sysfs.c | 440 unsigned char operstate; in operstate_show() local 442 operstate = READ_ONCE(netdev->operstate); in operstate_show() 444 operstate = IF_OPER_DOWN; in operstate_show() 446 if (operstate >= ARRAY_SIZE(operstates)) in operstate_show() 449 return sysfs_emit(buf, "%s\n", operstates[operstate]); in operstate_show() 451 static DEVICE_ATTR_RO(operstate);
|
| H A D | rtnetlink.c | 1086 unsigned int old = READ_ONCE(dev->operstate); in netif_set_operstate() 1091 } while (!try_cmpxchg(&dev->operstate, &old, newstate)); in netif_set_operstate() 1099 unsigned char operstate = READ_ONCE(dev->operstate); in set_operstate() local 1103 if ((operstate == IF_OPER_DORMANT || in set_operstate() 1104 operstate == IF_OPER_TESTING || in set_operstate() 1105 operstate == IF_OPER_UNKNOWN) && in set_operstate() 1107 operstate = IF_OPER_UP; in set_operstate() 1112 operstate = IF_OPER_TESTING; in set_operstate() 1117 operstate = IF_OPER_DORMANT; in set_operstate() 1121 netif_set_operstate(dev, operstate); in set_operstate() [all …]
|
| H A D | dev.c | 11187 * netif_stacked_transfer_operstate - transfer operstate 11189 * @dev: the device to transfer operstate to 11198 if (rootdev->operstate == IF_OPER_DORMANT) in netif_stacked_transfer_operstate() 11203 if (rootdev->operstate == IF_OPER_TESTING) in netif_stacked_transfer_operstate()
|
| /linux/tools/testing/selftests/drivers/net/hw/lib/py/ |
| H A D | linkconfig.py | |
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-net | 244 What: /sys/class/net/<iface>/operstate
|
| /linux/drivers/dpll/ |
| H A D | dpll_netlink.c | 339 enum dpll_pin_operstate operstate; in dpll_msg_add_pin_operstate() local 347 &operstate, extack); in dpll_msg_add_pin_operstate() 350 if (nla_put_u32(msg, DPLL_A_PIN_OPERSTATE, operstate)) in dpll_msg_add_pin_operstate()
|
| /linux/include/linux/ |
| H A D | netdevice.h | 1913 * @operstate: RFC2863 operstate 1914 * @link_mode: Mapping policy to operstate 2316 unsigned int operstate; member 4740 unsigned int operstate = READ_ONCE(dev->operstate); in netif_oper_up() local 4742 return operstate == IF_OPER_UP || in netif_oper_up() 4743 operstate == IF_OPER_UNKNOWN /* backward compat */; in netif_oper_up()
|
| /linux/drivers/net/ |
| H A D | vrf.c | 1100 dev->operstate = IF_OPER_UP; in vrf_dev_init()
|
| /linux/net/ipv6/ |
| H A D | addrconf.c | 6129 netif_running(dev) ? READ_ONCE(dev->operstate) : IF_OPER_DOWN)) in inet6_fill_ifinfo()
|