Lines Matching refs:b_out
162 struct bufferevent *b_out, *b_in; in accept_cb() local
169 b_out = bufferevent_socket_new(base, -1, in accept_cb()
173 b_out = bufferevent_openssl_socket_new(base, -1, ssl, in accept_cb()
178 assert(b_in && b_out); in accept_cb()
180 if (bufferevent_socket_connect(b_out, in accept_cb()
183 bufferevent_free(b_out); in accept_cb()
192 b_out, ssl, BUFFEREVENT_SSL_CONNECTING, in accept_cb()
196 bufferevent_free(b_out); in accept_cb()
200 b_out = b_ssl; in accept_cb()
203 bufferevent_setcb(b_in, readcb, NULL, eventcb, b_out); in accept_cb()
204 bufferevent_setcb(b_out, readcb, NULL, eventcb, b_in); in accept_cb()
207 bufferevent_enable(b_out, EV_READ|EV_WRITE); in accept_cb()