Searched refs:dhcp_sock (Results 1 - 3 of 3) sorted by relevance
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_wired.c | 53 int dhcp_sock; /* socket for dhcp packets */ member in struct:wpa_driver_wired_data 265 if ((drv->dhcp_sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) { 271 if (eloop_register_read_sock(drv->dhcp_sock, handle_dhcp, drv->ctx, 282 if (setsockopt(drv->dhcp_sock, SOL_SOCKET, SO_REUSEADDR, (char *) &n, 288 if (setsockopt(drv->dhcp_sock, SOL_SOCKET, SO_BROADCAST, (char *) &n, 297 if (setsockopt(drv->dhcp_sock, SOL_SOCKET, SO_BINDTODEVICE, 305 if (bind(drv->dhcp_sock, (struct sockaddr *) &addr2, 392 if (drv->dhcp_sock >= 0) { 393 eloop_unregister_read_sock(drv->dhcp_sock); 394 close(drv->dhcp_sock); [all...] |
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_wired.c | 53 int dhcp_sock; /* socket for dhcp packets */ member in struct:wpa_driver_wired_data 265 if ((drv->dhcp_sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) { 271 if (eloop_register_read_sock(drv->dhcp_sock, handle_dhcp, drv->ctx, 282 if (setsockopt(drv->dhcp_sock, SOL_SOCKET, SO_REUSEADDR, (char *) &n, 288 if (setsockopt(drv->dhcp_sock, SOL_SOCKET, SO_BROADCAST, (char *) &n, 297 if (setsockopt(drv->dhcp_sock, SOL_SOCKET, SO_BINDTODEVICE, 305 if (bind(drv->dhcp_sock, (struct sockaddr *) &addr2, 392 if (drv->dhcp_sock >= 0) { 393 eloop_unregister_read_sock(drv->dhcp_sock); 394 close(drv->dhcp_sock); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_wired.c | 53 int dhcp_sock; /* socket for dhcp packets */ member in struct:wpa_driver_wired_data 265 if ((drv->dhcp_sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) { 271 if (eloop_register_read_sock(drv->dhcp_sock, handle_dhcp, drv->ctx, 282 if (setsockopt(drv->dhcp_sock, SOL_SOCKET, SO_REUSEADDR, (char *) &n, 288 if (setsockopt(drv->dhcp_sock, SOL_SOCKET, SO_BROADCAST, (char *) &n, 297 if (setsockopt(drv->dhcp_sock, SOL_SOCKET, SO_BINDTODEVICE, 305 if (bind(drv->dhcp_sock, (struct sockaddr *) &addr2, 392 if (drv->dhcp_sock >= 0) { 393 eloop_unregister_read_sock(drv->dhcp_sock); 394 close(drv->dhcp_sock); [all...] |
Completed in 274 milliseconds