Lines Matching refs:sock
23 int sock;
141 static void radius_das_receive(int sock, void *eloop_ctx, void *sock_ctx)
164 len = recvfrom(sock, buf, sizeof(buf), 0,
265 res = sendto(das->sock, wpabuf_head(rbuf),
334 das->sock = radius_das_open_socket(conf->port);
335 if (das->sock < 0) {
342 if (eloop_register_read_sock(das->sock, radius_das_receive, das, NULL))
357 if (das->sock >= 0) {
358 eloop_unregister_read_sock(das->sock);
359 close(das->sock);