Searched refs:monitor_sock (Results 1 – 3 of 3) sorted by relevance
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_monitor.c | 336 if (drv->monitor_sock >= 0) { in nl80211_remove_monitor_interface() 337 eloop_unregister_read_sock(drv->monitor_sock); in nl80211_remove_monitor_interface() 338 close(drv->monitor_sock); in nl80211_remove_monitor_interface() 339 drv->monitor_sock = -1; in nl80211_remove_monitor_interface() 407 drv->monitor_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in nl80211_create_monitor_interface() 408 if (drv->monitor_sock < 0) { in nl80211_create_monitor_interface() 414 if (add_monitor_filter(drv->monitor_sock)) { in nl80211_create_monitor_interface() 420 if (bind(drv->monitor_sock, (struct sockaddr *) &ll, sizeof(ll)) < 0) { in nl80211_create_monitor_interface() 429 (drv->monitor_sock, SOL_SOCKET, SO_PRIORITY, &optval, optlen)) { in nl80211_create_monitor_interface() 435 if (eloop_register_read_sock(drv->monitor_sock, handle_monitor_read, in nl80211_create_monitor_interface() [all …]
|
D | driver_nl80211.h | 136 int monitor_sock; member
|
D | driver_nl80211.c | 2193 drv->monitor_sock = -1; in wpa_driver_nl80211_drv_init() 9722 drv->monitor_sock, in wpa_driver_nl80211_status()
|