Lines Matching full:proxy
72 const struct sockaddr *proxy, in socks5_tcp_connect() argument
95 proxy, proxy_len, NULL, K_NO_WAIT, in socks5_tcp_connect()
125 if (proxy->sa_family == AF_INET) { in socks5_tcp_connect()
139 } else if (proxy->sa_family == AF_INET6) { in socks5_tcp_connect()
156 proxy, proxy_len, NULL, K_NO_WAIT, in socks5_tcp_connect()
183 LOG_DBG("Connection through SOCKS5 proxy successful"); in socks5_tcp_connect()
191 struct sockaddr proxy; in net_socks5_connect() local
202 ret = net_context_get_option(ctx, NET_OPT_SOCKS5, &proxy, &proxy_len); in net_socks5_connect()
207 /* Connect to Proxy Server */ in net_socks5_connect()
208 ret = net_context_connect(ctx, &proxy, proxy_len, NULL, in net_socks5_connect()
215 return socks5_tcp_connect(ctx, &proxy, proxy_len, addr, addrlen); in net_socks5_connect()