Home
last modified time | relevance | path

Searched refs:evcon (Results 1 – 22 of 22) sorted by relevance

/freebsd-14.2/contrib/ntp/sntp/libevent/
H A Dhttp.c813 (*evcon->cb)(evcon, evcon->cb_arg); in evhttp_write_cb()
1192 (bev->readcb)(evcon->bufev, evcon); in evhttp_deferred_read_cb()
1229 (*evcon->closecb)(evcon, evcon->closecb_arg); in evhttp_connection_free()
1356 (*evcon->closecb)(evcon, evcon->closecb_arg); in evhttp_connection_reset_()
1407 if (evcon->retry_max < 0 || evcon->retry_cnt < evcon->retry_max) { in evhttp_connection_cb_cleanup()
1604 __func__, evcon->address, evcon->port, in evhttp_connection_cb()
1639 bufferevent_set_timeouts(evcon->bufev, &evcon->timeout, &evcon->timeout); in evhttp_connection_cb()
2513 bufferevent_set_timeouts(evcon->bufev, &evcon->timeout, &evcon->timeout); in evhttp_connection_set_timeout_tv()
2605 bufferevent_set_timeouts(evcon->bufev, &evcon->timeout, &evcon->timeout); in evhttp_connection_connect_()
2623 evcon->dns_base, evcon->ai_family, address, evcon->port); in evhttp_connection_connect_()
[all …]
H A Devrpc.c622 struct evhttp_connection *evcon; in evrpc_pool_set_timeout() local
623 TAILQ_FOREACH(evcon, &pool->connections, next) { in evrpc_pool_set_timeout()
673 ctx->evcon = connection; in evrpc_schedule_request()
839 ctx->evcon = NULL; in evrpc_make_request_ctx()
957 struct evhttp_connection *evcon; in evrpc_pool_schedule() local
965 evrpc_schedule_request(evcon, ctx); in evrpc_pool_schedule()
973 struct evhttp_connection *evcon = ctx->evcon; in evrpc_request_timeout() local
974 EVUTIL_ASSERT(evcon != NULL); in evrpc_request_timeout()
1005 ctx->evcon = NULL; in evrpc_hook_meta_new_()
1012 struct evhttp_connection *evcon) in evrpc_hook_associate_meta_() argument
[all …]
H A Devrpc-internal.h117 struct evhttp_connection *evcon; member
122 struct evhttp_connection *evcon);
177 struct evhttp_connection *evcon; member
/freebsd-14.2/contrib/libevent/
H A Dhttp.c813 (*evcon->cb)(evcon, evcon->cb_arg); in evhttp_write_cb()
1192 (bev->readcb)(evcon->bufev, evcon); in evhttp_deferred_read_cb()
1229 (*evcon->closecb)(evcon, evcon->closecb_arg); in evhttp_connection_free()
1356 (*evcon->closecb)(evcon, evcon->closecb_arg); in evhttp_connection_reset_()
1407 if (evcon->retry_max < 0 || evcon->retry_cnt < evcon->retry_max) { in evhttp_connection_cb_cleanup()
1604 __func__, evcon->address, evcon->port, in evhttp_connection_cb()
1639 bufferevent_set_timeouts(evcon->bufev, &evcon->timeout, &evcon->timeout); in evhttp_connection_cb()
2513 bufferevent_set_timeouts(evcon->bufev, &evcon->timeout, &evcon->timeout); in evhttp_connection_set_timeout_tv()
2605 bufferevent_set_timeouts(evcon->bufev, &evcon->timeout, &evcon->timeout); in evhttp_connection_connect_()
2623 evcon->dns_base, evcon->ai_family, address, evcon->port); in evhttp_connection_connect_()
[all …]
H A Devrpc.c622 struct evhttp_connection *evcon; in evrpc_pool_set_timeout() local
623 TAILQ_FOREACH(evcon, &pool->connections, next) { in evrpc_pool_set_timeout()
673 ctx->evcon = connection; in evrpc_schedule_request()
839 ctx->evcon = NULL; in evrpc_make_request_ctx()
957 struct evhttp_connection *evcon; in evrpc_pool_schedule() local
965 evrpc_schedule_request(evcon, ctx); in evrpc_pool_schedule()
973 struct evhttp_connection *evcon = ctx->evcon; in evrpc_request_timeout() local
974 EVUTIL_ASSERT(evcon != NULL); in evrpc_request_timeout()
1005 ctx->evcon = NULL; in evrpc_hook_meta_new_()
1012 struct evhttp_connection *evcon) in evrpc_hook_associate_meta_() argument
[all …]
H A Devrpc-internal.h117 struct evhttp_connection *evcon; member
122 struct evhttp_connection *evcon);
177 struct evhttp_connection *evcon; member
/freebsd-14.2/contrib/ntp/sntp/libevent/test/
H A Dregress_http.c1164 if (evcon) in http_connection_test_()
1271 if (evcon) in http_connection_async_test()
1328 if (evcon) in http_autofree_connection_test()
1592 if (evcon) in http_cancel_test()
1814 if (evcon) in http_virtual_host_test()
1951 if (evcon) in http_dispatcher_test()
2364 if (evcon) in http_close_detection_()
3390 if (evcon) in http_chunk_out_test_impl()
3436 if (evcon) in http_stream_out_test_impl()
3511 if (evcon) in http_stream_in_test_()
[all …]
H A Dregress_rpc.c195 tt_assert(evcon); in rpc_basic_test()
209 if (evhttp_make_request(evcon, req, in rpc_basic_test()
219 evhttp_connection_free(evcon); in rpc_basic_test()
265 tt_assert(evcon); in rpc_basic_message()
288 if (evhttp_make_request(evcon, req, in rpc_basic_message()
299 evhttp_connection_free(evcon); in rpc_basic_message()
310 struct evhttp_connection *evcon; in rpc_pool_with_connection() local
317 assert(evcon != NULL); in rpc_pool_with_connection()
894 tt_assert(evcon); in rpc_invalid_type()
908 if (evhttp_make_request(evcon, req, in rpc_invalid_type()
[all …]
/freebsd-14.2/contrib/libevent/test/
H A Dregress_http.c1164 if (evcon) in http_connection_test_()
1271 if (evcon) in http_connection_async_test()
1328 if (evcon) in http_autofree_connection_test()
1592 if (evcon) in http_cancel_test()
1814 if (evcon) in http_virtual_host_test()
1951 if (evcon) in http_dispatcher_test()
2364 if (evcon) in http_close_detection_()
3390 if (evcon) in http_chunk_out_test_impl()
3436 if (evcon) in http_stream_out_test_impl()
3511 if (evcon) in http_stream_in_test_()
[all …]
H A Dregress_rpc.c195 tt_assert(evcon); in rpc_basic_test()
209 if (evhttp_make_request(evcon, req, in rpc_basic_test()
219 evhttp_connection_free(evcon); in rpc_basic_test()
265 tt_assert(evcon); in rpc_basic_message()
288 if (evhttp_make_request(evcon, req, in rpc_basic_message()
299 evhttp_connection_free(evcon); in rpc_basic_message()
310 struct evhttp_connection *evcon; in rpc_pool_with_connection() local
317 assert(evcon != NULL); in rpc_pool_with_connection()
894 tt_assert(evcon); in rpc_invalid_type()
908 if (evhttp_make_request(evcon, req, in rpc_invalid_type()
[all …]
/freebsd-14.2/contrib/ntp/sntp/libevent/sample/
H A Dhttp-connect.c22 struct evhttp_connection *evcon; member
74 struct evhttp_connection *evcon = base->evcon; in connect_cb() local
80 VERIFY(evcon); in connect_cb()
85 VERIFY(!evhttp_make_request(evcon, req, EVHTTP_REQ_GET, in connect_cb()
97 struct evhttp_connection *evcon; in main() local
111 VERIFY(evcon = evhttp_connection_base_new(base, NULL, in main()
113 connect_base.evcon = evcon; in main()
121 evhttp_make_request(evcon, req, EVHTTP_REQ_CONNECT, hostport); in main()
125 evhttp_connection_free(evcon); in main()
H A Dhttps-client.c231 struct evhttp_connection *evcon = NULL; in main() local
450 evcon = evhttp_connection_base_bufferevent_new(base, NULL, bev, in main()
452 if (evcon == NULL) { in main()
458 evhttp_connection_set_retries(evcon, retries); in main()
461 evhttp_connection_set_timeout(evcon, timeout); in main()
499 r = evhttp_make_request(evcon, req, data_file ? EVHTTP_REQ_POST : EVHTTP_REQ_GET, uri); in main()
511 if (evcon) in main()
512 evhttp_connection_free(evcon); in main()
/freebsd-14.2/contrib/libevent/sample/
H A Dhttp-connect.c22 struct evhttp_connection *evcon; member
74 struct evhttp_connection *evcon = base->evcon; in connect_cb() local
80 VERIFY(evcon); in connect_cb()
85 VERIFY(!evhttp_make_request(evcon, req, EVHTTP_REQ_GET, in connect_cb()
97 struct evhttp_connection *evcon; in main() local
111 VERIFY(evcon = evhttp_connection_base_new(base, NULL, in main()
113 connect_base.evcon = evcon; in main()
121 evhttp_make_request(evcon, req, EVHTTP_REQ_CONNECT, hostport); in main()
125 evhttp_connection_free(evcon); in main()
H A Dhttps-client.c231 struct evhttp_connection *evcon = NULL; in main() local
450 evcon = evhttp_connection_base_bufferevent_new(base, NULL, bev, in main()
452 if (evcon == NULL) { in main()
458 evhttp_connection_set_retries(evcon, retries); in main()
461 evhttp_connection_set_timeout(evcon, timeout); in main()
499 r = evhttp_make_request(evcon, req, data_file ? EVHTTP_REQ_POST : EVHTTP_REQ_GET, uri); in main()
511 if (evcon) in main()
512 evhttp_connection_free(evcon); in main()
/freebsd-14.2/contrib/ntp/sntp/libevent/include/event2/
H A Dhttp.h653 void evhttp_connection_set_family(struct evhttp_connection *evcon,
674 int evhttp_connection_set_flags(struct evhttp_connection *evcon,
714 void evhttp_connection_free(struct evhttp_connection *evcon);
731 void evhttp_connection_set_local_port(struct evhttp_connection *evcon,
736 void evhttp_connection_set_timeout(struct evhttp_connection *evcon,
742 void evhttp_connection_set_timeout_tv(struct evhttp_connection *evcon,
755 void evhttp_connection_set_retries(struct evhttp_connection *evcon,
760 void evhttp_connection_set_closecb(struct evhttp_connection *evcon,
765 void evhttp_connection_get_peer(struct evhttp_connection *evcon,
776 evhttp_connection_get_addr(struct evhttp_connection *evcon);
[all …]
H A Dhttp_compat.h83 void evhttp_connection_set_base(struct evhttp_connection *evcon,
H A Dhttp_struct.h68 struct evhttp_connection *evcon; member
H A Drpc.h435 struct evhttp_connection *evcon);
447 struct evhttp_connection *evcon);
/freebsd-14.2/contrib/libevent/include/event2/
H A Dhttp.h653 void evhttp_connection_set_family(struct evhttp_connection *evcon,
674 int evhttp_connection_set_flags(struct evhttp_connection *evcon,
714 void evhttp_connection_free(struct evhttp_connection *evcon);
731 void evhttp_connection_set_local_port(struct evhttp_connection *evcon,
736 void evhttp_connection_set_timeout(struct evhttp_connection *evcon,
742 void evhttp_connection_set_timeout_tv(struct evhttp_connection *evcon,
755 void evhttp_connection_set_retries(struct evhttp_connection *evcon,
760 void evhttp_connection_set_closecb(struct evhttp_connection *evcon,
765 void evhttp_connection_get_peer(struct evhttp_connection *evcon,
776 evhttp_connection_get_addr(struct evhttp_connection *evcon);
[all …]
H A Dhttp_compat.h83 void evhttp_connection_set_base(struct evhttp_connection *evcon,
H A Dhttp_struct.h68 struct evhttp_connection *evcon; member
H A Drpc.h435 struct evhttp_connection *evcon);
447 struct evhttp_connection *evcon);