Searched refs:bev_p (Results 1 – 5 of 5) sorted by relevance
58 struct bufferevent_pair *bev_p; in upcast() local61 bev_p = EVUTIL_UPCAST(bev, struct bufferevent_pair, bev.bev); in upcast()62 EVUTIL_ASSERT(BEV_IS_PAIR(&bev_p->bev.bev)); in upcast()63 return bev_p; in upcast()227 struct bufferevent_pair *bev_p = upcast(bufev); in be_pair_enable() local228 struct bufferevent_pair *partner = bev_p->partner; in be_pair_enable()240 be_pair_wants_to_talk(partner, bev_p)) { in be_pair_enable()245 be_pair_wants_to_talk(bev_p, partner)) { in be_pair_enable()267 struct bufferevent_pair *bev_p = upcast(bev); in be_pair_unlink() local269 if (bev_p->partner) { in be_pair_unlink()[all …]
102 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_get_conn_address_() local103 return (struct sockaddr *)&bev_p->conn_address; in bufferevent_socket_get_conn_address_()110 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_set_conn_address_fd_() local112 socklen_t len = sizeof(bev_p->conn_address); in bufferevent_socket_set_conn_address_fd_()114 struct sockaddr *addr = (struct sockaddr *)&bev_p->conn_address; in bufferevent_socket_set_conn_address_fd_()123 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_socket_set_conn_address_() local124 EVUTIL_ASSERT(addrlen <= sizeof(bev_p->conn_address)); in bufferevent_socket_set_conn_address_()125 memcpy(&bev_p->conn_address, addr, addrlen); in bufferevent_socket_set_conn_address_()461 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_connect_getaddrinfo_cb() local468 bev_p->dns_request = NULL; in bufferevent_connect_getaddrinfo_cb()[all …]
897 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_get_options_() local901 options = bev_p->options; in bufferevent_get_options_()973 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in bufferevent_generic_adj_timeouts_() local975 if ((enabled & EV_READ) && !bev_p->read_suspended && in bufferevent_generic_adj_timeouts_()981 if ((enabled & EV_WRITE) && !bev_p->write_suspended && in bufferevent_generic_adj_timeouts_()
1351 struct bufferevent_private *bev_p = NULL; in bufferevent_openssl_new_impl() local1361 bev_p = &bev_ssl->bev; in bufferevent_openssl_new_impl()1363 if (bufferevent_init_common_(bev_p, base, in bufferevent_openssl_new_impl()1374 bev_ssl->outbuf_cb = evbuffer_add_cb(bev_p->bev.output, in bufferevent_openssl_new_impl()
396 struct bufferevent_private *bev_p = BEV_UPCAST(bev); in be_async_destruct() local407 (bev_p->options & BEV_OPT_CLOSE_ON_FREE)) { in be_async_destruct()