21 #ifndef LWIP_ARCH_CC_H 22 #define LWIP_ARCH_CC_H 24 #include <pedigree/kernel/compiler.h> 25 #include <pedigree/kernel/processor/types.h> 30 typedef uint16_t sa_family_t;
32 #define LWIP_TIMEVAL_PRIVATE 0 34 #include <pedigree/kernel/utilities/assert.h> 35 #include <pedigree/kernel/utilities/utility.h> 39 typedef uint16_t u16_t;
40 typedef uint32_t u32_t;
43 typedef int16_t s16_t;
44 typedef int32_t s32_t;
46 typedef intptr_t mem_ptr_t;
49 typedef int sys_prot_t;
61 #define LWIP_CHKSUM_ALGORITHM 2 66 #define LWIP_PLATFORM_DIAG(msg) printf msg ; fflush(stdout); 67 #define LWIP_PLATFORM_ASSERT(msg) fprintf(stderr, "Assertion failed; %s:%d %s\n", __FILE__, __LINE__, msg); assert(0) 69 #define LWIP_PLATFORM_DIAG(msg) Noticef msg ; 70 #define LWIP_PLATFORM_ASSERT(msg) Errorf("Assertion failed; %s:%d %s", __FILE__, __LINE__, msg); assert(0) 73 #define PACK_STRUCT_STRUCT PACKED 75 #define LWIP_NO_STDINT_H 1 77 #define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL 82 #define ETHARP_DEBUG LWIP_DBG_ON 83 #define NETIF_DEBUG LWIP_DBG_ON 84 #define PBUF_DEBUG LWIP_DBG_ON 85 #define MEM_DEBUG LWIP_DBG_ON 86 #define MEMP_DEBUG LWIP_DBG_ON 87 #define IP_DEBUG LWIP_DBG_ON 88 #define INET_DEBUG LWIP_DBG_ON 89 #define TCP_DEBUG LWIP_DBG_ON 90 #define TCPIP_DEBUG LWIP_DBG_ON 93 #endif // LWIP_ARCH_CC_H