Home
last modified time | relevance | path

Searched refs:hints (Results 1 – 2 of 2) sorted by relevance

/mbedtls-3.7.0/library/
Dnet_sockets.c162 struct addrinfo hints, *addr_list, *cur; in mbedtls_net_connect() local
169 memset(&hints, 0, sizeof(hints)); in mbedtls_net_connect()
170 hints.ai_family = AF_UNSPEC; in mbedtls_net_connect()
171 hints.ai_socktype = proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_connect()
172 hints.ai_protocol = proto == MBEDTLS_NET_PROTO_UDP ? IPPROTO_UDP : IPPROTO_TCP; in mbedtls_net_connect()
174 if (getaddrinfo(host, port, &hints, &addr_list) != 0) { in mbedtls_net_connect()
208 struct addrinfo hints, *addr_list, *cur; in mbedtls_net_bind() local
215 memset(&hints, 0, sizeof(hints)); in mbedtls_net_bind()
216 hints.ai_family = AF_UNSPEC; in mbedtls_net_bind()
217 hints.ai_socktype = proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_bind()
[all …]
/mbedtls-3.7.0/
DChangeLog1101 * Add accessors to configure DN hints for certificate request: