Home
last modified time | relevance | path

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

/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 struct evhttp_bound_socket *evhttp_bind_socket_with_handle(struct evhttp *http, const char *address…
525 …struct event_base *base, struct evdns_base *dnsbase, struct bufferevent* bev, const char *address,…
647 const char *address, ev_uint16_t port);
727 const char *address);
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 Ddns_compat.h117 int evdns_nameserver_add(unsigned long int address);
H A Ddns.h308 unsigned long int address);
/libevent-2.1.12/
H A Dhttp.c1272 if (evcon->address != NULL) in evhttp_connection_free()
1273 mm_free(evcon->address); in evhttp_connection_free()
1285 const char *address) in evhttp_connection_set_local_address() argument
1604 __func__, evcon->address, evcon->port, in evhttp_connection_cb()
2400 if ((evcon->address = mm_strdup(address)) == NULL) { in evhttp_connection_base_bufferevent_new()
2551 char **address, ev_uint16_t *port) in evhttp_connection_get_peer() argument
2553 *address = evcon->address; in evhttp_connection_get_peer()
2567 const char *address = evcon->address; in evhttp_connection_connect_() local
2629 __func__, evcon->address); in evhttp_connection_connect_()
4465 if (address == NULL && port == 0) in bind_socket()
[all …]
H A Devdns.c220 struct sockaddr_storage address; member
543 (struct sockaddr *)&ns->address, in nameserver_probe_failed()
575 (struct sockaddr *)&ns->address, in nameserver_failed()
593 (struct sockaddr *)&ns->address, in nameserver_failed()
629 (struct sockaddr *)&ns->address, in nameserver_up()
1406 (struct sockaddr*)&ns->address, 0)) { in nameserver_read()
1500 (struct sockaddr *)&ns->address, in nameserver_write_waiting()
2342 (struct sockaddr *)&ns->address, in nameserver_send_probe()
2513 if (!evutil_sockaddr_cmp((struct sockaddr*)&server->address, address, 1)) return 3; in evdns_nameserver_add_impl_()
2562 memcpy(&ns->address, address, addrlen); in evdns_nameserver_add_impl_()
[all …]
H A Dhttp-internal.h64 char *address; /* address to connect to */ member
H A Devutil.c704 IP_ADAPTER_ADDRESSES *addresses = NULL, *address; in evutil_check_ifaddrs()
734 for (address = addresses; address; address = address->Next) { in evutil_check_ifaddrs()
736 for (a = address->FirstUnicastAddress; a; a = a->Next) { in evutil_check_ifaddrs()
H A DChangeLog-1.472 o Only bind the socket on connect when a local address has been provided; reported by Alejo Sanchez
185 o Support specifying the local address of an evhttp_connection using set_local_address
H A Dwhatsnew-2.1.txt379 Also there is evdns_base_get_nameserver_addr() for retrieve the address of
448 address of an evhttp_connection.
470 - EVHTTP_CON_REUSE_CONNECTED_ADDR -- reuse connection address on retry (avoid
H A Devent-config.h.cmake26 /* Define to the address where bug reports for this package should be sent. */
H A DChangeLog410 o New function to get address for nameserver. (537177d Nick Mathewson)
423 o http: reuse connected address only with EVHTTP_CON_REUSE_CONNECTED_ADDR (a50f5f0 Azat Khuzhin)
424 o http: use IP address that we got before (if any) during retrying (54c887d Azat Khuzhin)
1207 address. (71e709c Azat Khuzhin)
H A Dwhatsnew-2.0.txt506 host, and tell it to connect, either by address or by hostname.
H A DChangeLog-2.0940 o Don't use a bind address for nameservers on loopback (8d4aaf9)
1066 …o Allow http.c to handle cases where getaddrinfo returns an IPv6 address. Patch from Ryan Phillip…
1259 o Only bind the socket on connect when a local address has been provided; reported by Alejo Sanchez
/libevent-2.1.12/sample/
H A Ddns-example.c46 debug_ntoa(u32 address) in debug_ntoa() argument
49 u32 a = ntohl(address); in debug_ntoa()
/libevent-2.1.12/test/
H A Dregress_http.c179 http_connect(const char *address, ev_uint16_t port) in http_connect() argument
1195 char address[64]; in http_connection_async_test() local
1206 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum); in http_connection_async_test()
1207 evdns_base_nameserver_ip_add(dns_base, address); in http_connection_async_test()
1461 char address[64]; in http_cancel_test() local
1483 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum); in http_cancel_test()
1484 evdns_base_nameserver_ip_add(dns_base, address); in http_cancel_test()
3849 char address[64]; in http_connection_retry_conn_address_test_impl() local
3857 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum); in http_connection_retry_conn_address_test_impl()
4386 char address[64]; in http_ipv6_for_domain_test_impl() local
[all …]
/libevent-2.1.12/.github/workflows/
H A Dlinux.yml90 …EVENT_CMAKE_OPTIONS="-DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYP…