Go to the documentation of this file.
38 #ifdef TCP_SYN_QUEUE_SIZE
39 #warning TCP_SYN_QUEUE_SIZE property is deprecated. TCP_DEFAULT_SYN_QUEUE_SIZE should be used instead.
40 #define TCP_DEFAULT_SYN_QUEUE_SIZE TCP_SYN_QUEUE_SIZE
43 #ifdef MAC_FILTER_MAX_SIZE
45 #define MAC_ADDR_FILTER_SIZE MAC_FILTER_MAX_SIZE
48 #ifdef IPV4_FILTER_MAX_SIZE
50 #define IPV4_MULTICAST_FILTER_SIZE IPV4_FILTER_MAX_SIZE
53 #ifdef IPV6_FILTER_MAX_SIZE
55 #define IPV6_MULTICAST_FILTER_SIZE IPV6_FILTER_MAX_SIZE
58 #ifdef IPV4_MAX_DNS_SERVERS
60 #define IPV4_DNS_SERVER_LIST_SIZE IPV4_MAX_DNS_SERVERS
63 #ifdef IPV6_MAX_DNS_SERVERS
65 #define IPV6_DNS_SERVER_LIST_SIZE IPV6_MAX_DNS_SERVERS
68 #ifdef NET_TICK_STACK_SIZE
69 #warning NET_TICK_STACK_SIZE property is deprecated and should be removed from net_config.h. The TCP/IP stack now uses a single task
72 #ifdef NET_TICK_PRIORITY
73 #warning NET_TICK_PRIORITY property is deprecated and should be removed from net_config.h. TCP/IP stack now uses a single task.
76 #ifdef NET_RX_STACK_SIZE
77 #warning NET_RX_STACK_SIZE property is deprecated since the TCP/IP stack now uses a single task. NET_TASK_STACK_SIZE should be used instead.
78 #define NET_TASK_STACK_SIZE NET_RX_STACK_SIZE
81 #ifdef NET_RX_PRIORITY
82 #warning NET_RX_PRIORITY property is deprecated since the TCP/IP stack now uses a single task. NET_TASK_PRIORITY should be used instead.
83 #define NET_TASK_PRIORITY NET_RX_PRIORITY
89 #define SOCKET_TYPE_RAW SOCKET_TYPE_RAW_IP
90 #define SOCKET_PROTOCOL_ICMP SOCKET_IP_PROTO_ICMP
91 #define SOCKET_PROTOCOL_IGMP SOCKET_IP_PROTO_IGMP
92 #define SOCKET_PROTOCOL_TCP SOCKET_IP_PROTO_TCP
93 #define SOCKET_PROTOCOL_UDP SOCKET_IP_PROTO_UDP
94 #define SOCKET_PROTOCOL_ICMPV6 SOCKET_IP_PROTO_ICMPV6
96 #ifdef SMTP_DEFAULT_TIMEOUT
97 #define SMTP_CLIENT_DEFAULT_TIMEOUT SMTP_DEFAULT_TIMEOUT
100 #ifdef SMTP_MAX_LINE_LENGTH
101 #define SMTP_CLIENT_MAX_LINE_LENGTH SMTP_MAX_LINE_LENGTH
104 #ifdef SMTP_TLS_SUPPORT
105 #define SMTP_CLIENT_TLS_SUPPORT SMTP_TLS_SUPPORT
108 #ifdef SMTP_LOGIN_AUTH_SUPPORT
109 #define SMTP_CLIENT_LOGIN_AUTH_SUPPORT SMTP_LOGIN_AUTH_SUPPORT
112 #ifdef SMTP_PLAIN_AUTH_SUPPORT
113 #define SMTP_CLIENT_PLAIN_AUTH_SUPPORT SMTP_PLAIN_AUTH_SUPPORT
116 #ifdef SMTP_CRAM_MD5_AUTH_SUPPORT
117 #define SMTP_CLIENT_CRAM_MD5_AUTH_SUPPORT SMTP_CRAM_MD5_AUTH_SUPPORT
120 #define DhcpClientCtx DhcpClientContext
121 #define Dhcpv6ClientCtx Dhcpv6ClientContext
123 #ifdef SNMP_AGENT_MAX_MIB_COUNT
124 #define SNMP_AGENT_MAX_MIBS SNMP_AGENT_MAX_MIB_COUNT
127 #ifdef SNMP_AGENT_MAX_USER_COUNT
128 #define SNMP_AGENT_MAX_USERS SNMP_AGENT_MAX_USER_COUNT
131 #ifdef MAC_MULTICAST_FILTER_SIZE
132 #define MAC_ADDR_FILTER_SIZE MAC_MULTICAST_FILTER_SIZE
135 #define ftpRegisterTlsInitCallback ftpClientRegisterTlsInitCallback
136 #define ftpLogin ftpClientLoginEx
137 #define ftpGetWorkingDir ftpClientGetWorkingDir
138 #define ftpChangeWorkingDir ftpClientChangeWorkingDir
139 #define ftpChangeToParentDir ftpClientChangeToParentDir
140 #define ftpOpenDir ftpClientOpenDir
141 #define ftpReadDir ftpClientReadDir
142 #define ftpCloseDir ftpClientCloseDir
143 #define ftpMakeDir ftpClientCreateDir
144 #define ftpRemoveDir ftpClientDeleteDir
145 #define ftpOpenFile ftpClientOpenFile
146 #define ftpWriteFile(context, data, length, flags) ftpClientWriteFile(context, data, length, NULL, flags)
147 #define ftpReadFile ftpClientReadFile
148 #define ftpCloseFile ftpClientCloseFile
149 #define ftpRenameFile ftpClientRenameFile
150 #define ftpDeleteFile ftpClientDeleteFile
151 #define ftpClose ftpClientDeinit
153 #define FTP_NO_SECURITY FTP_MODE_PLAINTEXT
154 #define FTP_IMPLICIT_SECURITY FTP_MODE_IMPLICIT_TLS
155 #define FTP_EXPLICIT_SECURITY FTP_MODE_EXPLICIT_TLS
156 #define FTP_ACTIVE_MODE FTP_MODE_ACTIVE
157 #define FTP_PASSIVE_MODE FTP_MODE_PASSIVE
159 #define FTP_FOR_READING FTP_FILE_MODE_READ
160 #define FTP_FOR_WRITING FTP_FILE_MODE_WRITE
161 #define FTP_FOR_APPENDING FTP_FILE_MODE_APPEND
162 #define FTP_BINARY_TYPE FTP_FILE_MODE_BINARY
163 #define FTP_TEXT_TYPE FTP_FILE_MODE_TEXT
165 #ifdef FTP_CLIENT_SOCKET_MIN_TX_BUFFER_SIZE
166 #define FTP_CLIENT_MIN_TCP_BUFFER_SIZE FTP_CLIENT_SOCKET_MIN_TX_BUFFER_SIZE
169 #ifdef FTP_CLIENT_SOCKET_MAX_TX_BUFFER_SIZE
170 #define FTP_CLIENT_MAX_TCP_BUFFER_SIZE FTP_CLIENT_SOCKET_MAX_TX_BUFFER_SIZE
173 #ifdef FTP_SERVER_CTRL_SOCKET_BUFFER_SIZE
174 #define FTP_SERVER_MIN_TCP_BUFFER_SIZE FTP_SERVER_CTRL_SOCKET_BUFFER_SIZE
177 #ifdef FTP_SERVER_DATA_SOCKET_BUFFER_SIZE
178 #define FTP_SERVER_MAX_TCP_BUFFER_SIZE FTP_SERVER_DATA_SOCKET_BUFFER_SIZE
181 #define NET_VERSION_STRING CYCLONE_TCP_VERSION_STRING
182 #define NET_MAJOR_VERSION CYCLONE_TCP_MAJOR_VERSION
183 #define NET_MINOR_VERSION CYCLONE_TCP_MINOR_VERSION
184 #define NET_REV_NUMBER CYCLONE_TCP_REV_NUMBER
186 #define ftpClientMakeDir ftpClientCreateDir
187 #define ftpClientRemoveDir ftpClientDeleteDir
189 #define MQTT_PROTOCOL_LEVEL_3_1 MQTT_VERSION_3_1
190 #define MQTT_PROTOCOL_LEVEL_3_1_1 MQTT_VERSION_3_1_1
191 #define mqttClientSetProtocolLevel mqttClientSetVersion
193 #define socketBindToInterface socketSetInterface
195 #define netMutex (netContext.mutex)
196 #define netEvent (netContext.event)
197 #define netTaskRunning (netContext.running)
198 #define netTimestamp (netContext.timestamp)
199 #define netInterface (netContext.interfaces)
202 #define IGMP_HOST_SUPPORT IGMP_SUPPORT
205 #ifdef COAP_SERVER_STACK_SIZE
206 #define COAP_SERVER_TASK_STACK_SIZE COAP_SERVER_STACK_SIZE
209 #ifdef COAP_SERVER_PRIORITY
210 #define COAP_SERVER_TASK_PRIORITY COAP_SERVER_PRIORITY
213 #ifdef DHCPV6_RELAY_STACK_SIZE
214 #define DHCPV6_RELAY_TASK_STACK_SIZE DHCPV6_RELAY_STACK_SIZE
217 #ifdef DHCPV6_RELAY_PRIORITY
218 #define DHCPV6_RELAY_TASK_PRIORITY DHCPV6_RELAY_PRIORITY
221 #ifdef FTP_SERVER_STACK_SIZE
222 #define FTP_SERVER_TASK_STACK_SIZE FTP_SERVER_STACK_SIZE
225 #ifdef FTP_SERVER_PRIORITY
226 #define FTP_SERVER_TASK_PRIORITY FTP_SERVER_PRIORITY
229 #ifdef HTTP_SERVER_STACK_SIZE
230 #define HTTP_SERVER_TASK_STACK_SIZE HTTP_SERVER_STACK_SIZE
233 #ifdef HTTP_SERVER_PRIORITY
234 #define HTTP_SERVER_TASK_PRIORITY HTTP_SERVER_PRIORITY
237 #ifdef ICECAST_CLIENT_STACK_SIZE
238 #define ICECAST_CLIENT_TASK_STACK_SIZE ICECAST_CLIENT_STACK_SIZE
241 #ifdef ICECAST_CLIENT_PRIORITY
242 #define ICECAST_CLIENT_TASK_PRIORITY ICECAST_CLIENT_PRIORITY
245 #ifdef MODBUS_SERVER_STACK_SIZE
246 #define MODBUS_SERVER_TASK_STACK_SIZE MODBUS_SERVER_STACK_SIZE
249 #ifdef MODBUS_SERVER_PRIORITY
250 #define MODBUS_SERVER_TASK_PRIORITY MODBUS_SERVER_PRIORITY
253 #ifdef SNMP_AGENT_STACK_SIZE
254 #define SNMP_AGENT_TASK_STACK_SIZE SNMP_AGENT_STACK_SIZE
257 #ifdef SNMP_AGENT_PRIORITY
258 #define SNMP_AGENT_TASK_PRIORITY SNMP_AGENT_PRIORITY
261 #ifdef TFTP_SERVER_STACK_SIZE
262 #define TFTP_SERVER_TASK_STACK_SIZE TFTP_SERVER_STACK_SIZE
265 #ifdef TFTP_SERVER_PRIORITY
266 #define TFTP_SERVER_TASK_PRIORITY TFTP_SERVER_PRIORITY
269 #define icmpEnableEchoRequest icmpEnableEchoRequests
270 #define icmpEnableBroadcastEchoRequest icmpEnableBroadcastEchoRequests
271 #define icmpv6EnableEchoRequest icmpv6EnableEchoRequests
272 #define icmpv6EnableMulticastEchoRequest icmpv6EnableMulticastEchoRequests
275 #define MLD_NODE_SUPPORT MLD_SUPPORT
278 #ifdef DNS_SD_SUPPORT
279 #define DNS_SD_RESPONDER_SUPPORT DNS_SD_SUPPORT