Searched refs:evconnlistener (Results 1 – 19 of 19) sorted by relevance
/external/libevent/include/event2/ |
D | listener.h | 39 struct evconnlistener; 50 typedef void (*evconnlistener_cb)(struct evconnlistener *, evutil_socket_t, struct sockaddr *, int … 58 typedef void (*evconnlistener_errorcb)(struct evconnlistener *, void *); 131 struct evconnlistener *evconnlistener_new(struct event_base *base, 150 struct evconnlistener *evconnlistener_new_bind(struct event_base *base, 157 void evconnlistener_free(struct evconnlistener *lev); 162 int evconnlistener_enable(struct evconnlistener *lev); 167 int evconnlistener_disable(struct evconnlistener *lev); 171 struct event_base *evconnlistener_get_base(struct evconnlistener *lev); 175 evutil_socket_t evconnlistener_get_fd(struct evconnlistener *lev); [all …]
|
D | http.h | 74 struct evconnlistener; 155 struct evhttp_bound_socket *evhttp_bind_listener(struct evhttp *http, struct evconnlistener *listen… 161 struct evconnlistener *evhttp_bound_socket_get_listener(struct evhttp_bound_socket *bound);
|
/external/libevent/ |
D | listener.c | 68 int (*enable)(struct evconnlistener *); 69 int (*disable)(struct evconnlistener *); 70 void (*destroy)(struct evconnlistener *); 71 void (*shutdown)(struct evconnlistener *); 72 evutil_socket_t (*getfd)(struct evconnlistener *); 73 struct event_base *(*getbase)(struct evconnlistener *); 76 struct evconnlistener { struct 89 struct evconnlistener base; argument 95 struct evconnlistener base; 109 struct evconnlistener * [all …]
|
D | http-internal.h | 124 struct evconnlistener *listener;
|
D | http.c | 3541 accept_socket_cb(struct evconnlistener *listener, evutil_socket_t nfd, struct sockaddr *peer_sa, in… in accept_socket_cb() 3612 struct evconnlistener *listener; in evhttp_accept_socket_with_handle() 3632 evhttp_bind_listener(struct evhttp *http, struct evconnlistener *listener) in evhttp_bind_listener() 3653 struct evconnlistener *
|
D | whatsnew-2.1.txt | 382 1.8. New functions and features: evconnlistener 384 Libevent 2.1 adds the following evconnlistener flags: 396 LEV_OPT_DISABLED -- Creates an evconnlistener in the disabled (not
|
D | ChangeLog | 259 o Merge branch 'evconnlistener-do-not-close-client-fd' (42e851bb) 497 Bugfixes (evconnlistener) 766 New APIs (evconnlistener) 1164 o Avoid leaking fds on evconnlistener with no callback set (69db261) 1404 o Avoid leaking fds on evconnlistener with no callback set (69db261) 1539 o Make evconnlistener work around bug in older Linux when getting nmapped (ecfc720) 2006 o Allow evconnlistener to be created in disabled state. (9593a33
|
D | ChangeLog-2.0 | 110 o Make evconnlistener work around bug in older Linux when getting nmapped (ecfc720) 426 o Functions to actually use evhttp_bound_socket with/as evconnlistener. (006efa7) 461 o Make sure IOCP evconnlistener uses virtual events. (7b40a00 Christopher Davis) 525 o Add error callback to evconnlistener (c4be8d8 Simon Perreault) 1001 o Make http use evconnlistener. (ec34533)
|
/external/libevent/test/ |
D | regress_listener.c | 58 acceptcb(struct evconnlistener *listener, evutil_socket_t fd, in acceptcb() 75 struct evconnlistener *listener1 = NULL, *listener2 = NULL; in regress_pick_a_port() 148 errorcb(struct evconnlistener *lis, void *data_) in errorcb() 160 struct evconnlistener *listener = NULL; in regress_listener_error() 190 acceptcb_free(struct evconnlistener *listener, evutil_socket_t fd, in acceptcb_free() 206 struct evconnlistener *listener = NULL; in regress_listener_close_accepted_fd() 239 struct evconnlistener *listener = NULL; in regress_listener_immediate_close() 278 struct evconnlistener *listener = NULL; in regress_listener_error_unlock()
|
D | regress_testutils.h | 61 struct evconnlistener; 63 int regress_get_listener_addr(struct evconnlistener *lev,
|
D | test-fdleak.c | 108 listener_accept_cb(struct evconnlistener *listener, evutil_socket_t sock, in listener_accept_cb() 123 struct evconnlistener *listener; in start_loop()
|
D | regress_ssl.c | 578 acceptcb(struct evconnlistener *listener, evutil_socket_t fd, in acceptcb() 733 struct evconnlistener *listener; in regress_bufferevent_openssl_connect() 856 wm_acceptcb(struct evconnlistener *listener, evutil_socket_t fd, in wm_acceptcb() 887 struct evconnlistener *listener; in regress_bufferevent_openssl_wm()
|
D | regress_testutils.c | 226 regress_get_listener_addr(struct evconnlistener *lev, in regress_get_listener_addr()
|
D | test-ratelim.c | 190 echo_listenercb(struct evconnlistener *listener, evutil_socket_t newsock, in echo_listenercb() 326 struct evconnlistener *listener; in test_ratelimiting()
|
D | regress_bufferevent.c | 641 listen_cb(struct evconnlistener *listener, evutil_socket_t fd, in listen_cb() 729 struct evconnlistener *lev=NULL; in test_bufferevent_connect() 820 struct evconnlistener *lev = NULL; in test_bufferevent_connect_fail_eventcb() 1145 struct evconnlistener *lev=NULL; in test_bufferevent_trigger()
|
D | regress_dns.c | 1197 nil_accept_cb(struct evconnlistener *l, evutil_socket_t fd, struct sockaddr *s, in nil_accept_cb() 1256 struct evconnlistener *listener = NULL; in test_bufferevent_connect_hostname()
|
/external/libevent/sample/ |
D | hello-world.c | 32 static void listener_cb(struct evconnlistener *, evutil_socket_t, 42 struct evconnlistener *listener; in main() 88 listener_cb(struct evconnlistener *listener, evutil_socket_t fd, in listener_cb()
|
D | le-proxy.c | 159 accept_cb(struct evconnlistener *listener, evutil_socket_t fd, in accept_cb() 217 struct evconnlistener *listener; in main()
|
D | http-server.c | 452 struct evconnlistener *lev = NULL; in main()
|