Searched refs:proto (Results 1 – 5 of 5) sorted by relevance
/mbedtls-latest/library/ |
D | net_sockets.c | 159 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/ |
D | net_sockets.h | 117 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/ |
D | compat.sh | 792 proto=UDP 794 proto=TCP 796 while ! lsof -a -n -b -i "$proto:$1" -p "$2" >/dev/null 2>/dev/null; do
|
D | ssl-opt.sh | 1085 proto=UDP 1087 proto=TCP 1091 SERVER_PIDS=$(lsof -a -n -b -i "$proto:$1" -t)
|
/mbedtls-latest/ |
D | ChangeLog | 4651 * net_connect() and net_bind() have a new 'proto' argument to choose
|