Lines Matching defs:underlying

273    to an underlying bufferevent using a BIO_bufferevent, and one that has the
289 If we were set up with an underlying bufferevent, we use the
294 /* An underlying bufferevent that we're directing our output to.
296 struct bufferevent *underlying;
380 /* Have the base communications channel (either the underlying bufferevent or
386 if (bev_ssl->underlying) {
387 bufferevent_unsuspend_read_(bev_ssl->underlying,
401 /* Have the base communications channel (either the underlying bufferevent or
408 if (bev_ssl->underlying) {
425 if (bev_ssl->underlying) {
426 bufferevent_suspend_read_(bev_ssl->underlying,
439 if (bev_ssl->underlying) {
450 if (!bev_ssl->underlying)
459 if (!bev_ssl->underlying)
612 /* Can't read until underlying has more data. */
619 * underlying is full */
635 if (bev_ssl->underlying)
689 /* Can't read until underlying has more data. */
697 * underlying is full */
714 if (bev_ssl->underlying)
771 * Read from the underlying buffer until we block or we hit our high-water
815 * by reading too much data from the underlying bufferevent;
816 * it can potentially cause read looping if the underlying
821 * potentially not read any more from bev_ssl->underlying
825 if (!n_to_read && bev_ssl->underlying)
835 if (!bev_ssl->underlying) {
864 if (bev_ssl->underlying) {
865 target = bev_ssl->underlying->output;
866 wm = &bev_ssl->underlying->wm_write;
882 if (!bev_ssl->underlying) {
963 if (bev_ssl->underlying) {
964 bufferevent_setcb(bev_ssl->underlying,
1027 if (!bev_ssl->underlying) {
1033 if (!bev_ssl->underlying) {
1068 if (bev_ssl->underlying) {
1069 bufferevent_setcb(bev_ssl->underlying,
1109 if (!bev_ssl->underlying)
1147 if (bev_ssl->underlying) {
1173 if (bev_ssl->underlying) {
1188 if (bev_ssl->underlying) {
1189 if (BEV_UPCAST(bev_ssl->underlying)->refcnt < 2) {
1193 bufferevent_free(bev_ssl->underlying);
1196 // bev_ssl->underlying = NULL;
1200 if (bev_ssl->underlying) {
1201 if (bev_ssl->underlying->errorcb == be_openssl_eventcb)
1202 bufferevent_setcb(bev_ssl->underlying,
1204 bufferevent_unsuspend_read_(bev_ssl->underlying,
1216 if (! bev_ssl->underlying) {
1233 if (bev_ssl->underlying) {
1271 if (bev_ssl->underlying)
1287 if (bev_ssl->underlying)
1294 if (!bev_ssl->underlying)
1296 data->ptr = bev_ssl->underlying;
1315 struct bufferevent *underlying,
1325 if (underlying != NULL && fd >= 0)
1341 bev_ssl->underlying = underlying;
1350 if (underlying) {
1352 bufferevent_incref_(underlying);
1379 if (underlying) {
1380 bufferevent_setwatermark(underlying, EV_READ, 0, 0);
1381 bufferevent_enable(underlying, EV_READ|EV_WRITE);
1383 bufferevent_suspend_read_(underlying,
1405 struct bufferevent *underlying,
1414 if (!underlying)
1416 if (!(bio = BIO_new_bufferevent(underlying, close_flag)))
1422 base, underlying, -1, ssl, state, options);