test_nat_mini.c | test_nat_mini.c | |||
---|---|---|---|---|
skipping to change at line 38 | skipping to change at line 38 | |||
* TODO: actually use ARM to start resolver service to make DNS work! | * TODO: actually use ARM to start resolver service to make DNS work! | |||
*/ | */ | |||
#include "platform.h" | #include "platform.h" | |||
#include "gnunet_common.h" | #include "gnunet_common.h" | |||
#include "gnunet_util_lib.h" | #include "gnunet_util_lib.h" | |||
#include "gnunet_program_lib.h" | #include "gnunet_program_lib.h" | |||
#include "gnunet_scheduler_lib.h" | #include "gnunet_scheduler_lib.h" | |||
#include "gnunet_nat_lib.h" | #include "gnunet_nat_lib.h" | |||
#define VERBOSE GNUNET_EXTRA_LOGGING | #define VERBOSE GNUNET_NO | |||
/* Time to wait before stopping NAT, in seconds */ | /* Time to wait before stopping NAT, in seconds */ | |||
#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) | |||
/** | /** | |||
* Function called on each address that the NAT service | * Function called on each address that the NAT service | |||
* believes to be valid for the transport. | * believes to be valid for the transport. | |||
*/ | */ | |||
static void | static void | |||
addr_callback (void *cls, int add_remove, const struct sockaddr *addr, | addr_callback (void *cls, int add_remove, const struct sockaddr *addr, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |