Home
last modified time | relevance | path

Searched refs:ev_uint16_t (Results 1 – 20 of 20) sorted by relevance

/libevent-2.1.12/test/
H A Dregress_rpc.c76 http_setup(ev_uint16_t *pport) in http_setup()
79 ev_uint16_t port; in http_setup()
139 ev_uint16_t port; in rpc_setup()
186 ev_uint16_t port; in rpc_basic_test()
255 ev_uint16_t port; in rpc_basic_message()
308 rpc_pool_with_connection(ev_uint16_t port) in rpc_pool_with_connection()
447 ev_uint16_t port; in rpc_basic_client()
533 ev_uint16_t port; in rpc_basic_queued_client()
633 ev_uint16_t port; in rpc_basic_client_with_pause()
685 ev_uint16_t port; in rpc_client_timeout()
[all …]
H A Dregress_testutils.h42 ev_uint16_t *portnum,
55 int regress_dnsserver(struct event_base *base, ev_uint16_t *port,
H A Dregress_http.c813 ev_uint16_t port = 0; in http_delete_test()
897 ev_uint16_t port = 0; in http_on_complete_test()
958 ev_uint16_t port = 0; in http_allowed_methods_test()
1064 ev_uint16_t port = 0; in http_connection_test_()
1190 ev_uint16_t port = 0; in http_connection_async_test()
1284 ev_uint16_t port = 0; in http_autofree_connection_test()
1454 ev_uint16_t port = 0; in http_cancel_test()
1665 ev_uint16_t port = 0; in http_virtual_host_test()
1920 ev_uint16_t port = 0; in http_dispatcher_test()
1969 ev_uint16_t port = 0; in http_post_test()
[all …]
H A Dregress_testutils.c94 ev_uint16_t *portnum, in regress_get_dnsserver()
217 regress_dnsserver(struct event_base *base, ev_uint16_t *port, in regress_dnsserver()
H A Dregress_dns.c545 ev_uint16_t portnum = 0; in dns_search_test_impl()
658 ev_uint16_t portnum = 0; in dns_search_cancel_test()
734 ev_uint16_t portnum = 0; in dns_retry_test_impl()
833 ev_uint16_t portnum1 = 0, portnum2=0; in dns_reissue_test_impl()
908 ev_uint16_t portnum = 0; in dns_inflight_test_impl()
972 ev_uint16_t portnum = 0; in dns_disable_when_inactive_no_ns_test()
1264 ev_uint16_t dns_port=0; in test_bufferevent_connect_hostname()
1436 ev_uint16_t dns_port = 0; in test_getaddrinfo_async()
2126 ev_uint16_t portnum = 0; in dns_client_fail_requests_test()
2174 ev_uint16_t portnum = 0; in dns_client_fail_requests_getaddrinfo_test()
[all …]
H A Dbench_http.c93 ev_uint16_t port = 8080; in main()
H A Dregress_util.c757 ev_uint16_t u16; in test_evutil_integers()
/libevent-2.1.12/include/event2/
H A Dhttp.h101 int evhttp_bind_socket(struct evhttp *http, const char *address, ev_uint16_t port);
115 …socket *evhttp_bind_socket_with_handle(struct evhttp *http, const char *address, ev_uint16_t port);
249 void evhttp_set_allowed_methods(struct evhttp* http, ev_uint16_t methods);
525 …*base, struct evdns_base *dnsbase, struct bufferevent* bev, const char *address, ev_uint16_t port);
647 const char *address, ev_uint16_t port);
732 ev_uint16_t port);
766 char **address, ev_uint16_t *port);
H A Dhttp_compat.h63 struct evhttp *evhttp_start(const char *address, ev_uint16_t port);
74 const char *address, ev_uint16_t port);
H A Dutil.h152 #define ev_uint16_t uint16_t macro
155 #define ev_uint16_t unsigned short
158 #define ev_uint16_t unsigned int
161 #define ev_uint16_t unsigned short
164 #define ev_uint16_t ...
245 #define EV_UINT16_MAX ((ev_uint16_t)0xffffUL)
H A Dhttp_struct.h86 ev_uint16_t remote_port;
H A Ddns.h588 void evdns_set_transaction_id_fn(ev_uint16_t (*fn)(void));
/libevent-2.1.12/
H A Dhttp-internal.h62 ev_uint16_t bind_port; /* local port for binding the src */
65 ev_uint16_t port;
162 ev_uint16_t allowed_methods;
H A Devmap.c61 ev_uint16_t nread;
62 ev_uint16_t nwrite;
63 ev_uint16_t nclose;
343 ctx->nread = (ev_uint16_t) nread; in evmap_io_add_()
344 ctx->nwrite = (ev_uint16_t) nwrite; in evmap_io_add_()
345 ctx->nclose = (ev_uint16_t) nclose; in evmap_io_add_()
H A Dipv6-internal.h67 ev_uint16_t sin6_port;
H A Dhttp.c181 static evutil_socket_t bind_socket(const char *, ev_uint16_t, int reuse);
1296 ev_uint16_t port) in evhttp_connection_set_local_port()
2373 evhttp_connection_new(const char *address, ev_uint16_t port) in evhttp_connection_new()
2380 const char *address, ev_uint16_t port) in evhttp_connection_base_bufferevent_new()
2456 const char *address, ev_uint16_t port) in evhttp_connection_base_new()
2551 char **address, ev_uint16_t *port) in evhttp_connection_get_peer()
3549 evhttp_bind_socket(struct evhttp *http, const char *address, ev_uint16_t port) in evhttp_bind_socket()
3715 evhttp_start(const char *address, ev_uint16_t port) in evhttp_start()
3908 evhttp_set_allowed_methods(struct evhttp* http, ev_uint16_t methods) in evhttp_set_allowed_methods()
4430 make_addrinfo(const char *address, ev_uint16_t port) in make_addrinfo()
[all …]
H A Devutil.c1920 ev_uint16_t words[8]; in evutil_inet_ntop()
1923 (((ev_uint16_t)addr->s6_addr[2*i])<<8) + addr->s6_addr[2*i+1]; in evutil_inet_ntop()
2047 ev_uint16_t words[8]; in evutil_inet_pton()
2093 words[i++] = (ev_uint16_t)r; in evutil_inet_pton()
2122 sizeof(ev_uint16_t)*nToMove); in evutil_inet_pton()
2123 memset(&words[gapPos], 0, sizeof(ev_uint16_t)*gapLen); in evutil_inet_pton()
H A Dbufferevent-internal.h77 typedef ev_uint16_t bufferevent_suspend_flags;
H A Devdns.c137 #define u16 ev_uint16_t
1322 evdns_set_transaction_id_fn(ev_uint16_t (*fn)(void)) in evdns_set_transaction_id_fn()
2624 sockaddr_setport(struct sockaddr *sa, ev_uint16_t port) in sockaddr_setport()
2633 static ev_uint16_t
4314 ev_uint16_t port;
4662 const char *nodename, struct evutil_addrinfo *hints, ev_uint16_t port, in evdns_getaddrinfo_fromhosts()
4769 data->port = (ev_uint16_t)port; in evdns_getaddrinfo()
H A DChangeLog378 o use ev_uint16_t instead of unsigned short for port (e983712 Thomas Bernard)