Home
last modified time | relevance | path

Searched refs:ev_socklen_t (Results 1 – 17 of 17) sorted by relevance

/external/libevent/test/
Dregress_testutils.c81 ev_socklen_t socklen = sizeof(ss); in regress_get_socket_port()
227 struct sockaddr *sa, ev_socklen_t *socklen) in regress_get_listener_addr()
Dregress_testutils.h64 struct sockaddr *sa, ev_socklen_t *socklen);
Dregress_bufferevent.c648 ev_socklen_t slen = sizeof(*localhost); in fake_listener_create()
721 ev_socklen_t slen; in test_bufferevent_connect()
798 ev_socklen_t slen = sizeof(localhost); in test_bufferevent_connect_fail_eventcb()
868 ev_socklen_t slen = sizeof(localhost); in test_bufferevent_connect_fail()
1123 ev_socklen_t slen; in test_bufferevent_trigger()
Dtest-fdleak.c123 ev_socklen_t socklen = sizeof(ss); in start_loop()
Dregress_listener.c80 ev_socklen_t slen1 = sizeof(ss1), slen2 = sizeof(ss2); in regress_pick_a_port()
Dtest-ratelim.c255 ev_socklen_t slen; in test_ratelimiting()
Dregress_ssl.c673 ev_socklen_t slen; in regress_bufferevent_openssl_connect()
Dregress_dns.c374 ev_socklen_t slen; in dns_server()
1986 ev_socklen_t slen; in test_getaddrinfo_async_cancel_stress()
/external/libevent/
Dutil-internal.h271 ev_socklen_t *socklen, int port);
366 ev_socklen_t socklen, const struct evutil_addrinfo *hints);
449 ev_socklen_t *addrlen, int flags);
Devutil.c227 ev_socklen_t size; in evutil_ersatz_socketpair_()
368 (ev_socklen_t)sizeof(one)); in evutil_make_listen_socket_reuseable()
382 (ev_socklen_t)sizeof(one)); in evutil_make_listen_socket_reuseable_port()
397 (ev_socklen_t)sizeof(one)); in evutil_make_tcp_listen_socket_deferred()
567 ev_socklen_t elen = sizeof(e); in evutil_socket_finished_connecting_()
735 ev_socklen_t sin_out_len = sizeof(sin_out); in evutil_check_interfaces()
736 ev_socklen_t sin6_out_len = sizeof(sin6_out); in evutil_check_interfaces()
801 evutil_new_addrinfo_(struct sockaddr *sa, ev_socklen_t socklen, in evutil_new_addrinfo_()
2562 ev_socklen_t *addrlen, int flags) in evutil_accept4_()
Devdns.c220 ev_socklen_t addrlen;
285 ev_socklen_t addrlen; /* length of addr */
345 ev_socklen_t global_outgoing_addrlen;
1216 …8 *packet, int length, struct evdns_server_port *port, struct sockaddr *addr, ev_socklen_t addrlen) in request_parse()
1373 ev_socklen_t addrlen = sizeof(ss); in nameserver_read()
1411 ev_socklen_t addrlen; in server_port_read()
1440 (struct sockaddr*) &req->addr, (ev_socklen_t)req->addrlen); in server_port_flush()
2002 (struct sockaddr*) &req->addr, (ev_socklen_t)req->addrlen); in evdns_server_request_respond()
2643 const struct sockaddr *sa, ev_socklen_t len, unsigned flags) in evdns_base_nameserver_sockaddr_add()
2655 struct sockaddr *sa, ev_socklen_t len) in evdns_base_get_nameserver_addr()
Dhttp.c175 static void name_from_addr(struct sockaddr *, ev_socklen_t, char **, char **);
190 static void evhttp_get_request(struct evhttp *, evutil_socket_t, struct sockaddr *, ev_socklen_t);
1544 ev_socklen_t errsz = sizeof(error); in evhttp_connection_cb()
4166 evutil_socket_t fd, struct sockaddr *sa, ev_socklen_t salen) in evhttp_get_request_connection()
4247 struct sockaddr *sa, ev_socklen_t salen) in evhttp_get_request()
4281 name_from_addr(struct sockaddr *sa, ev_socklen_t salen, in name_from_addr()
4341 r = bind(fd, ai->ai_addr, (ev_socklen_t)ai->ai_addrlen); in bind_socket_ai()
Dlistener.c398 ev_socklen_t socklen = sizeof(ss); in listener_read_cb()
DChangeLog-2.01029 o Expose an ev_socklen_t type for consistent use across platforms.
/external/libevent/include/event2/
Dutil.h292 #define ev_socklen_t int macro
294 #define ev_socklen_t EVENT__socklen_t
296 #define ev_socklen_t socklen_t
Ddns.h346 const struct sockaddr *sa, ev_socklen_t len, unsigned flags);
711 struct sockaddr *sa, ev_socklen_t len);
/external/libevent/sample/
Dhttp-server.c381 ev_socklen_t socklen = sizeof(ss); in main()