Lines Matching refs:sstate

234 static struct select_state sstate;
472 FD_SET(s4, &sstate.rfds); in setup_tcp_listener_ports()
473 if (s4 >= sstate.max) in setup_tcp_listener_ports()
474 sstate.max = s4 + 1; in setup_tcp_listener_ports()
483 FD_SET(s6, &sstate.rfds); in setup_tcp_listener_ports()
484 if (s6 >= sstate.max) in setup_tcp_listener_ports()
485 sstate.max = s6 + 1; in setup_tcp_listener_ports()
565 FD_SET (sock, &sstate.rfds); in setup_udp_port()
566 if (sock >= sstate.max) in setup_udp_port()
567 sstate.max = sock + 1; in setup_udp_port()
633 FD_ZERO(&sstate.rfds); in setup_network()
634 FD_ZERO(&sstate.wfds); in setup_network()
635 FD_ZERO(&sstate.xfds); in setup_network()
636 sstate.max = 0; in setup_network()
885 FD_SET(s, &sstate.rfds); in accept_tcp_connection()
886 if (sstate.max <= s) in accept_tcp_connection()
887 sstate.max = s + 1; in accept_tcp_connection()
897 FD_CLR(conn->fd, &sstate.rfds); in kill_tcp_connection()
898 FD_CLR(conn->fd, &sstate.wfds); in kill_tcp_connection()
899 if (sstate.max == conn->fd + 1) in kill_tcp_connection()
900 while (sstate.max > 0 in kill_tcp_connection()
901 && ! FD_ISSET(sstate.max-1, &sstate.rfds) in kill_tcp_connection()
902 && ! FD_ISSET(sstate.max-1, &sstate.wfds) in kill_tcp_connection()
905 sstate.max--; in kill_tcp_connection()
1060 FD_CLR(conn->fd, &sstate.rfds); in process_tcp_connection()
1061 FD_SET(conn->fd, &sstate.wfds); in process_tcp_connection()
1097 sstate.end_time.tv_sec = sstate.end_time.tv_usec = 0; in listen_and_process()
1098 err = krb5int_cm_call_select(&sstate, &sout, &sret); in listen_and_process()