Searched refs:proto (Results 1 – 5 of 5) sorted by relevance
| /mbedtls/library/ |
| A 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/include/mbedtls/ |
| A 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/tests/ |
| A D | compat.sh | 759 proto=UDP 761 proto=TCP 763 while ! lsof -a -n -b -i "$proto:$1" -p "$2" >/dev/null 2>/dev/null; do
|
| A D | ssl-opt.sh | 1040 proto=UDP 1042 proto=TCP 1046 SERVER_PIDS=$(lsof -a -n -b -i "$proto:$1" -t)
|
| /mbedtls/ |
| A D | ChangeLog | 4456 * net_connect() and net_bind() have a new 'proto' argument to choose
|
Completed in 29 milliseconds