Searched refs:tcp (Results 1 - 6 of 6) sorted by relevance

/dovecot/src/lib-http/
H A Dhttp-client-peer.c43 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->a.tcp.port;
77 if (peer1->a.tcp.ip.family != 0 &&
78 peer2->a.tcp.ip.family != 0 &&
79 (ret=net_ip_cmp(&peer1->a.tcp.ip, &peer2->a.tcp.ip)) != 0)
81 if (peer1->a.tcp
[all...]
H A Dhttp-client-private.h68 } tcp; member in union:http_client_peer_addr::__anon92
434 return addr->a.tcp.https_name;
449 if (addr->a.tcp.ip.family == AF_INET6) {
451 net_ip2addr(&addr->a.tcp.ip), addr->a.tcp.port);
454 net_ip2addr(&addr->a.tcp.ip), addr->a.tcp.port);
H A Dhttp-client-queue.c66 i_strdup_printf("raw://%s:%u", hostname, addr->a.tcp.port);
67 queue->addr.a.tcp.https_name = NULL;
72 i_strdup_printf("https://%s:%u", hostname, addr->a.tcp.port);
73 queue->addr_name = i_strdup(addr->a.tcp.https_name);
74 queue->addr.a.tcp.https_name = queue->addr_name;
78 i_strdup_printf("http://%s:%u", hostname, addr->a.tcp.port);
79 queue->addr.a.tcp.https_name = NULL;
245 &queue->cur_peer->shared->addr.a.tcp.ip, &ip_idx)) {
318 queue->addr.a.tcp.ip = *ip;
456 &addr->a.tcp
[all...]
H A Dhttp-client-request.c893 addr->a.tcp.ip = host_url->host.ip;
894 addr->a.tcp.port =
901 addr->a.tcp.ip = host_url->host.ip;
902 addr->a.tcp.https_name = host_url->host.name;
903 addr->a.tcp.port = http_url_get_port(host_url);
906 addr->a.tcp.ip = host_url->host.ip;
907 addr->a.tcp.port = http_url_get_port(host_url);
H A Dhttp-client-connection.c1383 const char *error, *host = pshared->addr.a.tcp.https_name;
1420 pshared->addr.a.tcp.https_name, &ssl_set,
1677 (conn, &addr->a.tcp.ip, addr->a.tcp.port, timeout_msecs);
1688 &addr->a.tcp.ip, addr->a.tcp.port);
/dovecot/src/lib/
H A Dnet.c12 #include <netinet/tcp.h>
1068 entry = getservbyport(htons(port), "tcp");

Completed in 25 milliseconds