/external/wpa_supplicant_8/src/drivers/ |
driver_privsep.c | 21 int priv_socket; member in struct:wpa_driver_privsep_data 34 res = sendto(drv->priv_socket, &cmd, sizeof(cmd), 0, 453 perror("recvfrom(priv_socket)"); 525 drv->priv_socket = -1; 537 if (drv->priv_socket >= 0) { 539 eloop_unregister_read_sock(drv->priv_socket); 540 close(drv->priv_socket); 641 drv->priv_socket = socket(PF_UNIX, SOCK_DGRAM, 0); 642 if (drv->priv_socket < 0) { 652 if (bind(drv->priv_socket, (struct sockaddr *) &addr, sizeof(addr)) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_privsep.c | 27 int priv_socket; member in struct:wpa_driver_privsep_data 40 res = sendto(drv->priv_socket, &cmd, sizeof(cmd), 0, 480 perror("recvfrom(priv_socket)"); 556 drv->priv_socket = -1; 568 if (drv->priv_socket >= 0) { 570 eloop_unregister_read_sock(drv->priv_socket); 571 close(drv->priv_socket); 672 drv->priv_socket = socket(PF_UNIX, SOCK_DGRAM, 0); 673 if (drv->priv_socket < 0) { 683 if (bind(drv->priv_socket, (struct sockaddr *) &addr, sizeof(addr)) [all...] |