Lines Matching defs:bufferevent_openssl
1 /* $NetBSD: bufferevent_openssl.c,v 1.7 2024/08/18 20:47:21 christos Exp $ */
288 struct bufferevent_openssl {
344 evutil_offsetof(struct bufferevent_openssl, bev.bev),
354 /* Given a bufferevent, return a pointer to the bufferevent_openssl that
356 static inline struct bufferevent_openssl *
359 struct bufferevent_openssl *bev_o;
363 evutil_offsetof(struct bufferevent_openssl, bev.bev));
369 put_error(struct bufferevent_openssl *bev_ssl, unsigned long err)
385 start_reading(struct bufferevent_openssl *bev_ssl)
406 start_writing(struct bufferevent_openssl *bev_ssl)
425 stop_reading(struct bufferevent_openssl *bev_ssl)
439 stop_writing(struct bufferevent_openssl *bev_ssl)
453 set_rbow(struct bufferevent_openssl *bev_ssl)
462 set_wbor(struct bufferevent_openssl *bev_ssl)
471 clear_rbow(struct bufferevent_openssl *bev_ssl)
485 clear_wbor(struct bufferevent_openssl *bev_ssl)
498 conn_closed(struct bufferevent_openssl *bev_ssl, int when, int errcode, int ret)
553 init_bio_counts(struct bufferevent_openssl *bev_ssl)
564 decrement_buckets(struct bufferevent_openssl *bev_ssl)
586 do_read(struct bufferevent_openssl *bev_ssl, int n_to_read) {
656 do_write(struct bufferevent_openssl *bev_ssl, int atmost)
741 bytes_to_read(struct bufferevent_openssl *bev)
787 consider_reading(struct bufferevent_openssl *bev_ssl)
857 consider_writing(struct bufferevent_openssl *bev_ssl)
908 struct bufferevent_openssl *bev_ssl = ctx;
915 struct bufferevent_openssl *bev_ssl = ctx;
922 struct bufferevent_openssl *bev_ssl = ctx;
947 struct bufferevent_openssl *bev_ssl = ptr;
961 struct bufferevent_openssl *bev_ssl = ptr;
973 be_openssl_auto_fd(struct bufferevent_openssl *bev_ssl, evutil_socket_t fd)
985 set_open_callbacks(struct bufferevent_openssl *bev_ssl, evutil_socket_t fd)
1021 do_handshake(struct bufferevent_openssl *bev_ssl)
1068 struct bufferevent_openssl *bev_ssl = ctx;
1075 struct bufferevent_openssl *bev_ssl = ptr;
1086 set_handshake_callbacks(struct bufferevent_openssl *bev_ssl, evutil_socket_t fd)
1124 struct bufferevent_openssl *bev_ssl = upcast(bev);
1141 struct bufferevent_openssl *bev_ssl = arg;
1161 struct bufferevent_openssl *bev_ssl = upcast(bev);
1186 struct bufferevent_openssl *bev_ssl = upcast(bev);
1205 struct bufferevent_openssl *bev_ssl = upcast(bev);
1233 struct bufferevent_openssl *bev_ssl = upcast(bev);
1251 struct bufferevent_openssl *bev_ssl = upcast(bev);
1269 be_openssl_set_fd(struct bufferevent_openssl *bev_ssl,
1304 struct bufferevent_openssl *bev_ssl = upcast(bev);
1338 struct bufferevent_openssl *bev_ssl = upcast(bufev);
1352 struct bufferevent_openssl *bev_ssl = NULL;
1360 if (!(bev_ssl = mm_calloc(1, sizeof(struct bufferevent_openssl))))
1493 struct bufferevent_openssl *bev_ssl;
1506 struct bufferevent_openssl *bev_ssl;
1518 struct bufferevent_openssl *bev_ssl;