#include "gnunet_protocols.h"
#include "nat.h"
-#define DEBUG_NAT GNUNET_NO
/**
* Our server.
* Task called by the scheduler once we can do the TCP send
* (or once we failed to connect...).
*
- * @param ctx the 'struct TcpContext'
+ * @param cls the 'struct TcpContext'
* @param tc scheduler context
*/
static void
* Try to send 'data' to the
* IP 'dst_ipv4' at port 'dport' via TCP.
*
- * @param dst_ivp4 target IP
+ * @param dst_ipv4 target IP
* @param dport target port
* @param data data to send
*/
* Try to send 'data' to the
* IP 'dst_ipv4' at port 'dport' via UDP.
*
- * @param dst_ivp4 target IP
+ * @param dst_ipv4 target IP
* @param dport target port
* @param data data to send
*/
/**
* Task run during shutdown.
*
- * @param ctx unused
+ * @param cls unused
* @param tc scheduler context
*/
static void
if ((args[0] == NULL) || (1 != SSCANF (args[0], "%u", &port)) || (0 == port)
|| (65536 <= port))
{
- fprintf (stderr,
+ FPRINTF (stderr,
_
("Please pass valid port number as the first argument! (got `%s')\n"),
args[0]);