25#include <pedigree/kernel/compiler.h>
26#include <pedigree/kernel/processor/types.h>
31typedef uint16_t sa_family_t;
33#define LWIP_TIMEVAL_PRIVATE 0
35#include <pedigree/kernel/utilities/assert.h>
36#include <pedigree/kernel/utilities/utility.h>
40typedef uint16_t u16_t;
41typedef uint32_t u32_t;
47typedef intptr_t mem_ptr_t;
50typedef int sys_prot_t;
62#define LWIP_CHKSUM_ALGORITHM 2
67#define LWIP_PLATFORM_DIAG(msg) printf msg ; fflush(stdout);
68#define LWIP_PLATFORM_ASSERT(msg) fprintf(stderr, "Assertion failed; %s:%d %s\n", __FILE__, __LINE__, msg); assert(0)
70#define LWIP_PLATFORM_DIAG(msg) Noticef msg ;
71#define LWIP_PLATFORM_ASSERT(msg) Errorf("Assertion failed; %s:%d %s", __FILE__, __LINE__, msg); assert(0)
74#define PACK_STRUCT_STRUCT PACKED
76#define LWIP_NO_STDINT_H 1
78#define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL
83#define ETHARP_DEBUG LWIP_DBG_ON
84#define NETIF_DEBUG LWIP_DBG_ON
85#define PBUF_DEBUG LWIP_DBG_ON
86#define MEM_DEBUG LWIP_DBG_ON
87#define MEMP_DEBUG LWIP_DBG_ON
88#define IP_DEBUG LWIP_DBG_ON
89#define INET_DEBUG LWIP_DBG_ON
90#define TCP_DEBUG LWIP_DBG_ON
91#define TCPIP_DEBUG LWIP_DBG_ON