Home
last modified time | relevance | path

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

/net-tools-3.4.0/mbedtls-2.4.0/library/
Dnet_sockets.c302 struct sockaddr_storage client_addr; in mbedtls_net_accept() local
306 socklen_t n = (socklen_t) sizeof( client_addr ); in mbedtls_net_accept()
309 int n = (int) sizeof( client_addr ); in mbedtls_net_accept()
325 (struct sockaddr *) &client_addr, &n ); in mbedtls_net_accept()
333 (struct sockaddr *) &client_addr, &n ); in mbedtls_net_accept()
360 if( connect( bind_ctx->fd, (struct sockaddr *) &client_addr, n ) != 0 ) in mbedtls_net_accept()
385 if( client_addr.ss_family == AF_INET ) in mbedtls_net_accept()
387 struct sockaddr_in *addr4 = (struct sockaddr_in *) &client_addr; in mbedtls_net_accept()
397 struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *) &client_addr; in mbedtls_net_accept()