Lines Matching refs:socket_fd
199 daemon->socket_fd = -1; in SPDYF_start_daemon_va()
307 daemon->socket_fd = socket (afamily, SOCK_STREAM, 0); in SPDYF_start_daemon_va()
308 if (-1 == daemon->socket_fd) in SPDYF_start_daemon_va()
315 ret = setsockopt(daemon->socket_fd, SOL_SOCKET, SO_REUSEADDR, &option_on, sizeof(option_on)); in SPDYF_start_daemon_va()
324 ret = setsockopt(daemon->socket_fd, IPPROTO_IPV6, IPV6_V6ONLY, &option_on, sizeof(option_on)); in SPDYF_start_daemon_va()
333 if (-1 == bind (daemon->socket_fd, daemon->address, addrlen)) in SPDYF_start_daemon_va()
339 if (listen (daemon->socket_fd, 20) < 0) in SPDYF_start_daemon_va()
355 if(daemon->socket_fd > 0) in SPDYF_start_daemon_va()
356 (void)close (daemon->socket_fd); in SPDYF_start_daemon_va()
377 shutdown (daemon->socket_fd, SHUT_RDWR); in SPDYF_stop_daemon()
379 (void)close (daemon->socket_fd); in SPDYF_stop_daemon()
443 fd = daemon->socket_fd; in SPDYF_get_fdset()
453 fd = pos->socket_fd; in SPDYF_get_fdset()
499 if ( (-1 != (ds = daemon->socket_fd)) && in SPDYF_run()
508 ds = pos->socket_fd; in SPDYF_run()