• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/libevent-2.0.20-stable/

Lines Matching refs:bufferevent

50 #include "event2/bufferevent.h"
57 #include "bufferevent-internal.h"
65 * Define an OpenSSL bio that targets a bufferevent.
74 bufferevent. We'll want to use this only when none of OpenSSL's built-in
108 b->ptr = NULL; /* We'll be putting the bufferevent in this field.*/
159 struct bufferevent *bufev = b->ptr;
191 struct bufferevent *bufev = b->ptr;
227 /* Method table for the bufferevent BIO */
229 BIO_TYPE_LIBEVENT, "bufferevent",
247 /* Create a new BIO to wrap communication around a bufferevent. If close_flag
248 * is true, the bufferevent will be freed when the BIO is closed. */
250 BIO_new_bufferevent(struct bufferevent *bufferevent, int close_flag)
253 if (!bufferevent)
258 result->ptr = bufferevent;
264 Now, here's the OpenSSL-based implementation of bufferevent.
267 to an underlying bufferevent using a BIO_bufferevent, and one that has the
282 /* Shared fields with common bufferevent implementation code.
283 If we were set up with an underlying bufferevent, we use the
288 /* An underlying bufferevent that we're directing our output to.
290 struct bufferevent *underlying;
326 static int be_openssl_enable(struct bufferevent *, short);
327 static int be_openssl_disable(struct bufferevent *, short);
328 static void be_openssl_destruct(struct bufferevent *);
329 static int be_openssl_adj_timeouts(struct bufferevent *);
330 static int be_openssl_flush(struct bufferevent *bufev,
332 static int be_openssl_ctrl(struct bufferevent *, enum bufferevent_ctrl_op, union bufferevent_ctrl_data *);
345 /* Given a bufferevent, return a pointer to the bufferevent_openssl that
348 upcast(struct bufferevent *bev)
372 /* Have the base communications channel (either the underlying bufferevent or
383 struct bufferevent *bev = &bev_ssl->bev.bev;
393 /* Have the base communications channel (either the underlying bufferevent or
403 struct bufferevent *bev = &bev_ssl->bev.bev;
421 struct bufferevent *bev = &bev_ssl->bev.bev;
434 struct bufferevent *bev = &bev_ssl->bev.bev;
460 struct bufferevent *bev = &bev_ssl->bev.bev;
474 struct bufferevent *bev = &bev_ssl->bev.bev;
568 struct bufferevent *bev = &bev_ssl->bev.bev;
635 struct bufferevent *bev = &bev_ssl->bev.bev;
800 * by reading too much data from the underlying bufferevent;
802 * bufferevent is a bufferevent_pair and deferred callbacks
815 struct bufferevent *bev = &bev_ssl->bev.bev;
843 struct bufferevent *bev = &bev_ssl->bev.bev;
885 be_openssl_readcb(struct bufferevent *bev_base, void *ctx)
892 be_openssl_writecb(struct bufferevent *bev_base, void *ctx)
899 be_openssl_eventcb(struct bufferevent *bev_base, short what, void *ctx)
958 struct bufferevent *bev = &bev_ssl->bev.bev;
1033 be_openssl_handshakecb(struct bufferevent *bev_base, void *ctx)
1062 struct bufferevent *bev = &bev_ssl->bev.bev;
1084 bufferevent_ssl_renegotiate(struct bufferevent *bev)
1119 be_openssl_enable(struct bufferevent *bev, short events)
1147 be_openssl_disable(struct bufferevent *bev, short events)
1168 be_openssl_destruct(struct bufferevent *bev)
1183 "bufferevent with too few references");
1209 be_openssl_adj_timeouts(struct bufferevent *bev)
1226 be_openssl_flush(struct bufferevent *bufev,
1234 be_openssl_ctrl(struct bufferevent *bev,
1272 bufferevent_openssl_get_ssl(struct bufferevent *bufev)
1280 static struct bufferevent *
1282 struct bufferevent *underlying,
1370 struct bufferevent *
1372 struct bufferevent *underlying,
1377 /* We don't tell the BIO to close the bufferevent; we do it ourselves
1392 struct bufferevent *
1435 bufferevent_get_openssl_error(struct bufferevent *bev)