/Zephyr-latest/modules/hostap/src/ |
D | supp_main.c | 254 struct wpa_supplicant *zephyr_get_handle_by_ifname(const char *ifname) in zephyr_get_handle_by_ifname() argument 259 wpa_s = wpa_supplicant_get_iface(ctx->supplicant, ifname); in zephyr_get_handle_by_ifname() 261 wpa_printf(MSG_ERROR, "%s: Unable to get wpa_s handle for %s\n", __func__, ifname); in zephyr_get_handle_by_ifname() 269 struct hostapd_iface *zephyr_get_hapd_handle_by_ifname(const char *ifname) in zephyr_get_hapd_handle_by_ifname() argument 274 hapd = hostapd_get_iface(&ctx->hostapd, ifname); in zephyr_get_hapd_handle_by_ifname() 276 wpa_printf(MSG_ERROR, "%s: Unable to get hapd handle for %s\n", __func__, ifname); in zephyr_get_hapd_handle_by_ifname() 300 char ifname[IFNAMSIZ + 1] = { 0 }; in add_interface() local 303 ret = net_if_get_name(iface, ifname, sizeof(ifname) - 1); in add_interface() 309 LOG_DBG("Adding interface %s [%d] (%p)", ifname, net_if_get_by_iface(iface), iface); in add_interface() 312 ifname, "zephyr", "zephyr", "zephyr"); in add_interface() [all …]
|
D | supp_events.c | 218 return supplicant_send_wifi_mgmt_event(wpa_s->ifname, in supplicant_send_wifi_mgmt_conn_event() 248 return supplicant_send_wifi_mgmt_event(wpa_s->ifname, in supplicant_send_wifi_mgmt_disc_event() 314 char *ifname = iface->conf->bss[0]->iface; in supplicant_send_wifi_mgmt_ap_status() local 317 char *ifname = wpa_s->ifname; in supplicant_send_wifi_mgmt_ap_status() 321 return supplicant_send_wifi_mgmt_event(ifname, in supplicant_send_wifi_mgmt_ap_status() 334 char *ifname = ap_ctx->bss[0]->conf->iface; in supplicant_send_wifi_mgmt_ap_sta_event() local 337 char *ifname = ap_ctx->ifname; in supplicant_send_wifi_mgmt_ap_sta_event() local 352 return supplicant_send_wifi_mgmt_event(ifname, in supplicant_send_wifi_mgmt_ap_sta_event() 359 int supplicant_send_wifi_mgmt_event(const char *ifname, enum net_event_wifi_cmd event, in supplicant_send_wifi_mgmt_event() argument 362 struct net_if *iface = net_if_get_by_index(net_if_get_by_name(ifname)); in supplicant_send_wifi_mgmt_event() [all …]
|
D | supp_main.h | 54 struct wpa_supplicant *zephyr_get_handle_by_ifname(const char *ifname); 60 struct hostapd_iface *zephyr_get_hapd_handle_by_ifname(const char *ifname);
|
D | supp_events.h | 48 int supplicant_send_wifi_mgmt_event(const char *ifname, 52 int supplicant_generate_state_event(const char *ifname,
|
D | supp_api.c | 225 supplicant_send_wifi_mgmt_event(wpa_s->ifname, in supp_shell_connect_status()
|
/Zephyr-latest/include/zephyr/posix/net/ |
D | if.h | 24 char *if_indextoname(unsigned int ifindex, char *ifname); 27 unsigned int if_nametoindex(const char *ifname);
|
/Zephyr-latest/drivers/wifi/nrf_wifi/inc/ |
D | fmac_main.h | 56 char ifname[16]; member 91 const char *ifname; member
|
D | wpa_supp_if.h | 54 const unsigned char *ifname,
|
/Zephyr-latest/lib/posix/options/ |
D | net.c | 99 char *if_indextoname(unsigned int ifindex, char *ifname) in if_indextoname() argument 103 ret = net_if_get_name(net_if_get_by_index(ifindex), ifname, IF_NAMESIZE); in if_indextoname() 109 return ifname; in if_indextoname() 168 unsigned int if_nametoindex(const char *ifname) in if_nametoindex() argument 172 ret = net_if_get_by_name(ifname); in if_nametoindex()
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | iface.c | 188 char ifname[CONFIG_NET_INTERFACE_NAME_LEN + 1] = { 0 }; in iface_cb() local 191 ret_name = net_if_get_name(iface, ifname, sizeof(ifname) - 1); in iface_cb() 192 if (ret_name < 1 || ifname[0] == '\0') { in iface_cb() 193 snprintk(ifname, sizeof(ifname), "?"); in iface_cb() 196 PR("\nInterface %s (%p) (%s) [%d]\n", ifname, iface, iface2str(iface, &extra), in iface_cb()
|
/Zephyr-latest/tests/net/vlan/src/ |
D | main.c | 900 char ifname[CONFIG_NET_INTERFACE_NAME_LEN]; in ZTEST() local 932 ret = net_if_get_name(iface, ifname, sizeof(ifname)); in ZTEST() 935 strncpy(ifreq.ifr_name, ifname, sizeof(ifreq.ifr_name)); in ZTEST()
|
/Zephyr-latest/cmake/modules/ |
D | kernel.cmake | 195 …-nic tap,model=${CONFIG_ETH_NIC_MODEL},script=no,downscript=no,ifname=${CONFIG_ETH_QEMU_IFACE_NAME…
|
/Zephyr-latest/tests/net/socket/udp/src/ |
D | main.c | 1961 char ifname[CONFIG_NET_INTERFACE_NAME_LEN]; in test_check_ttl() local 1977 ret = net_if_get_name(lo0, ifname, sizeof(ifname)); in test_check_ttl() 1980 strncpy(ifreq.ifr_name, ifname, sizeof(ifreq.ifr_name)); in test_check_ttl()
|
/Zephyr-latest/drivers/wifi/nrf_wifi/src/ |
D | net_if.c | 805 memcpy(vif_ctx_zep->ifname, in nrf_wifi_if_start_zep()
|
D | wpa_supp_if.c | 948 int nrf_wifi_wpa_supp_set_key(void *if_priv, const unsigned char *ifname, enum wpa_alg alg, in nrf_wifi_wpa_supp_set_key() argument 962 if ((!if_priv) || (!ifname)) { in nrf_wifi_wpa_supp_set_key()
|