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