diff options
Diffstat (limited to '')
-rw-r--r-- | socks.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -34,6 +34,9 @@ #include "buffer.h" +struct openvpn_sockaddr; +struct link_socket_actual; + struct socks_proxy_info { bool defined; bool retry; @@ -58,14 +61,14 @@ void establish_socks_proxy_passthru (struct socks_proxy_info *p, void establish_socks_proxy_udpassoc (struct socks_proxy_info *p, socket_descriptor_t ctrl_sd, /* already open to proxy */ socket_descriptor_t udp_sd, - struct sockaddr_in *relay_addr, + struct openvpn_sockaddr *relay_addr, volatile int *signal_received); void socks_process_incoming_udp (struct buffer *buf, - struct sockaddr_in *from); + struct link_socket_actual *from); int socks_process_outgoing_udp (struct buffer *buf, - struct sockaddr_in *to); + const struct link_socket_actual *to); #endif #endif |