Lines Matching refs:trans_conn
521 XtransConnInfo trans_conn; in ClientAuthorized() local
524 trans_conn = priv->trans_conn; in ClientAuthorized()
528 if (trans_conn->flags & TRANS_NOXAUTH) { in ClientAuthorized()
538 if (_XSERVTransGetPeerAddr(trans_conn, &family, &fromlen, &from) != -1) { in ClientAuthorized()
570 if (_XSERVTransGetPeerAddr(trans_conn, &family, &fromlen, &from) != -1) { in ClientAuthorized()
614 AllocNewConnection(XtransConnInfo trans_conn, int fd, CARD32 conn_time) in AllocNewConnection() argument
622 oc->trans_conn = trans_conn; in AllocNewConnection()
667 XtransConnInfo trans_conn, new_trans_conn; in EstablishNewConnections() local
682 if ((trans_conn = lookup_trans_conn(curconn)) == NULL) in EstablishNewConnections()
685 if ((new_trans_conn = _XSERVTransAccept(trans_conn, &status)) == NULL) in EstablishNewConnections()
692 if (trans_conn->flags & TRANS_NOXAUTH) in EstablishNewConnections()
717 XtransConnInfo trans_conn = data; in ConnMaxNotify() local
721 (void) _XSERVTransRead(trans_conn, &order, 1); in ConnMaxNotify()
745 (void) _XSERVTransWritev(trans_conn, iov, 3); in ConnMaxNotify()
747 RemoveNotifyFd(trans_conn->fd); in ConnMaxNotify()
748 _XSERVTransClose(trans_conn); in ConnMaxNotify()
752 ErrorConnMax(XtransConnInfo trans_conn) in ErrorConnMax() argument
754 if (!SetNotifyFd(trans_conn->fd, ConnMaxNotify, X_NOTIFY_READ, trans_conn)) in ErrorConnMax()
755 _XSERVTransClose(trans_conn); in ErrorConnMax()
766 if (oc->trans_conn) { in CloseDownFileDescriptor()
772 _XSERVTransDisconnect(oc->trans_conn); in CloseDownFileDescriptor()
773 _XSERVTransClose(oc->trans_conn); in CloseDownFileDescriptor()
774 oc->trans_conn = NULL; in CloseDownFileDescriptor()
1096 if (oc->trans_conn) { in set_poll_client()
1098 ospoll_listen(server_poll, oc->trans_conn->fd, X_NOTIFY_READ); in set_poll_client()
1100 ospoll_mute(server_poll, oc->trans_conn->fd, X_NOTIFY_READ); in set_poll_client()