Home
last modified time | relevance | path

Searched refs:evconnlistener (Results 1 – 19 of 19) sorted by relevance

/external/libevent/include/event2/
Dlistener.h39 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 …]
Dhttp.h74 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/
Dlistener.c68 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 …]
Dhttp-internal.h124 struct evconnlistener *listener;
Dhttp.c3541 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 *
Dwhatsnew-2.1.txt382 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
DChangeLog259 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
DChangeLog-2.0110 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/
Dregress_listener.c58 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()
Dregress_testutils.h61 struct evconnlistener;
63 int regress_get_listener_addr(struct evconnlistener *lev,
Dtest-fdleak.c108 listener_accept_cb(struct evconnlistener *listener, evutil_socket_t sock, in listener_accept_cb()
123 struct evconnlistener *listener; in start_loop()
Dregress_ssl.c578 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()
Dregress_testutils.c226 regress_get_listener_addr(struct evconnlistener *lev, in regress_get_listener_addr()
Dtest-ratelim.c190 echo_listenercb(struct evconnlistener *listener, evutil_socket_t newsock, in echo_listenercb()
326 struct evconnlistener *listener; in test_ratelimiting()
Dregress_bufferevent.c641 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()
Dregress_dns.c1197 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/
Dhello-world.c32 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()
Dle-proxy.c159 accept_cb(struct evconnlistener *listener, evutil_socket_t fd, in accept_cb()
217 struct evconnlistener *listener; in main()
Dhttp-server.c452 struct evconnlistener *lev = NULL; in main()