aboutsummaryrefslogtreecommitdiff
path: root/src/nat/nat.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-09-02 14:44:42 +0000
committerChristian Grothoff <christian@grothoff.org>2011-09-02 14:44:42 +0000
commite1fda8a5d8674328afa61cc50842fdbd2a7044ba (patch)
treeb36e7c638c5b0cb94a693376419959f12d84b84c /src/nat/nat.c
parent012cb16a93acbfca1119966d5b4679b99e5c9125 (diff)
downloadgnunet-e1fda8a5d8674328afa61cc50842fdbd2a7044ba.tar.gz
gnunet-e1fda8a5d8674328afa61cc50842fdbd2a7044ba.zip
doxygen
Diffstat (limited to 'src/nat/nat.c')
-rw-r--r--src/nat/nat.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nat/nat.c b/src/nat/nat.c
index 891613fea..925838496 100644
--- a/src/nat/nat.c
+++ b/src/nat/nat.c
@@ -369,7 +369,7 @@ start_gnunet_nat_server (struct GNUNET_NAT_Handle *h);
369 * Remove all addresses from the list of 'local' addresses 369 * Remove all addresses from the list of 'local' addresses
370 * that originated from the given source. 370 * that originated from the given source.
371 * 371 *
372 * @param plugin the plugin 372 * @param h handle to NAT
373 * @param src source that identifies addresses to remove 373 * @param src source that identifies addresses to remove
374 */ 374 */
375static void 375static void
@@ -398,7 +398,7 @@ remove_from_address_list_by_source (struct GNUNET_NAT_Handle *h,
398 * Add the given address to the list of 'local' addresses, thereby 398 * Add the given address to the list of 'local' addresses, thereby
399 * making it a 'legal' address for this peer to have. 399 * making it a 'legal' address for this peer to have.
400 * 400 *
401 * @param plugin the plugin 401 * @param h handle to NAT
402 * @param src where did the local address originate from? 402 * @param src where did the local address originate from?
403 * @param arg the address, some 'struct sockaddr' 403 * @param arg the address, some 'struct sockaddr'
404 * @param arg_size number of bytes in arg 404 * @param arg_size number of bytes in arg
@@ -432,7 +432,7 @@ add_to_address_list_as_is (struct GNUNET_NAT_Handle *h,
432 * port number in the process to the advertised port and possibly 432 * port number in the process to the advertised port and possibly
433 * also to zero (if we have the gnunet-helper-nat-server). 433 * also to zero (if we have the gnunet-helper-nat-server).
434 * 434 *
435 * @param plugin the plugin 435 * @param h handle to NAT
436 * @param src where did the local address originate from? 436 * @param src where did the local address originate from?
437 * @param arg the address, some 'struct sockaddr' 437 * @param arg the address, some 'struct sockaddr'
438 * @param arg_size number of bytes in arg 438 * @param arg_size number of bytes in arg
@@ -483,10 +483,10 @@ add_to_address_list (struct GNUNET_NAT_Handle *h, enum LocalAddressSource src,
483 * Add the given IP address to the list of 'local' addresses, thereby 483 * Add the given IP address to the list of 'local' addresses, thereby
484 * making it a 'legal' address for this peer to have. 484 * making it a 'legal' address for this peer to have.
485 * 485 *
486 * @param plugin the plugin 486 * @param h handle to NAT
487 * @param src where did the local address originate from? 487 * @param src where did the local address originate from?
488 * @param arg the address, some 'struct in_addr' or 'struct in6_addr' 488 * @param addr the address, some 'struct in_addr' or 'struct in6_addr'
489 * @param arg_size number of bytes in arg 489 * @param addrlen number of bytes in addr
490 */ 490 */
491static void 491static void
492add_ip_to_address_list (struct GNUNET_NAT_Handle *h, 492add_ip_to_address_list (struct GNUNET_NAT_Handle *h,
@@ -1035,8 +1035,8 @@ add_from_bind (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
1035 * @param adv_port advertised port (port we are either bound to or that our OS 1035 * @param adv_port advertised port (port we are either bound to or that our OS
1036 * locally performs redirection from to our bound port). 1036 * locally performs redirection from to our bound port).
1037 * @param num_addrs number of addresses in 'addrs' 1037 * @param num_addrs number of addresses in 'addrs'
1038 * @param addr the local address packets should be redirected to 1038 * @param addrs the local addresses packets should be redirected to
1039 * @param addrlen actual lenght of the address 1039 * @param addrlens actual lengths of the addresses
1040 * @param address_callback function to call everytime the public IP address changes 1040 * @param address_callback function to call everytime the public IP address changes
1041 * @param reversal_callback function to call if someone wants connection reversal from us 1041 * @param reversal_callback function to call if someone wants connection reversal from us
1042 * @param callback_cls closure for callbacks 1042 * @param callback_cls closure for callbacks