Home
last modified time | relevance | path

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

/mbedtls-latest/library/
Dnet_sockets.c159 const char *port, int proto) in mbedtls_net_connect() argument
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()
205 int mbedtls_net_bind(mbedtls_net_context *ctx, const char *bind_ip, const char *port, int proto) in mbedtls_net_bind() argument
217 hints.ai_socktype = proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM; in mbedtls_net_bind()
218 hints.ai_protocol = proto == MBEDTLS_NET_PROTO_UDP ? IPPROTO_UDP : IPPROTO_TCP; in mbedtls_net_bind()
252 if (proto == MBEDTLS_NET_PROTO_TCP) { in mbedtls_net_bind()
/mbedtls-latest/include/mbedtls/
Dnet_sockets.h117 int mbedtls_net_connect(mbedtls_net_context *ctx, const char *host, const char *port, int proto);
137 int mbedtls_net_bind(mbedtls_net_context *ctx, const char *bind_ip, const char *port, int proto);
/mbedtls-latest/tests/
Dcompat.sh792 proto=UDP
794 proto=TCP
796 while ! lsof -a -n -b -i "$proto:$1" -p "$2" >/dev/null 2>/dev/null; do
Dssl-opt.sh1085 proto=UDP
1087 proto=TCP
1091 SERVER_PIDS=$(lsof -a -n -b -i "$proto:$1" -t)
/mbedtls-latest/
DChangeLog4651 * net_connect() and net_bind() have a new 'proto' argument to choose