aboutsummaryrefslogtreecommitdiff
path: root/src/nat/gnunet-service-nat_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nat/gnunet-service-nat_helper.h')
-rw-r--r--src/nat/gnunet-service-nat_helper.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/nat/gnunet-service-nat_helper.h b/src/nat/gnunet-service-nat_helper.h
index 861d62c1d..d3f1a757c 100644
--- a/src/nat/gnunet-service-nat_helper.h
+++ b/src/nat/gnunet-service-nat_helper.h
@@ -77,13 +77,15 @@ GN_stop_gnunet_nat_server_ (struct HelperContext *h);
77 * that peer to connect to us (connection reversal). 77 * that peer to connect to us (connection reversal).
78 * 78 *
79 * @param internal_address out internal address to use 79 * @param internal_address out internal address to use
80 * @param sa the address of the peer (IPv4-only) 80 * @param internal_port internal port to use
81 * @param remote_v4 the address of the peer (IPv4-only)
81 * @return #GNUNET_SYSERR on error, 82 * @return #GNUNET_SYSERR on error,
82 * #GNUNET_OK otherwise 83 * #GNUNET_OK otherwise
83 */ 84 */
84int 85int
85GN_request_connection_reversal (const char *internal_address, 86GN_request_connection_reversal (const struct in_addr *internal_address,
86 const struct sockaddr_in *sa); 87 uint16_t internal_port,
88 const struct in_addr *sa);
87 89
88 90
89/* end of gnunet-service-nat_helper.h */ 91/* end of gnunet-service-nat_helper.h */