Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/drivers/
Ddriver_privsep.c21 int priv_socket; member
34 res = sendto(drv->priv_socket, &cmd, sizeof(cmd), 0, in wpa_priv_reg_cmd()
520 drv->priv_socket = -1; in wpa_driver_privsep_init()
532 if (drv->priv_socket >= 0) { in wpa_driver_privsep_deinit()
534 eloop_unregister_read_sock(drv->priv_socket); in wpa_driver_privsep_deinit()
535 close(drv->priv_socket); in wpa_driver_privsep_deinit()
636 drv->priv_socket = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_driver_privsep_set_param()
637 if (drv->priv_socket < 0) { in wpa_driver_privsep_set_param()
647 if (bind(drv->priv_socket, (struct sockaddr *) &addr, sizeof(addr)) < in wpa_driver_privsep_set_param()
652 close(drv->priv_socket); in wpa_driver_privsep_set_param()
[all …]