Home
last modified time | relevance | path

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

123

/Zephyr-latest/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()
/Zephyr-latest/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-latest/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()
278 ret = net_mgmt(NET_REQUEST_IEEE802154_ACTIVE_SCAN, iface, in cmd_ieee802154_scan()
281 ret = net_mgmt(NET_REQUEST_IEEE802154_PASSIVE_SCAN, iface, in cmd_ieee802154_scan()
320 if (net_mgmt(NET_REQUEST_IEEE802154_SET_CHANNEL, iface, in cmd_ieee802154_set_chan()
349 if (net_mgmt(NET_REQUEST_IEEE802154_GET_CHANNEL, iface, in cmd_ieee802154_get_chan()
384 if (net_mgmt(NET_REQUEST_IEEE802154_SET_PAN_ID, iface, in cmd_ieee802154_set_pan_id()
413 if (net_mgmt(NET_REQUEST_IEEE802154_GET_PAN_ID, iface, in cmd_ieee802154_get_pan_id()
[all …]
/Zephyr-latest/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-latest/subsys/net/l2/wifi/
Dwifi_shell.c141 if (net_mgmt(NET_REQUEST_WIFI_ENTERPRISE_CREDS, iface, &params, sizeof(params))) { in cmd_wifi_set_enterprise_creds()
489 ret = net_mgmt(NET_REQUEST_WIFI_START_ROAMING, iface, NULL, 0); in handle_wifi_signal_change()
504 ret = net_mgmt(NET_REQUEST_WIFI_NEIGHBOR_REP_COMPLETE, iface, NULL, 0); in handle_wifi_neighbor_rep_complete()
925 ret = net_mgmt(NET_REQUEST_WIFI_CONNECT, iface, in cmd_wifi_connect()
947 status = net_mgmt(NET_REQUEST_WIFI_DISCONNECT, iface, NULL, 0); in cmd_wifi_disconnect()
1104 if (net_mgmt(NET_REQUEST_WIFI_SCAN, iface, &params, sizeof(params))) { in cmd_wifi_scan()
1125 if (net_mgmt(NET_REQUEST_WIFI_IFACE_STATUS, iface, &status, in cmd_wifi_status()
1171 if (net_mgmt(NET_REQUEST_WIFI_IFACE_STATUS, iface, &status, in cmd_wifi_ap_status()
1263 ret = net_mgmt(NET_REQUEST_STATS_GET_WIFI, iface, in cmd_wifi_stats()
1272 ret = net_mgmt(NET_REQUEST_STATS_RESET_WIFI, iface, in cmd_wifi_stats()
[all …]
/Zephyr-latest/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
199 net_mgmt(<mgmt_request code>, ...);
207 :zephyr_file:`include/zephyr/net/net_mgmt.h` for details. As for the management request
215 .. doxygengroup:: net_mgmt
/Zephyr-latest/tests/boards/espressif/wifi/src/
Dmain.c152 int ret = net_mgmt(NET_REQUEST_WIFI_SCAN, wifi_ctx.iface, NULL, 0); in wifi_scan()
189 ret = net_mgmt(NET_REQUEST_WIFI_CONNECT, wifi_ctx.iface, &params, in wifi_connect()
206 ret = net_mgmt(NET_REQUEST_WIFI_DISCONNECT, wifi_ctx.iface, NULL, 0); in wifi_disconnect()
220 net_mgmt(NET_REQUEST_WIFI_IFACE_STATUS, wifi_ctx.iface, &status, in wifi_state()
/Zephyr-latest/subsys/net/ip/
DCMakeLists.txt25 zephyr_library_sources_ifdef(CONFIG_NET_MGMT_EVENT net_mgmt.c)
44 zephyr_library_sources_ifdef(CONFIG_NET_MGMT_EVENT net_mgmt.c)
/Zephyr-latest/samples/net/sockets/echo_server/src/
Dtunnel.c144 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_PEER_ADDRESS, in init_tunnel()
156 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_MTU, in init_tunnel()
/Zephyr-latest/samples/net/wifi/apsta_mode/src/
Dmain.c137 int ret = net_mgmt(NET_REQUEST_WIFI_AP_ENABLE, ap_iface, &ap_config, in enable_ap_mode()
163 int ret = net_mgmt(NET_REQUEST_WIFI_CONNECT, sta_iface, &sta_config, in connect_to_wifi()
/Zephyr-latest/samples/net/stats/src/
Dmain.c132 net_mgmt(NET_REQUEST_STATS_GET_ALL, iface, data, sizeof(*data)); in iface_cb()
163 ret = net_mgmt(NET_REQUEST_STATS_GET_ETHERNET, iface, &eth_data, in eth_iface_cb()
181 net_mgmt(NET_REQUEST_STATS_GET_ALL, NULL, &data, sizeof(data)); in stats()
/Zephyr-latest/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()
327 ret = net_mgmt( in setup_iface()
341 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_MTU, in setup_iface()
/Zephyr-latest/samples/net/cloud/tagoio_http_post/src/
Dwifi.c70 ret = net_mgmt(NET_REQUEST_WIFI_CONNECT, iface, &cnx_params, in wifi_connect()
/Zephyr-latest/samples/subsys/mgmt/updatehub/src/
Dmain.c132 ret = net_mgmt(NET_REQUEST_WIFI_CONNECT, iface, &cnx_params, in main()
/Zephyr-latest/subsys/net/l2/virtual/
DKconfig18 Enable support net_mgmt virtual interface which can be used to
/Zephyr-latest/tests/net/virtual/src/
Dmain.c666 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_MTU, in ZTEST()
675 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_MTU, in ZTEST()
689 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_GET_MTU, in ZTEST()
720 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_PEER_ADDRESS, in ZTEST()
730 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_PEER_ADDRESS, in ZTEST()
756 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_GET_PEER_ADDRESS, in ZTEST()
848 ret = net_mgmt(NET_REQUEST_VIRTUAL_INTERFACE_SET_PEER_ADDRESS, in ZTEST()
/Zephyr-latest/samples/net/sockets/txtime/src/
Dmain.c403 (void)net_mgmt(NET_REQUEST_ETHERNET_SET_TXTIME_PARAM, in enable_txtime_for_queues()
458 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_QBV_PARAM, in set_qbv_params()
474 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_QBV_PARAM, iface, in set_qbv_params()
491 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_QBV_PARAM, iface, in set_qbv_params()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_net_mgmt.c243 ret = net_mgmt(NET_REQUEST_ETHERNET_GET_QAV_PARAM, in znet_mgmt_getsockopt()
280 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_QAV_PARAM, in znet_mgmt_setsockopt()
/Zephyr-latest/tests/net/wifi/wifi_nm/src/
Dmain.c131 if (net_mgmt(NET_REQUEST_WIFI_SCAN, iface, NULL, 0)) { in request_scan()
/Zephyr-latest/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()
1236 if (net_mgmt(NET_REQUEST_IEEE802154_SET_PAN_ID, net_iface, in initialize_test_environment()
/Zephyr-latest/include/zephyr/net/
Dnet_mgmt.h103 #define net_mgmt(_mgmt_request, _iface, _data, _len) \ macro
/Zephyr-latest/samples/net/ipv4_autoconf/
DREADME.rst3 :relevant-api: networking net_if net_context net_mgmt
/Zephyr-latest/subsys/net/lib/shell/
Diface.c280 ret = net_mgmt(NET_REQUEST_ETHERNET_GET_PRIORITY_QUEUES_NUM, in iface_cb()
291 ret = net_mgmt( in iface_cb()
610 ret = net_mgmt(NET_REQUEST_ETHERNET_SET_MAC_ADDRESS, iface, &params, sizeof(params)); in cmd_net_set_mac()

123