summaryrefslogtreecommitdiffhomepage
path: root/src/conns.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/conns.h')
-rw-r--r--src/conns.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/conns.h b/src/conns.h
index 9618efb..c702fed 100644
--- a/src/conns.h
+++ b/src/conns.h
@@ -62,6 +62,11 @@ struct conn_s {
char *server_ip_addr;
/*
+ * Store the server's mapped IP (for BindSame)
+ */
+ char *server_ip_addr_mapped;
+
+ /*
* Store the client's IP information
*/
char *client_ip_addr;
@@ -93,7 +98,8 @@ extern void conn_struct_init(struct conn_s *connptr);
/* second stage initializiation, sets up buffers and connection details */
extern int conn_init_contents (struct conn_s *connptr, const char *ipaddr,
- const char *sock_ipaddr);
+ const char *sock_ipaddr,
+ const char *sock_ipaddr_mapped);
extern void conn_destroy_contents (struct conn_s *connptr);
#endif