Home
last modified time | relevance | path

Searched refs:net_mgmt (Results 1 – 25 of 47) sorted by relevance

12

/Zephyr-Core-3.5.0/subsys/net/lib/config/
Dieee802154_settings.c49 if (net_mgmt(NET_REQUEST_IEEE802154_SET_ACK, iface, NULL, 0)) { in z_net_config_ieee802154_setup()
54 if (net_mgmt(NET_REQUEST_IEEE802154_SET_PAN_ID, in z_net_config_ieee802154_setup()
56 net_mgmt(NET_REQUEST_IEEE802154_SET_CHANNEL, in z_net_config_ieee802154_setup()
58 net_mgmt(NET_REQUEST_IEEE802154_SET_TX_POWER, in z_net_config_ieee802154_setup()
64 if (net_mgmt(NET_REQUEST_IEEE802154_SET_SECURITY_SETTINGS, iface, in z_net_config_ieee802154_setup()
Dbt_settings.c55 if (net_mgmt(NET_REQUEST_BT_ADVERTISE, iface, ADV_STR, in z_net_config_bt_setup()
/Zephyr-Core-3.5.0/tests/net/ethernet_mgmt/src/
Dmain.c598 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_MAC_ADDRESS, iface, in change_mac_when_up()
615 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_MAC_ADDRESS, iface, in change_mac_when_down()
642 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_AUTO_NEGOTIATION, iface, in change_auto_neg()
656 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_AUTO_NEGOTIATION, iface, in change_to_same_auto_neg()
678 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_LINK, iface, in change_link_10bt()
692 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_LINK, iface, in change_link_100bt()
706 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_LINK, iface, in change_same_link_100bt()
720 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_LINK, iface, in change_unsupported_link_1000bt()
742 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_DUPLEX, iface, in change_duplex()
756 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_DUPLEX, iface, in change_same_duplex()
[all …]
/Zephyr-Core-3.5.0/subsys/net/l2/bluetooth/
Dbluetooth_shell.c46 if (net_mgmt(NET_REQUEST_BT_CONNECT, iface, &addr, sizeof(addr))) { in shell_cmd_connect()
67 if (net_mgmt(NET_REQUEST_BT_SCAN, iface, argv[1], strlen(argv[1]))) { in shell_cmd_scan()
83 if (net_mgmt(NET_REQUEST_BT_DISCONNECT, iface, NULL, 0)) { in shell_cmd_disconnect()
104 if (net_mgmt(NET_REQUEST_BT_ADVERTISE, iface, argv[1], in shell_cmd_advertise()
/Zephyr-Core-3.5.0/subsys/net/l2/ieee802154/
Dieee802154_shell.c46 net_mgmt(NET_REQUEST_IEEE802154_SET_ACK, iface, NULL, 0); in cmd_ieee802154_ack()
54 net_mgmt(NET_REQUEST_IEEE802154_UNSET_ACK, iface, NULL, 0); in cmd_ieee802154_ack()
116 if (net_mgmt(NET_REQUEST_IEEE802154_ASSOCIATE, iface, in cmd_ieee802154_associate()
146 ret = net_mgmt(NET_REQUEST_IEEE802154_DISASSOCIATE, iface, NULL, 0); in cmd_ieee802154_disassociate()
277 ret = net_mgmt(NET_REQUEST_IEEE802154_ACTIVE_SCAN, iface, in cmd_ieee802154_scan()
280 ret = net_mgmt(NET_REQUEST_IEEE802154_PASSIVE_SCAN, iface, in cmd_ieee802154_scan()
319 if (net_mgmt(NET_REQUEST_IEEE802154_SET_CHANNEL, iface, in cmd_ieee802154_set_chan()
348 if (net_mgmt(NET_REQUEST_IEEE802154_GET_CHANNEL, iface, in cmd_ieee802154_get_chan()
383 if (net_mgmt(NET_REQUEST_IEEE802154_SET_PAN_ID, iface, in cmd_ieee802154_set_pan_id()
412 if (net_mgmt(NET_REQUEST_IEEE802154_GET_PAN_ID, iface, in cmd_ieee802154_get_pan_id()
[all …]
/Zephyr-Core-3.5.0/samples/net/sockets/net_mgmt/
DREADME.rst14 :zephyr_file:`samples/net/sockets/net_mgmt`.
31 :zephyr-app: samples/net/sockets/net_mgmt
40 :zephyr-app: samples/net/sockets/net_mgmt
/Zephyr-Core-3.5.0/subsys/net/l2/wifi/
Dwifi_shell.c425 if (net_mgmt(NET_REQUEST_WIFI_CONNECT, iface, in cmd_wifi_connect()
448 status = net_mgmt(NET_REQUEST_WIFI_DISCONNECT, iface, NULL, 0); in cmd_wifi_disconnect()
610 if (net_mgmt(NET_REQUEST_WIFI_SCAN, iface, &params, sizeof(params))) { in cmd_wifi_scan()
631 if (net_mgmt(NET_REQUEST_WIFI_IFACE_STATUS, iface, &status, in cmd_wifi_status()
704 ret = net_mgmt(NET_REQUEST_STATS_GET_WIFI, iface, in cmd_wifi_stats()
736 if (net_mgmt(NET_REQUEST_WIFI_PS_CONFIG, iface, in cmd_wifi_ps()
793 if (net_mgmt(NET_REQUEST_WIFI_PS, iface, &params, sizeof(params))) { in cmd_wifi_ps()
824 if (net_mgmt(NET_REQUEST_WIFI_PS, iface, &params, sizeof(params))) { in cmd_wifi_ps_mode()
855 if (net_mgmt(NET_REQUEST_WIFI_PS, iface, &params, sizeof(params))) { in cmd_wifi_ps_timeout()
908 if (net_mgmt(NET_REQUEST_WIFI_TWT, iface, &params, sizeof(params))) { in cmd_wifi_twt_setup_quick()
[all …]
/Zephyr-Core-3.5.0/doc/connectivity/networking/api/
Dapis.rst12 net_mgmt.rst
D8021Qav.rst62 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_QAV_PARAM,
86 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_QAV_PARAM,
98 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_QAV_PARAM,
Dnet_mgmt.rst25 macro. Procedure requests are done through a single :c:func:`net_mgmt` API
35 ``net_mgmt(mgmt_request, ...)``. The ``mgmt_request`` parameter is a bit
41 To avoid extra cost, all :c:func:`net_mgmt` calls are direct. Though this
159 net_mgmt(<mgmt_request code>, ...);
167 :zephyr_file:`include/zephyr/net/net_mgmt.h` for details. As for the management request
175 .. doxygengroup:: net_mgmt
/Zephyr-Core-3.5.0/samples/net/stats/src/
Dmain.c119 net_mgmt(NET_REQUEST_STATS_GET_ALL, iface, data, sizeof(*data)); in iface_cb()
150 ret = net_mgmt(NET_REQUEST_STATS_GET_ETHERNET, iface, &eth_data, in eth_iface_cb()
168 net_mgmt(NET_REQUEST_STATS_GET_ALL, NULL, &data, sizeof(data)); in stats()
/Zephyr-Core-3.5.0/samples/net/sockets/echo_server/src/
Dtunnel.c137 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_PEER_ADDRESS, in init_tunnel()
149 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_MTU, in init_tunnel()
/Zephyr-Core-3.5.0/samples/net/virtual/src/
Dmain.c265 ret = net_mgmt( in setup_iface()
279 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_MTU, in setup_iface()
325 ret = net_mgmt( in setup_iface()
339 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_MTU, in setup_iface()
/Zephyr-Core-3.5.0/samples/net/cloud/tagoio_http_post/src/
Dwifi.c70 ret = net_mgmt(NET_REQUEST_WIFI_CONNECT, iface, &cnx_params, in wifi_connect()
/Zephyr-Core-3.5.0/samples/subsys/mgmt/updatehub/src/
Dmain.c137 ret = net_mgmt(NET_REQUEST_WIFI_CONNECT, iface, &cnx_params, in main()
/Zephyr-Core-3.5.0/subsys/net/l2/virtual/
DKconfig18 Enable support net_mgmt virtual interface which can be used to
/Zephyr-Core-3.5.0/tests/net/virtual/src/
Dmain.c657 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_MTU, in ZTEST()
666 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_MTU, in ZTEST()
680 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_GET_MTU, in ZTEST()
711 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_PEER_ADDRESS, in ZTEST()
721 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_PEER_ADDRESS, in ZTEST()
741 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_GET_PEER_ADDRESS, in ZTEST()
824 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_PEER_ADDRESS, in ZTEST()
/Zephyr-Core-3.5.0/samples/net/sockets/txtime/src/
Dmain.c395 (void)net_mgmt(NET_REQUEST_ETHERNET_SET_TXTIME_PARAM, in enable_txtime_for_queues()
450 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_QBV_PARAM, in set_qbv_params()
466 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_QBV_PARAM, iface, in set_qbv_params()
483 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_QBV_PARAM, iface, in set_qbv_params()
/Zephyr-Core-3.5.0/subsys/net/ip/
DCMakeLists.txt25 zephyr_library_sources_ifdef(CONFIG_NET_MGMT_EVENT net_mgmt.c)
/Zephyr-Core-3.5.0/subsys/net/lib/sockets/
Dsockets_net_mgmt.c247 ret = net_mgmt(NET_REQUEST_ETHERNET_GET_QAV_PARAM, in znet_mgmt_getsockopt()
284 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_QAV_PARAM, in znet_mgmt_setsockopt()
/Zephyr-Core-3.5.0/include/zephyr/net/
Dnet_mgmt.h92 #define net_mgmt(_mgmt_request, _iface, _data, _len) \ macro
/Zephyr-Core-3.5.0/tests/net/wifi/wifi_nm/src/
Dmain.c131 if (net_mgmt(NET_REQUEST_WIFI_SCAN, iface, NULL, 0)) { in request_scan()
/Zephyr-Core-3.5.0/tests/net/ieee802154/l2/src/
Dieee802154_test.c215 ret = net_mgmt(NET_REQUEST_IEEE802154_SET_SHORT_ADDR, iface, in disassociate()
235 ret = net_mgmt(NET_REQUEST_IEEE802154_SET_PAN_ID, iface, &mock_pan_id, in associate()
242 ret = net_mgmt(NET_REQUEST_IEEE802154_SET_SHORT_ADDR, iface, &short_addr, in associate()
355 if (net_mgmt(NET_REQUEST_IEEE802154_SET_SECURITY_SETTINGS, net_iface, &params, in set_up_security()
381 if (net_mgmt(NET_REQUEST_IEEE802154_SET_SECURITY_SETTINGS, net_iface, &params, in tear_down_security()
1238 if (net_mgmt(NET_REQUEST_IEEE802154_SET_PAN_ID, net_iface, in initialize_test_environment()
/Zephyr-Core-3.5.0/samples/net/ipv4_autoconf/
DREADME.rst3 :relevant-api: networking net_if net_context net_mgmt
/Zephyr-Core-3.5.0/doc/connectivity/networking/conn_mgr/
Dmain.rst111 * (See the net_mgmt documentation)
122 See :ref:`net_mgmt_listening` for more details on listening for net_mgmt events.
358 /* Declare a net_mgmt callback struct to store the callback */
380 * (See the net_mgmt documentation)
393 See :ref:`net_mgmt_listening` for more details on listening for net_mgmt events.

12