aboutsummaryrefslogtreecommitdiff
path: root/src/nat
diff options
context:
space:
mode:
authorWillow Liquorice <willow@howhill.com>2022-09-04 03:20:34 +0100
committerWillow Liquorice <willow@howhill.com>2022-10-03 00:44:32 +0100
commit09daf5df43821934cfc6eb0bf4f5d8fb714986fb (patch)
tree5f80061e44afd6108804d53f8375caa3182169b7 /src/nat
parent4be37a584715fd817b0d0f19158f21670bb21e1a (diff)
downloadgnunet-09daf5df43821934cfc6eb0bf4f5d8fb714986fb.tar.gz
gnunet-09daf5df43821934cfc6eb0bf4f5d8fb714986fb.zip
-DOC: Comment stripping pass through NAT service
Diffstat (limited to 'src/nat')
-rw-r--r--src/nat/gnunet-service-nat_helper.c10
-rw-r--r--src/nat/gnunet-service-nat_mini.c8
2 files changed, 0 insertions, 18 deletions
diff --git a/src/nat/gnunet-service-nat_helper.c b/src/nat/gnunet-service-nat_helper.c
index bd1645d25..d92f5a99c 100644
--- a/src/nat/gnunet-service-nat_helper.c
+++ b/src/nat/gnunet-service-nat_helper.c
@@ -265,16 +265,6 @@ restart_nat_server (void *cls)
265} 265}
266 266
267 267
268/**
269 * Start the gnunet-helper-nat-server and process incoming
270 * requests.
271 *
272 * @param internal_address
273 * @param cb function to call if we receive a request
274 * @param cb_cls closure for @a cb
275 * @param cfg Handle to the GNUnet configuration
276 * @return NULL on error
277 */
278struct HelperContext * 268struct HelperContext *
279GN_start_gnunet_nat_server_ (const struct in_addr *internal_address, 269GN_start_gnunet_nat_server_ (const struct in_addr *internal_address,
280 GN_ReversalCallback cb, 270 GN_ReversalCallback cb,
diff --git a/src/nat/gnunet-service-nat_mini.c b/src/nat/gnunet-service-nat_mini.c
index ba43946cd..1e13e3814 100644
--- a/src/nat/gnunet-service-nat_mini.c
+++ b/src/nat/gnunet-service-nat_mini.c
@@ -639,14 +639,6 @@ process_unmap_output (void *cls, const char *line)
639} 639}
640 640
641 641
642/**
643 * Remove a mapping created with (mini)upnpc. Calling
644 * this function will give 'upnpc' 1s to remove tha mapping,
645 * so while this function is non-blocking, a task will be
646 * left with the scheduler for up to 1s past this call.
647 *
648 * @param mini the handle
649 */
650void 642void
651GNUNET_NAT_mini_map_stop (struct GNUNET_NAT_MiniHandle *mini) 643GNUNET_NAT_mini_map_stop (struct GNUNET_NAT_MiniHandle *mini)
652{ 644{