Home
last modified time | relevance | path

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

/net-tools-3.4.0/mbedtls-2.4.0/library/
Dnet_sockets.c297 void *client_ip, size_t buf_size, size_t *ip_len ) in mbedtls_net_accept() argument
388 *ip_len = sizeof( addr4->sin_addr.s_addr ); in mbedtls_net_accept()
390 if( buf_size < *ip_len ) in mbedtls_net_accept()
393 memcpy( client_ip, &addr4->sin_addr.s_addr, *ip_len ); in mbedtls_net_accept()
398 *ip_len = sizeof( addr6->sin6_addr.s6_addr ); in mbedtls_net_accept()
400 if( buf_size < *ip_len ) in mbedtls_net_accept()
403 memcpy( client_ip, &addr6->sin6_addr.s6_addr, *ip_len); in mbedtls_net_accept()
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/
Dnet_sockets.h132 void *client_ip, size_t buf_size, size_t *ip_len );