* - Neighbor cache lock
* - Route cache lock
*/
-#ifndef __TCPIP_H
-#define __TCPIP_H
+
+#pragma once
#ifdef _MSC_VER
#include <basetsd.h>
#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];
-};
-typedef TDI_STATUS (*InfoRequest_f)( UINT InfoClass,
- UINT InfoType,
- UINT InfoId,
- PVOID Context,
- TDIEntityID *id,
- PNDIS_BUFFER Buffer,
- PUINT BufferSize );
-
-typedef TDI_STATUS (*InfoSet_f)( UINT InfoClass,
- UINT InfoType,
- UINT InfoId,
- PVOID Context,
- TDIEntityID *id,
- PCHAR Buffer,
- UINT BufferSize );
+#define __LWIP_INET_H__
+#include "lwip/sockets.h"
/* Sufficient information to manage the entity list */
typedef struct {
UINT tei_entity;
UINT tei_instance;
PVOID context;
- InfoRequest_f info_req;
- InfoSet_f info_set;
+ UINT flags;
} TDIEntityInfo;
#ifndef htons
extern NTSTATUS TiGetProtocolNumber( PUNICODE_STRING FileName,
PULONG Protocol );
-#endif /* __TCPIP_H */
-
/* EOF */