[TCPIP]
[reactos.git] / reactos / drivers / network / tcpip / include / tcpip.h
index a9fefc9..9b07784 100644 (file)
@@ -11,8 +11,8 @@
  *                - Neighbor cache lock
  *                - Route cache lock
  */
-#ifndef __TCPIP_H
-#define __TCPIP_H
+
+#pragma once
 
 #ifdef _MSC_VER
 #include <basetsd.h>
@@ -135,19 +135,9 @@ struct in_addr
 #define s_impno S_un.S_un_b.s_b4
 #define s_lh    S_un.S_un_b.s_b3
 };
-struct sockaddr_in
-{
-    short sin_family;
-    u_short sin_port;
-    struct in_addr sin_addr;
-    char sin_zero[8];
-};
-typedef struct sockaddr_in SOCKADDR_IN;
-struct sockaddr
-{
-    u_short sa_family;
-    char sa_data[14];
-};
+
+#define __LWIP_INET_H__
+#include "lwip/sockets.h"
 
 /* Sufficient information to manage the entity list */
 typedef struct {
@@ -180,6 +170,4 @@ extern ULONG EntityMax;
 extern NTSTATUS TiGetProtocolNumber( PUNICODE_STRING FileName,
                                     PULONG Protocol );
 
-#endif /* __TCPIP_H */
-
 /* EOF */