diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-11-06 23:25:56 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-11-07 00:00:23 +0100 |
commit | 8c3931988c501f8a78b10f60fa6538dd5a8a4296 (patch) | |
tree | 2e0d728dbb951ccaf2fc1e5a571116592083b984 /src/conns.h | |
parent | adad565c03f3ffde6520646bc5d119ce1eadbadb (diff) |
WIP: BindIPv4Mapped
Diffstat (limited to 'src/conns.h')
-rw-r--r-- | src/conns.h | 8 |
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 |