Loading ccsrc/Protocols/RawSocket/RawSocketLayer.hh +3 −3 Original line number Diff line number Diff line Loading @@ -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> Loading ccsrc/Protocols/UDP/UdpLayer.hh +3 −2 Original line number Diff line number Diff line Loading @@ -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 { Loading @@ -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" Loading Loading
ccsrc/Protocols/RawSocket/RawSocketLayer.hh +3 −3 Original line number Diff line number Diff line Loading @@ -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> Loading
ccsrc/Protocols/UDP/UdpLayer.hh +3 −2 Original line number Diff line number Diff line Loading @@ -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 { Loading @@ -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" Loading