/Zephyr-latest/include/zephyr/net/ |
D | net_mgmt.h | 53 #define NET_MGMT_EVENT(mgmt_request) \ argument 54 (mgmt_request & NET_MGMT_EVENT_MASK) 56 #define NET_MGMT_ON_IFACE(mgmt_request) \ argument 57 (mgmt_request & NET_MGMT_ON_IFACE_MASK) 59 #define NET_MGMT_EVENT_SYNCHRONOUS(mgmt_request) \ argument 60 (mgmt_request & NET_MGMT_SYNC_EVENT_MASK) 62 #define NET_MGMT_GET_LAYER(mgmt_request) \ argument 63 ((mgmt_request & NET_MGMT_LAYER_MASK) >> 28) 65 #define NET_MGMT_GET_LAYER_CODE(mgmt_request) \ argument 66 ((mgmt_request & NET_MGMT_LAYER_CODE_MASK) >> 16) [all …]
|
/Zephyr-latest/subsys/net/l2/virtual/ |
D | virtual_mgmt.c | 16 static int virtual_interface_set_config(uint32_t mgmt_request, in virtual_interface_set_config() argument 39 if (mgmt_request == NET_REQUEST_VIRTUAL_INTERFACE_SET_PEER_ADDRESS) { in virtual_interface_set_config() 49 } else if (mgmt_request == NET_REQUEST_VIRTUAL_INTERFACE_SET_MTU) { in virtual_interface_set_config() 58 } else if (mgmt_request == NET_REQUEST_VIRTUAL_INTERFACE_SET_LINK_TYPE) { in virtual_interface_set_config() 80 static int virtual_interface_get_config(uint32_t mgmt_request, in virtual_interface_get_config() argument 104 if (mgmt_request == NET_REQUEST_VIRTUAL_INTERFACE_GET_PEER_ADDRESS) { in virtual_interface_get_config() 116 } else if (mgmt_request == NET_REQUEST_VIRTUAL_INTERFACE_GET_MTU) { in virtual_interface_get_config() 126 } else if (mgmt_request == NET_REQUEST_VIRTUAL_INTERFACE_GET_LINK_TYPE) { in virtual_interface_get_config()
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | ethernet_mgmt.c | 28 static int ethernet_set_config(uint32_t mgmt_request, in ethernet_set_config() argument 50 if (mgmt_request == NET_REQUEST_ETHERNET_SET_AUTO_NEGOTIATION) { in ethernet_set_config() 58 } else if (mgmt_request == NET_REQUEST_ETHERNET_SET_LINK) { in ethernet_set_config() 85 } else if (mgmt_request == NET_REQUEST_ETHERNET_SET_DUPLEX) { in ethernet_set_config() 92 } else if (mgmt_request == NET_REQUEST_ETHERNET_SET_MAC_ADDRESS) { in ethernet_set_config() 117 } else if (mgmt_request == NET_REQUEST_ETHERNET_SET_QAV_PARAM) { in ethernet_set_config() 141 } else if (mgmt_request == NET_REQUEST_ETHERNET_SET_QBV_PARAM) { in ethernet_set_config() 161 } else if (mgmt_request == NET_REQUEST_ETHERNET_SET_QBU_PARAM) { in ethernet_set_config() 177 } else if (mgmt_request == NET_REQUEST_ETHERNET_SET_TXTIME_PARAM) { in ethernet_set_config() 189 } else if (mgmt_request == NET_REQUEST_ETHERNET_SET_PROMISC_MODE) { in ethernet_set_config() [all …]
|
D | ethernet_stats.c | 20 static int eth_stats_get(uint32_t mgmt_request, struct net_if *iface, in eth_stats_get() argument 27 switch (NET_MGMT_GET_COMMAND(mgmt_request)) { in eth_stats_get()
|
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154_mgmt.c | 77 static int ieee802154_cancel_scan(uint32_t mgmt_request, struct net_if *iface, in ieee802154_cancel_scan() argument 97 static int ieee802154_scan(uint32_t mgmt_request, struct net_if *iface, in ieee802154_scan() argument 114 mgmt_request == NET_REQUEST_IEEE802154_ACTIVE_SCAN ? in ieee802154_scan() 124 if (mgmt_request == NET_REQUEST_IEEE802154_ACTIVE_SCAN) { in ieee802154_scan() 180 if (mgmt_request == NET_REQUEST_IEEE802154_ACTIVE_SCAN) { in ieee802154_scan() 440 static int ieee802154_associate(uint32_t mgmt_request, struct net_if *iface, in ieee802154_associate() argument 634 static int ieee802154_disassociate(uint32_t mgmt_request, struct net_if *iface, in ieee802154_disassociate() argument 709 static int ieee802154_set_ack(uint32_t mgmt_request, struct net_if *iface, in ieee802154_set_ack() argument 719 if (mgmt_request == NET_REQUEST_IEEE802154_SET_ACK) { in ieee802154_set_ack() 721 } else if (mgmt_request == NET_REQUEST_IEEE802154_UNSET_ACK) { in ieee802154_set_ack() [all …]
|
/Zephyr-latest/subsys/net/l2/wifi/ |
D | wifi_mgmt.c | 337 static int wifi_connect(uint32_t mgmt_request, struct net_if *iface, in wifi_connect() argument 411 static int wifi_scan(uint32_t mgmt_request, struct net_if *iface, in wifi_scan() argument 436 static int wifi_disconnect(uint32_t mgmt_request, struct net_if *iface, in wifi_disconnect() argument 474 static int wifi_start_roaming(uint32_t mgmt_request, struct net_if *iface, in wifi_start_roaming() argument 512 static int wifi_neighbor_rep_complete(uint32_t mgmt_request, struct net_if *iface, in wifi_neighbor_rep_complete() argument 603 static int wifi_ap_enable(uint32_t mgmt_request, struct net_if *iface, in wifi_ap_enable() argument 620 static int wifi_ap_disable(uint32_t mgmt_request, struct net_if *iface, in wifi_ap_disable() argument 635 static int wifi_ap_sta_disconnect(uint32_t mgmt_request, struct net_if *iface, in wifi_ap_sta_disconnect() argument 659 static int wifi_ap_config_params(uint32_t mgmt_request, struct net_if *iface, in wifi_ap_config_params() argument 693 static int wifi_ap_set_rts_threshold(uint32_t mgmt_request, struct net_if *iface, in wifi_ap_set_rts_threshold() argument [all …]
|
/Zephyr-latest/subsys/net/l2/ppp/ |
D | ppp_stats.c | 20 static int ppp_stats_get(uint32_t mgmt_request, struct net_if *iface, in ppp_stats_get() argument 27 if (NET_MGMT_GET_COMMAND(mgmt_request) == in ppp_stats_get()
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | net_mgmt.rst | 35 ``net_mgmt(mgmt_request, ...)``. The ``mgmt_request`` parameter is a bit 173 associated mgmt_request code. 189 and then register it with an associated mgmt_request code: 193 NET_MGMT_REGISTER_REQUEST_HANDLER(<mgmt_request code>, your_handler); 199 net_mgmt(<mgmt_request code>, ...);
|
/Zephyr-latest/subsys/net/ip/ |
D | net_stats.c | 255 static int net_stats_get(uint32_t mgmt_request, struct net_if *iface, in net_stats_get() argument 261 switch (NET_MGMT_GET_COMMAND(mgmt_request)) { in net_stats_get()
|
/Zephyr-latest/tests/net/mgmt/src/ |
D | mgmt.c | 52 static int test_mgmt_request(uint32_t mgmt_request, in test_mgmt_request() argument
|