Home
last modified time | relevance | path

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

/mbedtls-3.4.0/library/
Dnet_sockets.c173 const char *port, int proto ) in mbedtls_net_connect() argument
184 hints.ai_socktype = proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_connect()
185 hints.ai_protocol = proto == MBEDTLS_NET_PROTO_UDP ? IPPROTO_UDP : IPPROTO_TCP; in mbedtls_net_connect()
220 int mbedtls_net_bind( mbedtls_net_context *ctx, const char *bind_ip, const char *port, int proto ) in mbedtls_net_bind() argument
231 hints.ai_socktype = proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_bind()
232 hints.ai_protocol = proto == MBEDTLS_NET_PROTO_UDP ? IPPROTO_UDP : IPPROTO_TCP; in mbedtls_net_bind()
268 if( proto == MBEDTLS_NET_PROTO_TCP ) in mbedtls_net_bind()
/mbedtls-3.4.0/include/mbedtls/
Dnet_sockets.h130 int mbedtls_net_connect( mbedtls_net_context *ctx, const char *host, const char *port, int proto );
150 int mbedtls_net_bind( mbedtls_net_context *ctx, const char *bind_ip, const char *port, int proto );
/mbedtls-3.4.0/tests/
Dcompat.sh695 proto=UDP
697 proto=TCP
699 while ! lsof -a -n -b -i "$proto:$1" -p "$2" >/dev/null 2>/dev/null; do
Dssl-opt.sh876 proto=UDP
878 proto=TCP
882 SERVER_PIDS=$(lsof -a -n -b -i "$proto:$1" -t)
/mbedtls-3.4.0/
DChangeLog3663 * net_connect() and net_bind() have a new 'proto' argument to choose