ProjetoBB

Dependencies:   F7_Ethernet WebSocketClient mbed mcp3008

Fork of Nucleo_F746ZG_Ethernet by Dieter Graef

Committer:
DieterGraef
Date:
Sat Jun 18 10:49:12 2016 +0000
Revision:
0:f9b6112278fe
Ethernet for the NUCLEO STM32F746 Board Testprogram uses DHCP and NTP to set the clock

Who changed what in which revision?

UserRevisionLine numberNew contents of line
DieterGraef 0:f9b6112278fe 1 //
DieterGraef 0:f9b6112278fe 2 // NET_DECL.H - header file for other ebs header files
DieterGraef 0:f9b6112278fe 3 //
DieterGraef 0:f9b6112278fe 4 //
DieterGraef 0:f9b6112278fe 5 // EBSnet - RTIP
DieterGraef 0:f9b6112278fe 6 //
DieterGraef 0:f9b6112278fe 7 // $Author: YOHANNES $
DieterGraef 0:f9b6112278fe 8 // $Date: 2007/11/21 12:00:00 $
DieterGraef 0:f9b6112278fe 9 // $Name: $
DieterGraef 0:f9b6112278fe 10 // $Revision: 1.1 $
DieterGraef 0:f9b6112278fe 11 //
DieterGraef 0:f9b6112278fe 12 // Copyright EBSnet Inc. , 2007
DieterGraef 0:f9b6112278fe 13 // All rights reserved.
DieterGraef 0:f9b6112278fe 14 // This code may not be redistributed in source or linkable object form
DieterGraef 0:f9b6112278fe 15 // without the consent of its author.
DieterGraef 0:f9b6112278fe 16 //
DieterGraef 0:f9b6112278fe 17 // Module description:
DieterGraef 0:f9b6112278fe 18 //
DieterGraef 0:f9b6112278fe 19 //
DieterGraef 0:f9b6112278fe 20
DieterGraef 0:f9b6112278fe 21 #ifndef _NET_DECL_H_
DieterGraef 0:f9b6112278fe 22 #define _NET_DECL_H_
DieterGraef 0:f9b6112278fe 23
DieterGraef 0:f9b6112278fe 24 #include <tinyhal.h>
DieterGraef 0:f9b6112278fe 25 #include "network_defines.h"
DieterGraef 0:f9b6112278fe 26
DieterGraef 0:f9b6112278fe 27 #ifdef PLATFORM_DEPENDENT__NETWORK_MEMORY_POOL__SIZE
DieterGraef 0:f9b6112278fe 28 #define NETWORK_MEMORY_POOL__SIZE PLATFORM_DEPENDENT__NETWORK_MEMORY_POOL__SIZE
DieterGraef 0:f9b6112278fe 29 #else
DieterGraef 0:f9b6112278fe 30 #define NETWORK_MEMORY_POOL__SIZE NETWORK_MEMORY_POOL__SIZE__default
DieterGraef 0:f9b6112278fe 31 #endif
DieterGraef 0:f9b6112278fe 32
DieterGraef 0:f9b6112278fe 33 #ifdef PLATFORM_DEPENDENT__NETWORK_PACKET_POOL_0__NUM_PACKETS
DieterGraef 0:f9b6112278fe 34 #define NETWORK_PACKET_POOL_0__NUM_PACKETS PLATFORM_DEPENDENT__NETWORK_PACKET_POOL_0__NUM_PACKETS
DieterGraef 0:f9b6112278fe 35 #else
DieterGraef 0:f9b6112278fe 36 #define NETWORK_PACKET_POOL_0__NUM_PACKETS NETWORK_PACKET_POOL_0__NUM_PACKETS__default
DieterGraef 0:f9b6112278fe 37 #endif
DieterGraef 0:f9b6112278fe 38
DieterGraef 0:f9b6112278fe 39 #ifdef PLATFORM_DEPENDENT__NETWORK_PACKET_POOL_1__NUM_PACKETS
DieterGraef 0:f9b6112278fe 40 #define NETWORK_PACKET_POOL_1__NUM_PACKETS PLATFORM_DEPENDENT__NETWORK_PACKET_POOL_1__NUM_PACKETS
DieterGraef 0:f9b6112278fe 41 #else
DieterGraef 0:f9b6112278fe 42 #define NETWORK_PACKET_POOL_1__NUM_PACKETS NETWORK_PACKET_POOL_1__NUM_PACKETS__default
DieterGraef 0:f9b6112278fe 43 #endif
DieterGraef 0:f9b6112278fe 44
DieterGraef 0:f9b6112278fe 45 #ifdef PLATFORM_DEPENDENT__NETWORK_PACKET_POOL_2__NUM_PACKETS
DieterGraef 0:f9b6112278fe 46 #define NETWORK_PACKET_POOL_2__NUM_PACKETS PLATFORM_DEPENDENT__NETWORK_PACKET_POOL_2__NUM_PACKETS
DieterGraef 0:f9b6112278fe 47 #else
DieterGraef 0:f9b6112278fe 48 #define NETWORK_PACKET_POOL_2__NUM_PACKETS NETWORK_PACKET_POOL_2__NUM_PACKETS__default
DieterGraef 0:f9b6112278fe 49 #endif
DieterGraef 0:f9b6112278fe 50
DieterGraef 0:f9b6112278fe 51 #ifdef PLATFORM_DEPENDENT__NETWORK_PACKET_POOL_3__NUM_PACKETS
DieterGraef 0:f9b6112278fe 52 #define NETWORK_PACKET_POOL_3__NUM_PACKETS PLATFORM_DEPENDENT__NETWORK_PACKET_POOL_3__NUM_PACKETS
DieterGraef 0:f9b6112278fe 53 #else
DieterGraef 0:f9b6112278fe 54 #define NETWORK_PACKET_POOL_3__NUM_PACKETS NETWORK_PACKET_POOL_3__NUM_PACKETS__default
DieterGraef 0:f9b6112278fe 55 #endif
DieterGraef 0:f9b6112278fe 56
DieterGraef 0:f9b6112278fe 57 #ifdef PLATFORM_DEPENDENT__NETWORK_PACKET_POOL_4__NUM_PACKETS
DieterGraef 0:f9b6112278fe 58 #define NETWORK_PACKET_POOL_4__NUM_PACKETS PLATFORM_DEPENDENT__NETWORK_PACKET_POOL_4__NUM_PACKETS
DieterGraef 0:f9b6112278fe 59 #else
DieterGraef 0:f9b6112278fe 60 #define NETWORK_PACKET_POOL_4__NUM_PACKETS NETWORK_PACKET_POOL_4__NUM_PACKETS__default
DieterGraef 0:f9b6112278fe 61 #endif
DieterGraef 0:f9b6112278fe 62
DieterGraef 0:f9b6112278fe 63 #ifdef PLATFORM_DEPENDENT__NETWORK_PACKET_POOL_5__NUM_PACKETS
DieterGraef 0:f9b6112278fe 64 #define NETWORK_PACKET_POOL_5__NUM_PACKETS PLATFORM_DEPENDENT__NETWORK_PACKET_POOL_5__NUM_PACKETS
DieterGraef 0:f9b6112278fe 65 #else
DieterGraef 0:f9b6112278fe 66 #define NETWORK_PACKET_POOL_5__NUM_PACKETS NETWORK_PACKET_POOL_5__NUM_PACKETS__default
DieterGraef 0:f9b6112278fe 67 #endif
DieterGraef 0:f9b6112278fe 68
DieterGraef 0:f9b6112278fe 69 //--//
DieterGraef 0:f9b6112278fe 70
DieterGraef 0:f9b6112278fe 71 #ifdef PLATFORM_DEPENDENT__NETWORK_NUM_IFACES
DieterGraef 0:f9b6112278fe 72 #define NETWORK_NUM_IFACES PLATFORM_DEPENDENT__NETWORK_NUM_IFACES
DieterGraef 0:f9b6112278fe 73 #else
DieterGraef 0:f9b6112278fe 74 #define NETWORK_NUM_IFACES NETWORK_NUM_IFACES__default
DieterGraef 0:f9b6112278fe 75 #endif
DieterGraef 0:f9b6112278fe 76
DieterGraef 0:f9b6112278fe 77 #ifdef PLATFORM_DEPENDENT__NETWORK_NUM_DEVICES
DieterGraef 0:f9b6112278fe 78 #define NETWORK_NUM_DEVICES PLATFORM_DEPENDENT__NETWORK_NUM_DEVICES
DieterGraef 0:f9b6112278fe 79 #else
DieterGraef 0:f9b6112278fe 80 #define NETWORK_NUM_DEVICES NETWORK_NUM_DEVICES__default
DieterGraef 0:f9b6112278fe 81 #endif
DieterGraef 0:f9b6112278fe 82
DieterGraef 0:f9b6112278fe 83 #ifdef PLATFORM_DEPENDENT__NETWORK_MULTICAST_LIST_SIZE
DieterGraef 0:f9b6112278fe 84 #define NETWORK_MULTICAST_LIST_SIZE PLATFORM_DEPENDENT__NETWORK_MULTICAST_LIST_SIZE
DieterGraef 0:f9b6112278fe 85 #else
DieterGraef 0:f9b6112278fe 86 #define NETWORK_MULTICAST_LIST_SIZE NETWORK_MULTICAST_LIST_SIZE__default
DieterGraef 0:f9b6112278fe 87 #endif
DieterGraef 0:f9b6112278fe 88
DieterGraef 0:f9b6112278fe 89 #ifdef PLATFORM_DEPENDENT__NETWORK_ROUTINGTABLE_SIZE
DieterGraef 0:f9b6112278fe 90 #define NETWORK_ROUTINGTABLE_SIZE PLATFORM_DEPENDENT__NETWORK_ROUTINGTABLE_SIZE
DieterGraef 0:f9b6112278fe 91 #else
DieterGraef 0:f9b6112278fe 92 #define NETWORK_ROUTINGTABLE_SIZE NETWORK_ROUTINGTABLE_SIZE__default
DieterGraef 0:f9b6112278fe 93 #endif
DieterGraef 0:f9b6112278fe 94
DieterGraef 0:f9b6112278fe 95 #ifdef PLATFORM_DEPENDENT__NETWORK_ARP_NUM_TABLE_ENTRIES
DieterGraef 0:f9b6112278fe 96 #define NETWORK_ARP_NUM_TABLE_ENTRIES PLATFORM_DEPENDENT__NETWORK_ARP_NUM_TABLE_ENTRIES
DieterGraef 0:f9b6112278fe 97 #else
DieterGraef 0:f9b6112278fe 98 #define NETWORK_ARP_NUM_TABLE_ENTRIES NETWORK_ARP_NUM_TABLE_ENTRIES__default
DieterGraef 0:f9b6112278fe 99 #endif
DieterGraef 0:f9b6112278fe 100
DieterGraef 0:f9b6112278fe 101 #ifdef PLATFORM_DEPENDENT__NETWORK_FRAG_TABLE_SIZE
DieterGraef 0:f9b6112278fe 102 #define NETWORK_FRAG_TABLE_SIZE PLATFORM_DEPENDENT__NETWORK_FRAG_TABLE_SIZE
DieterGraef 0:f9b6112278fe 103 #else
DieterGraef 0:f9b6112278fe 104 #define NETWORK_FRAG_TABLE_SIZE NETWORK_FRAG_TABLE_SIZE__default
DieterGraef 0:f9b6112278fe 105 #endif
DieterGraef 0:f9b6112278fe 106
DieterGraef 0:f9b6112278fe 107 #ifdef PLATFORM_DEPENDENT__NETWORK_NAT_NUM_ENTRIES
DieterGraef 0:f9b6112278fe 108 #define NETWORK_NAT_NUM_ENTRIES PLATFORM_DEPENDENT__NETWORK_NAT_NUM_ENTRIES
DieterGraef 0:f9b6112278fe 109 #else
DieterGraef 0:f9b6112278fe 110 #define NETWORK_NAT_NUM_ENTRIES NETWORK_NAT_NUM_ENTRIES__default
DieterGraef 0:f9b6112278fe 111 #endif
DieterGraef 0:f9b6112278fe 112
DieterGraef 0:f9b6112278fe 113 #ifdef PLATFORM_DEPENDENT__NETWORK_TCP_NUM_PORTS__SUPPORTED
DieterGraef 0:f9b6112278fe 114 #define NETWORK_TCP_NUM_PORTS__SUPPORTED PLATFORM_DEPENDENT__NETWORK_TCP_NUM_PORTS__SUPPORTED
DieterGraef 0:f9b6112278fe 115 #else
DieterGraef 0:f9b6112278fe 116 #define NETWORK_TCP_NUM_PORTS__SUPPORTED NETWORK_TCP_NUM_PORTS__SUPPORTED__default
DieterGraef 0:f9b6112278fe 117 #endif
DieterGraef 0:f9b6112278fe 118
DieterGraef 0:f9b6112278fe 119 #ifdef PLATFORM_DEPENDENT__NETWORK_UDP_NUM_PORTS__SUPPORTED
DieterGraef 0:f9b6112278fe 120 #define NETWORK_UDP_NUM_PORTS__SUPPORTED PLATFORM_DEPENDENT__NETWORK_UDP_NUM_PORTS__SUPPORTED
DieterGraef 0:f9b6112278fe 121 #else
DieterGraef 0:f9b6112278fe 122 #define NETWORK_UDP_NUM_PORTS__SUPPORTED NETWORK_UDP_NUM_PORTS__SUPPORTED__default
DieterGraef 0:f9b6112278fe 123 #endif
DieterGraef 0:f9b6112278fe 124
DieterGraef 0:f9b6112278fe 125 #ifdef PLATFORM_DEPENDENT__NETWORK_DHCP_RETRIES
DieterGraef 0:f9b6112278fe 126 #define NETWORK_DHCP_RETRIES PLATFORM_DEPENDENT__NETWORK_DHCP_RETRIES
DieterGraef 0:f9b6112278fe 127 #else
DieterGraef 0:f9b6112278fe 128 #define NETWORK_DHCP_RETRIES NETWORK_DHCP_RETRIES__default
DieterGraef 0:f9b6112278fe 129 #endif
DieterGraef 0:f9b6112278fe 130
DieterGraef 0:f9b6112278fe 131 #ifdef PLATFORM_DEPENDENT__NETWORK_DHCP_TIMEOUT
DieterGraef 0:f9b6112278fe 132 #define NETWORK_DHCP_TIMEOUT PLATFORM_DEPENDENT__NETWORK_DHCP_TIMEOUT
DieterGraef 0:f9b6112278fe 133 #else
DieterGraef 0:f9b6112278fe 134 #define NETWORK_DHCP_TIMEOUT NETWORK_DHCP_TIMEOUT__default
DieterGraef 0:f9b6112278fe 135 #endif
DieterGraef 0:f9b6112278fe 136
DieterGraef 0:f9b6112278fe 137 #ifdef PLATFORM_DEPENDENT__NETWORK_IGMPV1_MAX_DELAY
DieterGraef 0:f9b6112278fe 138 #define NETWORK_IGMPV1_MAX_DELAY PLATFORM_DEPENDENT__NETWORK_IGMPV1_MAX_DELAY
DieterGraef 0:f9b6112278fe 139 #else
DieterGraef 0:f9b6112278fe 140 #define NETWORK_IGMPV1_MAX_DELAY NETWORK_IGMPV1_MAX_DELAY__default
DieterGraef 0:f9b6112278fe 141 #endif
DieterGraef 0:f9b6112278fe 142
DieterGraef 0:f9b6112278fe 143 #ifdef PLATFORM_DEPENDENT__NETWORK_ARP_REQ_TIMEOUT
DieterGraef 0:f9b6112278fe 144 #define NETWORK_ARP_REQ_TIMEOUT PLATFORM_DEPENDENT__NETWORK_ARP_REQ_TIMEOUT
DieterGraef 0:f9b6112278fe 145 #else
DieterGraef 0:f9b6112278fe 146 #define NETWORK_ARP_REQ_TIMEOUT NETWORK_ARP_REQ_TIMEOUT__default
DieterGraef 0:f9b6112278fe 147 #endif
DieterGraef 0:f9b6112278fe 148
DieterGraef 0:f9b6112278fe 149 #ifdef PLATFORM_DEPENDENT__NETWORK_ARP_MAX_RETRIES
DieterGraef 0:f9b6112278fe 150 #define NETWORK_ARP_MAX_RETRIES PLATFORM_DEPENDENT__NETWORK_ARP_MAX_RETRIES
DieterGraef 0:f9b6112278fe 151 #else
DieterGraef 0:f9b6112278fe 152 #define NETWORK_ARP_MAX_RETRIES NETWORK_ARP_MAX_RETRIES__default
DieterGraef 0:f9b6112278fe 153 #endif
DieterGraef 0:f9b6112278fe 154
DieterGraef 0:f9b6112278fe 155 #ifdef PLATFORM_DEPENDENT__NETWORK_ARP_RES_TIMEOUT
DieterGraef 0:f9b6112278fe 156 #define NETWORK_ARP_RES_TIMEOUT PLATFORM_DEPENDENT__NETWORK_ARP_RES_TIMEOUT
DieterGraef 0:f9b6112278fe 157 #else
DieterGraef 0:f9b6112278fe 158 #define NETWORK_ARP_RES_TIMEOUT NETWORK_ARP_RES_TIMEOUT__default
DieterGraef 0:f9b6112278fe 159 #endif
DieterGraef 0:f9b6112278fe 160
DieterGraef 0:f9b6112278fe 161 #ifdef PLATFORM_DEPENDENT__NETWORK_DNS_MIN_DELAY
DieterGraef 0:f9b6112278fe 162 #define NETWORK_DNS_MIN_DELAY PLATFORM_DEPENDENT__NETWORK_DNS_MIN_DELAY
DieterGraef 0:f9b6112278fe 163 #else
DieterGraef 0:f9b6112278fe 164 #define NETWORK_DNS_MIN_DELAY NETWORK_DNS_MIN_DELAY__default
DieterGraef 0:f9b6112278fe 165 #endif
DieterGraef 0:f9b6112278fe 166
DieterGraef 0:f9b6112278fe 167 #ifdef PLATFORM_DEPENDENT__NETWORK_DNS_MAX_DELAY
DieterGraef 0:f9b6112278fe 168 #define NETWORK_DNS_MAX_DELAY PLATFORM_DEPENDENT__NETWORK_DNS_MAX_DELAY
DieterGraef 0:f9b6112278fe 169 #else
DieterGraef 0:f9b6112278fe 170 #define NETWORK_DNS_MAX_DELAY NETWORK_DNS_MAX_DELAY__default
DieterGraef 0:f9b6112278fe 171 #endif
DieterGraef 0:f9b6112278fe 172
DieterGraef 0:f9b6112278fe 173 #ifdef PLATFORM_DEPENDENT__NETWORK_DNS_RETRIES
DieterGraef 0:f9b6112278fe 174 #define NETWORK_DNS_RETRIES PLATFORM_DEPENDENT__NETWORK_DNS_RETRIES
DieterGraef 0:f9b6112278fe 175 #else
DieterGraef 0:f9b6112278fe 176 #define NETWORK_DNS_RETRIES NETWORK_DNS_RETRIES__default
DieterGraef 0:f9b6112278fe 177 #endif
DieterGraef 0:f9b6112278fe 178
DieterGraef 0:f9b6112278fe 179 //--// RAM size estimate macro
DieterGraef 0:f9b6112278fe 180
DieterGraef 0:f9b6112278fe 181 // The following values are from the EBSNet RAM usage spreadsheet
DieterGraef 0:f9b6112278fe 182 #define _NETWORK_SIZEOF_NONE 4
DieterGraef 0:f9b6112278fe 183 // mclist_ip, mclist_eth, mcast_cnt, report_timer, last_host_toreply
DieterGraef 0:f9b6112278fe 184 #define _NETWORK_SIZEOF_MCLISTSIZE (4*3)
DieterGraef 0:f9b6112278fe 185 #define _NETWORK_SIZEOF_DCU 112
DieterGraef 0:f9b6112278fe 186 #define _NETWORK_SIZEOF_IFACE (380 + 28 + 84 + 4 + 4 + 16 + 16 + (8 * 8))
DieterGraef 0:f9b6112278fe 187 #define _NETWORK_SIZEOF_ROUTINGTABLE 56
DieterGraef 0:f9b6112278fe 188 #define _NETWORK_SIZEOF_ARP_ENTRY 28
DieterGraef 0:f9b6112278fe 189 #define _NETWORK_SIZEOF_TCPPORT (472 + 16 + (8*8))
DieterGraef 0:f9b6112278fe 190 #define _NETWORK_SIZEOF_UDPPORT (272 + 16 + (8*8))
DieterGraef 0:f9b6112278fe 191 #define _NETWORK_SIZEOF_FRAG_ENTRY 20
DieterGraef 0:f9b6112278fe 192 #define _NETWORK_SIZEOF_NAT_ENTRY 24
DieterGraef 0:f9b6112278fe 193 #define _NETWORK_SIZEOF_PACKET_OVERHEAD 1
DieterGraef 0:f9b6112278fe 194
DieterGraef 0:f9b6112278fe 195 #define _NETWORK_TOTAL_PACKET_COUNT (NETWORK_PACKET_POOL_0__NUM_PACKETS + \
DieterGraef 0:f9b6112278fe 196 NETWORK_PACKET_POOL_1__NUM_PACKETS + \
DieterGraef 0:f9b6112278fe 197 NETWORK_PACKET_POOL_2__NUM_PACKETS + \
DieterGraef 0:f9b6112278fe 198 NETWORK_PACKET_POOL_3__NUM_PACKETS + \
DieterGraef 0:f9b6112278fe 199 NETWORK_PACKET_POOL_4__NUM_PACKETS + \
DieterGraef 0:f9b6112278fe 200 NETWORK_PACKET_POOL_5__NUM_PACKETS)
DieterGraef 0:f9b6112278fe 201
DieterGraef 0:f9b6112278fe 202
DieterGraef 0:f9b6112278fe 203 #define NETWORK_RAM_SIZE_ESTIMATE() (\
DieterGraef 0:f9b6112278fe 204 _NETWORK_SIZEOF_NONE + \
DieterGraef 0:f9b6112278fe 205 NETWORK_MULTICAST_LIST_SIZE * (_NETWORK_SIZEOF_MCLISTSIZE) + \
DieterGraef 0:f9b6112278fe 206 NETWORK_PACKET_POOL_0__NUM_PACKETS * (NETWORK_PACKET_POOL_0__PACKET_SIZE + _NETWORK_SIZEOF_DCU) + \
DieterGraef 0:f9b6112278fe 207 NETWORK_PACKET_POOL_1__NUM_PACKETS * (NETWORK_PACKET_POOL_1__PACKET_SIZE + _NETWORK_SIZEOF_DCU) + \
DieterGraef 0:f9b6112278fe 208 NETWORK_PACKET_POOL_2__NUM_PACKETS * (NETWORK_PACKET_POOL_2__PACKET_SIZE + _NETWORK_SIZEOF_DCU) + \
DieterGraef 0:f9b6112278fe 209 NETWORK_PACKET_POOL_3__NUM_PACKETS * (NETWORK_PACKET_POOL_3__PACKET_SIZE + _NETWORK_SIZEOF_DCU) + \
DieterGraef 0:f9b6112278fe 210 NETWORK_PACKET_POOL_4__NUM_PACKETS * (NETWORK_PACKET_POOL_4__PACKET_SIZE + _NETWORK_SIZEOF_DCU) + \
DieterGraef 0:f9b6112278fe 211 NETWORK_PACKET_POOL_5__NUM_PACKETS * (NETWORK_PACKET_POOL_5__PACKET_SIZE + _NETWORK_SIZEOF_DCU) + \
DieterGraef 0:f9b6112278fe 212 _NETWORK_TOTAL_PACKET_COUNT * _NETWORK_SIZEOF_PACKET_OVERHEAD + \
DieterGraef 0:f9b6112278fe 213 NETWORK_NUM_IFACES * _NETWORK_SIZEOF_IFACE + \
DieterGraef 0:f9b6112278fe 214 NETWORK_ROUTINGTABLE_SIZE * _NETWORK_SIZEOF_ROUTINGTABLE + \
DieterGraef 0:f9b6112278fe 215 NETWORK_ARP_NUM_TABLE_ENTRIES * _NETWORK_SIZEOF_ARP_ENTRY + \
DieterGraef 0:f9b6112278fe 216 NETWORK_TCP_NUM_PORTS__SUPPORTED * _NETWORK_SIZEOF_TCPPORT + \
DieterGraef 0:f9b6112278fe 217 NETWORK_UDP_NUM_PORTS__SUPPORTED * _NETWORK_SIZEOF_UDPPORT + \
DieterGraef 0:f9b6112278fe 218 NETWORK_FRAG_TABLE_SIZE * _NETWORK_SIZEOF_FRAG_ENTRY + \
DieterGraef 0:f9b6112278fe 219 NETWORK_NAT_NUM_ENTRIES * _NETWORK_SIZEOF_NAT_ENTRY ) \
DieterGraef 0:f9b6112278fe 220
DieterGraef 0:f9b6112278fe 221
DieterGraef 0:f9b6112278fe 222 typedef char NETWORK_COMPILE_TIME_ASSERT[NETWORK_MEMORY_POOL__SIZE - NETWORK_RAM_SIZE_ESTIMATE()];
DieterGraef 0:f9b6112278fe 223
DieterGraef 0:f9b6112278fe 224
DieterGraef 0:f9b6112278fe 225 #endif //_NET_DECL_H_
DieterGraef 0:f9b6112278fe 226