Searched refs:peer (Results 1 - 7 of 7) sorted by relevance

/dovecot/src/lib-http/
H A Dhttp-client-peer.c18 http_client_peer_connect_backoff(struct http_client_peer *peer);
28 http_client_peer_connection_failed_any(struct http_client_peer *peer,
36 (const struct http_client_peer_addr *peer)
38 unsigned int hash = (unsigned int)peer->type;
40 switch (peer->type) {
43 if (peer->a.tcp.https_name != NULL)
44 hash += str_hash(peer->a.tcp.https_name);
48 if (peer->a.tcp.ip.family != 0)
49 hash += net_ip_hash(&peer->a.tcp.ip);
50 hash += peer
35 http_client_peer_addr_hash(const struct http_client_peer_addr *peer) argument
379 struct http_client_peer *peer; local
471 struct http_client_peer *peer; local
512 struct http_client_peer *peer; local
535 struct http_client_peer *peer; local
576 http_client_peer_ref(struct http_client_peer *peer) argument
582 http_client_peer_disconnect(struct http_client_peer *peer) argument
622 struct http_client_peer *peer = *_peer; local
668 struct http_client_peer *peer = *_peer; local
680 struct http_client_peer *peer = *_peer; local
712 struct http_client_peer *peer; local
732 http_client_peer_do_connect(struct http_client_peer *peer, unsigned int count) argument
764 http_client_peer_connect_backoff(struct http_client_peer *peer) argument
777 http_client_peer_connect(struct http_client_peer *peer, unsigned int count) argument
789 http_client_peer_is_connected(struct http_client_peer *peer) argument
805 http_client_peer_cancel(struct http_client_peer *peer) argument
824 http_client_peer_requests_pending(struct http_client_peer *peer, unsigned int *num_urgent_r) argument
840 http_client_peer_check_idle(struct http_client_peer *peer) argument
859 http_client_peer_handle_requests_real(struct http_client_peer *peer) argument
1100 http_client_peer_handle_requests(struct http_client_peer *peer) argument
1109 http_client_peer_trigger_request_handler(struct http_client_peer *peer) argument
1119 http_client_peer_have_queue(struct http_client_peer *peer, struct http_client_queue *queue) argument
1131 http_client_peer_link_queue(struct http_client_peer *peer, struct http_client_queue *queue) argument
1142 http_client_peer_unlink_queue(struct http_client_peer *peer, struct http_client_queue *queue) argument
1164 http_client_peer_claim_request(struct http_client_peer *peer, bool no_urgent) argument
1180 http_client_peer_connection_success(struct http_client_peer *peer) argument
1199 http_client_peer_connection_failed_any(struct http_client_peer *peer, const char *reason) argument
1217 http_client_peer_connection_failure(struct http_client_peer *peer, const char *reason) argument
1225 http_client_peer_connection_lost(struct http_client_peer *peer, bool premature) argument
1261 http_client_peer_active_connections(struct http_client_peer *peer) argument
1276 http_client_peer_pending_connections(struct http_client_peer *peer) argument
1290 http_client_peer_switch_ioloop(struct http_client_peer *peer) argument
[all...]
H A Dhttp-client-private.h98 struct http_client_peer *peer; member in struct:http_client_request
169 struct http_client_peer *peer; member in struct:http_client_connection
234 bool allows_pipelining:1;/* peer is known to allow persistent
240 struct http_client_peer_shared *peer; member in struct:http_client_peer_pool
244 /* all connections to this peer */
250 /* available connections to this peer */
258 bool destroyed:1; /* peer pool is being destroyed */
272 /* queues using this peer */
275 /* active connections to this peer */
281 bool connecting:1; /* peer i
[all...]
H A Dhttp-client-connection.c52 struct http_client_peer *peer = conn->peer; local
55 http_client_peer_connection_failure(peer, reason);
89 const struct http_client_settings *set = &conn->peer->client->set;
121 struct http_client_peer *peer = conn->peer; local
122 struct http_client *client = peer->client;
291 const struct http_client_settings *set = &conn->peer->client->set;
337 struct http_client_peer *peer = conn->peer; local
378 struct http_client_peer *peer = conn->peer; local
426 struct http_client_peer *peer; local
505 http_client_connection_claim_idle(struct http_client_connection *conn, struct http_client_peer *peer) argument
533 struct http_client_peer *peer = conn->peer; local
600 struct http_client_peer *peer = conn->peer; local
898 struct http_client_peer *peer = conn->peer; local
1310 struct http_client_peer *peer = conn->peer; local
1380 struct http_client_peer *peer = conn->peer; local
1401 struct http_client_peer *peer = conn->peer; local
1453 struct http_client_peer *peer = conn->peer; local
1623 http_client_connection_create(struct http_client_peer *peer) argument
[all...]
H A Dhttp-client-queue.c124 /* currently only called when peer is freed, so there is no need to
125 unlink from the peer */
129 struct http_client_peer *peer = queue->cur_peer; local
131 http_client_peer_unlink_queue(peer, queue);
246 /* continue with current peer */
283 /* setup connection to new peer (can start new soft timeout) */
292 struct http_client_peer *peer; local
314 /* update our peer address */
323 /* already got a peer? */
324 peer
446 http_client_queue_connection_success(struct http_client_queue *queue, struct http_client_peer *peer) argument
496 http_client_queue_connection_failure(struct http_client_queue *queue, struct http_client_peer *peer, const char *reason) argument
591 http_client_queue_peer_disconnected(struct http_client_queue *queue, struct http_client_peer *peer) argument
[all...]
H A Dhttp-client.c25 name lookup data, peer status and idle connections to be shared between
62 A peer pool lists all unused and pending connections to a peer, grouped by
68 The shared peer object records state information about a peer, which is a
69 service access point (ip:port or unix socket path). The peer object also
72 separate (non-shared) peer object for client-specific state information.
76 A peer object maintains client-specific information for a peer. Claimed
77 connections are dedicated to one peer (an
245 struct http_client_peer *peer; local
283 struct http_client_peer *peer; local
521 struct http_client_peer_shared *peer; local
[all...]
H A Dhttp-client-request.c884 /* the IP address may be unassigned in the returned peer address, since
1103 struct http_client_context *cctx = conn->ppool->peer->cctx;
1654 req->peer = NULL;
/dovecot/src/lib-dcrypt/
H A Ddcrypt-openssl.c616 EVP_PKEY *peer = EVP_PKEY_new(); local
617 if (peer == NULL) {
621 EVP_PKEY_set1_EC_KEY(peer, ec_key);
628 EVP_PKEY_derive_set_peer(pctx, peer) != 1) {
630 EVP_PKEY_free(peer);
638 EVP_PKEY_free(peer);
645 EVP_PKEY_free(peer);
650 EVP_PKEY_free(peer);
660 EVP_PKEY *peer = peer_key->key; local
661 if (EVP_PKEY_base_id(peer) !
[all...]

Completed in 30 milliseconds