Commit 2a285225 authored by garciay's avatar garciay
Browse files

STF538: Certificate TPs implementation

parent aabeddd0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2,14 +2,14 @@

#include <sys/types.h>
#include <sys/socket.h>
#if (OSTYPE == cygwin)
#if !defined(LINUX)
#include <netdb.h>
#include <w32api/winsock2.h>
#else
#else // LINUX
#include <netinet/ether.h> // Used for raw sockets
#include <net/ethernet.h> // Used for raw sockets
#include <linux/if_packet.h> // Used for raw sockets
#endif
#endif // LINUX
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
+3 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
#define UDP_LAYER_H

#include <arpa/inet.h>
#if (OSTYPE == cygwin)
#if !defined(LINUX)
#include <netdb.h>
#include <w32api/winsock2.h>
/*struct iphdr {
@@ -26,9 +26,10 @@
         u_int  daddr;
         //The options start here.
};*/
#else
#else // LINUX
#include <linux/ip.h>
#include <linux/udp.h>
#endif // LINUX

#include "TLayer.hh"
#include "Params.hh"