[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r12598 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r12598 - gnunet/src/transport |
Date: |
Wed, 18 Aug 2010 15:05:51 +0200 |
Author: nevans
Date: 2010-08-18 15:05:51 +0200 (Wed, 18 Aug 2010)
New Revision: 12598
Modified:
gnunet/src/transport/gnunet-nat-server-windows.c
Log:
windows crappage
Modified: gnunet/src/transport/gnunet-nat-server-windows.c
===================================================================
--- gnunet/src/transport/gnunet-nat-server-windows.c 2010-08-18 13:02:10 UTC
(rev 12597)
+++ gnunet/src/transport/gnunet-nat-server-windows.c 2010-08-18 13:05:51 UTC
(rev 12598)
@@ -49,7 +49,8 @@
#include <arpa/inet.h>
#include <sys/select.h>
#include <netinet/ip.h>
-
+#include <netinet/ip_icmp.h>
+#include <netinet/in.h>
#endif
#include <sys/time.h>
#include <sys/types.h>
@@ -60,12 +61,15 @@
#include <stdlib.h>
#include <stdint.h>
#include <time.h>
-#include <netinet/ip_icmp.h>
-#include <netinet/in.h>
+
#ifdef WIN32
typedef SOCKET Socket;
typedef unsigned short ushort;
+#define ICMP_ECHO 8
+#define IPDEFTTL 64 /* default ttl, from RFC 1340 */
+#define ICMP_TIME_EXCEEDED 11 /* Time Exceeded */
+#define IP_HDRINCL 3 /* int; Header is included with data. */
#else
typedef int Socket;
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r12598 - gnunet/src/transport,
gnunet <=