Searched refs:proxy4 (Results 1 – 3 of 3) sorted by relevance
112 struct sockaddr_in *proxy4 = in start_tcp_proto() local115 proxy4->sin_family = AF_INET; in start_tcp_proto()116 proxy4->sin_port = htons(SOCKS5_PROXY_PORT); in start_tcp_proto()118 &proxy4->sin_addr); in start_tcp_proto()
136 struct sockaddr_in *proxy4 = (struct sockaddr_in *)&socks5_proxy; in broker_init() local138 proxy4->sin_family = AF_INET; in broker_init()139 proxy4->sin_port = htons(SOCKS5_PROXY_PORT); in broker_init()140 inet_pton(AF_INET, SOCKS5_PROXY_ADDR, &proxy4->sin_addr); in broker_init()
289 struct sockaddr_in *proxy4 = (struct sockaddr_in *)&socks5_proxy; in broker_init()291 proxy4->sin_family = AF_INET; in broker_init()292 proxy4->sin_port = htons(SOCKS5_PROXY_PORT); in broker_init()293 inet_pton(AF_INET, SOCKS5_PROXY_ADDR, &proxy4->sin_addr); in broker_init()