aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_nat_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_nat_service.h')
-rw-r--r--src/include/gnunet_nat_service.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/gnunet_nat_service.h b/src/include/gnunet_nat_service.h
index d9ce0e6f9..1620c9433 100644
--- a/src/include/gnunet_nat_service.h
+++ b/src/include/gnunet_nat_service.h
@@ -180,8 +180,7 @@ struct GNUNET_NAT_Handle;
180 * 180 *
181 * @param cfg configuration to use 181 * @param cfg configuration to use
182 * @param proto protocol this is about, IPPROTO_TCP or IPPROTO_UDP 182 * @param proto protocol this is about, IPPROTO_TCP or IPPROTO_UDP
183 * @param adv_port advertised port (port we are either bound to or that our OS 183 * @param hole_external hostname and port of manually punched hole in NAT, otherwise NULL (or empty string)
184 * locally performs redirection from to our bound port).
185 * @param num_addrs number of addresses in @a addrs 184 * @param num_addrs number of addresses in @a addrs
186 * @param addrs list of local addresses packets should be redirected to 185 * @param addrs list of local addresses packets should be redirected to
187 * @param addrlens actual lengths of the addresses in @a addrs 186 * @param addrlens actual lengths of the addresses in @a addrs
@@ -194,7 +193,7 @@ struct GNUNET_NAT_Handle;
194struct GNUNET_NAT_Handle * 193struct GNUNET_NAT_Handle *
195GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg, 194GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg,
196 uint8_t proto, 195 uint8_t proto,
197 uint16_t adv_port, 196 const char *hole_external,
198 unsigned int num_addrs, 197 unsigned int num_addrs,
199 const struct sockaddr **addrs, 198 const struct sockaddr **addrs,
200 const socklen_t *addrlens, 199 const socklen_t *addrlens,