Home
last modified time | relevance | path

Searched refs:monitor_sock (Results 1 – 3 of 3) sorted by relevance

/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_monitor.c333 if (drv->monitor_sock >= 0) { in nl80211_remove_monitor_interface()
334 eloop_unregister_read_sock(drv->monitor_sock); in nl80211_remove_monitor_interface()
335 close(drv->monitor_sock); in nl80211_remove_monitor_interface()
336 drv->monitor_sock = -1; in nl80211_remove_monitor_interface()
404 drv->monitor_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in nl80211_create_monitor_interface()
405 if (drv->monitor_sock < 0) { in nl80211_create_monitor_interface()
411 if (add_monitor_filter(drv->monitor_sock)) { in nl80211_create_monitor_interface()
417 if (bind(drv->monitor_sock, (struct sockaddr *) &ll, sizeof(ll)) < 0) { in nl80211_create_monitor_interface()
426 (drv->monitor_sock, SOL_SOCKET, SO_PRIORITY, &optval, optlen)) { in nl80211_create_monitor_interface()
432 if (eloop_register_read_sock(drv->monitor_sock, handle_monitor_read, in nl80211_create_monitor_interface()
[all …]
Ddriver_nl80211.h131 int monitor_sock; member
Ddriver_nl80211.c2028 drv->monitor_sock = -1; in wpa_driver_nl80211_drv_init()
8810 drv->monitor_sock, in wpa_driver_nl80211_status()