aboutsummaryrefslogtreecommitdiff
path: root/src/vpn
diff options
context:
space:
mode:
authorWillow Liquorice <willow@howhill.com>2022-09-04 03:23:05 +0100
committerWillow Liquorice <willow@howhill.com>2022-10-03 00:44:33 +0100
commit35775fc6b5b10d7e06703a3beb5cc7ae6d133af7 (patch)
tree82c291b96fd784b9496f6a4025e1fe4659aa0927 /src/vpn
parent5f00aea2b3f7e5054e1467178ae62dccc8a5012d (diff)
downloadgnunet-35775fc6b5b10d7e06703a3beb5cc7ae6d133af7.tar.gz
gnunet-35775fc6b5b10d7e06703a3beb5cc7ae6d133af7.zip
-DOC: Minor comment stripping pass through VPN
Diffstat (limited to 'src/vpn')
-rw-r--r--src/vpn/vpn_api.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/vpn/vpn_api.c b/src/vpn/vpn_api.c
index 3f7d9d000..8a3464786 100644
--- a/src/vpn/vpn_api.c
+++ b/src/vpn/vpn_api.c
@@ -384,28 +384,6 @@ GNUNET_VPN_cancel_request (struct GNUNET_VPN_RedirectionRequest *rr)
384} 384}
385 385
386 386
387/**
388 * Tell the VPN that a forwarding to a particular peer offering a
389 * particular service is requested. The VPN is to reserve a
390 * particular IP for the redirection and return it. The VPN will
391 * begin the redirection as soon as possible and maintain it as long
392 * as it is actively used and keeping it is feasible. Given resource
393 * limitations, the longest inactive mappings will be destroyed.
394 *
395 * @param vh VPN handle
396 * @param result_af desired address family for the returned allocation
397 * can also be AF_UNSPEC
398 * @param protocol protocol, IPPROTO_UDP or IPPROTO_TCP
399 * @param peer target peer for the redirection
400 * @param serv service descriptor to give to the peer
401 * @param expiration_time at what time should the redirection expire?
402 * (this should not impact connections that are active at that time)
403 * @param cb function to call with the IP
404 * @param cb_cls closure for @a cb
405 * @return handle to cancel the request (means the callback won't be
406 * invoked anymore; the mapping may or may not be established
407 * anyway)
408 */
409struct GNUNET_VPN_RedirectionRequest * 387struct GNUNET_VPN_RedirectionRequest *
410GNUNET_VPN_redirect_to_peer (struct GNUNET_VPN_Handle *vh, 388GNUNET_VPN_redirect_to_peer (struct GNUNET_VPN_Handle *vh,
411 int result_af, 389 int result_af,