net_legacy.h File Reference

Legacy definitions. More...

Go to the source code of this file.

Macros

#define SOCKET_TYPE_RAW   SOCKET_TYPE_RAW_IP
 
#define SOCKET_PROTOCOL_ICMP   SOCKET_IP_PROTO_ICMP
 
#define SOCKET_PROTOCOL_IGMP   SOCKET_IP_PROTO_IGMP
 
#define SOCKET_PROTOCOL_TCP   SOCKET_IP_PROTO_TCP
 
#define SOCKET_PROTOCOL_UDP   SOCKET_IP_PROTO_UDP
 
#define SOCKET_PROTOCOL_ICMPV6   SOCKET_IP_PROTO_ICMPV6
 
#define tcpIpStackInit   netInit
 
#define tcpIpStackSetInterfaceName   netSetInterfaceName
 
#define tcpIpStackSetHostname   netSetHostname
 
#define tcpIpStackSetDriver   netSetDriver
 
#define tcpIpStackSetPhyDriver   netSetPhyDriver
 
#define tcpIpStackSetSpiDriver   netSetSpiDriver
 
#define tcpIpStackSetUartDriver   netSetUartDriver
 
#define tcpIpStackSetExtIntDriver   netSetExtIntDriver
 
#define tcpIpStackSetMacAddr   netSetMacAddr
 
#define tcpIpStackGetLinkState   netGetLinkState
 
#define tcpIpStackConfigInterface   netConfigInterface
 
#define tcpIpStackTickTask   netTickTask
 
#define tcpIpStackRxTask   netRxTask
 
#define tcpIpStackGetDefaultInterface   netGetDefaultInterface
 
#define tcpIpStackInitRand   netInitRand
 
#define tcpIpStackGetRand   netGetRand
 
#define tcpIpStackGetRandRange   netGetRandRange
 
#define tcpIpStackAttachLinkChangeCallback   netAttachLinkChangeCallback
 
#define tcpIpStackDetachLinkChangeCallback   netDetachLinkChangeCallback
 
#define tcpIpStackInvokeLinkChangeCallback   netInvokeLinkChangeCallback
 
#define ChunkedBuffer   NetBuffer
 
#define chunkedBufferGetLength   netBufferGetLength
 
#define chunkedBufferRead   netBufferRead
 
#define DhcpClientCtx   DhcpClientContext
 
#define Dhcpv6ClientCtx   Dhcpv6ClientContext
 
#define ftpRegisterTlsInitCallback   ftpClientRegisterTlsInitCallback
 
#define ftpLogin   ftpClientLoginEx
 
#define ftpGetWorkingDir   ftpClientGetWorkingDir
 
#define ftpChangeWorkingDir   ftpClientChangeWorkingDir
 
#define ftpChangeToParentDir   ftpClientChangeToParentDir
 
#define ftpOpenDir   ftpClientOpenDir
 
#define ftpReadDir   ftpClientReadDir
 
#define ftpCloseDir   ftpClientCloseDir
 
#define ftpMakeDir   ftpClientCreateDir
 
#define ftpRemoveDir   ftpClientDeleteDir
 
#define ftpOpenFile   ftpClientOpenFile
 
#define ftpWriteFile(context, data, length, flags)   ftpClientWriteFile(context, data, length, NULL, flags)
 
#define ftpReadFile   ftpClientReadFile
 
#define ftpCloseFile   ftpClientCloseFile
 
#define ftpRenameFile   ftpClientRenameFile
 
#define ftpDeleteFile   ftpClientDeleteFile
 
#define ftpClose   ftpClientDeinit
 
#define FTP_NO_SECURITY   FTP_MODE_PLAINTEXT
 
#define FTP_IMPLICIT_SECURITY   FTP_MODE_IMPLICIT_TLS
 
#define FTP_EXPLICIT_SECURITY   FTP_MODE_EXPLICIT_TLS
 
#define FTP_ACTIVE_MODE   FTP_MODE_ACTIVE
 
#define FTP_PASSIVE_MODE   FTP_MODE_PASSIVE
 
#define FTP_FOR_READING   FTP_FILE_MODE_READ
 
#define FTP_FOR_WRITING   FTP_FILE_MODE_WRITE
 
#define FTP_FOR_APPENDING   FTP_FILE_MODE_APPEND
 
#define FTP_BINARY_TYPE   FTP_FILE_MODE_BINARY
 
#define FTP_TEXT_TYPE   FTP_FILE_MODE_TEXT
 
#define NET_VERSION_STRING   CYCLONE_TCP_VERSION_STRING
 
#define NET_MAJOR_VERSION   CYCLONE_TCP_MAJOR_VERSION
 
#define NET_MINOR_VERSION   CYCLONE_TCP_MINOR_VERSION
 
#define NET_REV_NUMBER   CYCLONE_TCP_REV_NUMBER
 
#define ftpClientMakeDir   ftpClientCreateDir
 
#define ftpClientRemoveDir   ftpClientDeleteDir
 
#define MQTT_PROTOCOL_LEVEL_3_1   MQTT_VERSION_3_1
 
#define MQTT_PROTOCOL_LEVEL_3_1_1   MQTT_VERSION_3_1_1
 
#define mqttClientSetProtocolLevel   mqttClientSetVersion
 
#define socketBindToInterface   socketSetInterface
 
#define netMutex   (netContext.mutex)
 
#define netEvent   (netContext.event)
 
#define netTaskRunning   (netContext.running)
 
#define netTaskHandle   (netContext.taskHandle)
 
#define netTaskInstance   (netContext.taskInstance)
 
#define netTaskStack   (netContext.taskStack)
 
#define netTimestamp   (netContext.timestamp)
 
#define netInterface   (netContext.interfaces)
 

Detailed Description

Legacy definitions.

License

SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2020 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
1.9.8

Definition in file net_legacy.h.

Macro Definition Documentation

◆ ChunkedBuffer

#define ChunkedBuffer   NetBuffer

Definition at line 163 of file net_legacy.h.

◆ chunkedBufferGetLength

#define chunkedBufferGetLength   netBufferGetLength

Definition at line 164 of file net_legacy.h.

◆ chunkedBufferRead

#define chunkedBufferRead   netBufferRead

Definition at line 165 of file net_legacy.h.

◆ DhcpClientCtx

#define DhcpClientCtx   DhcpClientContext

Definition at line 191 of file net_legacy.h.

◆ Dhcpv6ClientCtx

#define Dhcpv6ClientCtx   Dhcpv6ClientContext

Definition at line 192 of file net_legacy.h.

◆ FTP_ACTIVE_MODE

#define FTP_ACTIVE_MODE   FTP_MODE_ACTIVE

Definition at line 227 of file net_legacy.h.

◆ FTP_BINARY_TYPE

#define FTP_BINARY_TYPE   FTP_FILE_MODE_BINARY

Definition at line 233 of file net_legacy.h.

◆ FTP_EXPLICIT_SECURITY

#define FTP_EXPLICIT_SECURITY   FTP_MODE_EXPLICIT_TLS

Definition at line 226 of file net_legacy.h.

◆ FTP_FOR_APPENDING

#define FTP_FOR_APPENDING   FTP_FILE_MODE_APPEND

Definition at line 232 of file net_legacy.h.

◆ FTP_FOR_READING

#define FTP_FOR_READING   FTP_FILE_MODE_READ

Definition at line 230 of file net_legacy.h.

◆ FTP_FOR_WRITING

#define FTP_FOR_WRITING   FTP_FILE_MODE_WRITE

Definition at line 231 of file net_legacy.h.

◆ FTP_IMPLICIT_SECURITY

#define FTP_IMPLICIT_SECURITY   FTP_MODE_IMPLICIT_TLS

Definition at line 225 of file net_legacy.h.

◆ FTP_NO_SECURITY

#define FTP_NO_SECURITY   FTP_MODE_PLAINTEXT

Definition at line 224 of file net_legacy.h.

◆ FTP_PASSIVE_MODE

#define FTP_PASSIVE_MODE   FTP_MODE_PASSIVE

Definition at line 228 of file net_legacy.h.

◆ FTP_TEXT_TYPE

#define FTP_TEXT_TYPE   FTP_FILE_MODE_TEXT

Definition at line 234 of file net_legacy.h.

◆ ftpChangeToParentDir

#define ftpChangeToParentDir   ftpClientChangeToParentDir

Definition at line 210 of file net_legacy.h.

◆ ftpChangeWorkingDir

#define ftpChangeWorkingDir   ftpClientChangeWorkingDir

Definition at line 209 of file net_legacy.h.

◆ ftpClientMakeDir

#define ftpClientMakeDir   ftpClientCreateDir

Definition at line 257 of file net_legacy.h.

◆ ftpClientRemoveDir

#define ftpClientRemoveDir   ftpClientDeleteDir

Definition at line 258 of file net_legacy.h.

◆ ftpClose

#define ftpClose   ftpClientDeinit

Definition at line 222 of file net_legacy.h.

◆ ftpCloseDir

#define ftpCloseDir   ftpClientCloseDir

Definition at line 213 of file net_legacy.h.

◆ ftpCloseFile

#define ftpCloseFile   ftpClientCloseFile

Definition at line 219 of file net_legacy.h.

◆ ftpDeleteFile

#define ftpDeleteFile   ftpClientDeleteFile

Definition at line 221 of file net_legacy.h.

◆ ftpGetWorkingDir

#define ftpGetWorkingDir   ftpClientGetWorkingDir

Definition at line 208 of file net_legacy.h.

◆ ftpLogin

#define ftpLogin   ftpClientLoginEx

Definition at line 207 of file net_legacy.h.

◆ ftpMakeDir

#define ftpMakeDir   ftpClientCreateDir

Definition at line 214 of file net_legacy.h.

◆ ftpOpenDir

#define ftpOpenDir   ftpClientOpenDir

Definition at line 211 of file net_legacy.h.

◆ ftpOpenFile

#define ftpOpenFile   ftpClientOpenFile

Definition at line 216 of file net_legacy.h.

◆ ftpReadDir

#define ftpReadDir   ftpClientReadDir

Definition at line 212 of file net_legacy.h.

◆ ftpReadFile

#define ftpReadFile   ftpClientReadFile

Definition at line 218 of file net_legacy.h.

◆ ftpRegisterTlsInitCallback

#define ftpRegisterTlsInitCallback   ftpClientRegisterTlsInitCallback

Definition at line 206 of file net_legacy.h.

◆ ftpRemoveDir

#define ftpRemoveDir   ftpClientDeleteDir

Definition at line 215 of file net_legacy.h.

◆ ftpRenameFile

#define ftpRenameFile   ftpClientRenameFile

Definition at line 220 of file net_legacy.h.

◆ ftpWriteFile

#define ftpWriteFile (   context,
  data,
  length,
  flags 
)    ftpClientWriteFile(context, data, length, NULL, flags)

Definition at line 217 of file net_legacy.h.

◆ MQTT_PROTOCOL_LEVEL_3_1

#define MQTT_PROTOCOL_LEVEL_3_1   MQTT_VERSION_3_1

Definition at line 260 of file net_legacy.h.

◆ MQTT_PROTOCOL_LEVEL_3_1_1

#define MQTT_PROTOCOL_LEVEL_3_1_1   MQTT_VERSION_3_1_1

Definition at line 261 of file net_legacy.h.

◆ mqttClientSetProtocolLevel

#define mqttClientSetProtocolLevel   mqttClientSetVersion

Definition at line 262 of file net_legacy.h.

◆ NET_MAJOR_VERSION

#define NET_MAJOR_VERSION   CYCLONE_TCP_MAJOR_VERSION

Definition at line 253 of file net_legacy.h.

◆ NET_MINOR_VERSION

#define NET_MINOR_VERSION   CYCLONE_TCP_MINOR_VERSION

Definition at line 254 of file net_legacy.h.

◆ NET_REV_NUMBER

#define NET_REV_NUMBER   CYCLONE_TCP_REV_NUMBER

Definition at line 255 of file net_legacy.h.

◆ NET_VERSION_STRING

#define NET_VERSION_STRING   CYCLONE_TCP_VERSION_STRING

Definition at line 252 of file net_legacy.h.

◆ netEvent

#define netEvent   (netContext.event)

Definition at line 267 of file net_legacy.h.

◆ netInterface

#define netInterface   (netContext.interfaces)

Definition at line 273 of file net_legacy.h.

◆ netMutex

#define netMutex   (netContext.mutex)

Definition at line 266 of file net_legacy.h.

◆ netTaskHandle

#define netTaskHandle   (netContext.taskHandle)

Definition at line 269 of file net_legacy.h.

◆ netTaskInstance

#define netTaskInstance   (netContext.taskInstance)

Definition at line 270 of file net_legacy.h.

◆ netTaskRunning

#define netTaskRunning   (netContext.running)

Definition at line 268 of file net_legacy.h.

◆ netTaskStack

#define netTaskStack   (netContext.taskStack)

Definition at line 271 of file net_legacy.h.

◆ netTimestamp

#define netTimestamp   (netContext.timestamp)

Definition at line 272 of file net_legacy.h.

◆ SOCKET_PROTOCOL_ICMP

#define SOCKET_PROTOCOL_ICMP   SOCKET_IP_PROTO_ICMP

Definition at line 135 of file net_legacy.h.

◆ SOCKET_PROTOCOL_ICMPV6

#define SOCKET_PROTOCOL_ICMPV6   SOCKET_IP_PROTO_ICMPV6

Definition at line 139 of file net_legacy.h.

◆ SOCKET_PROTOCOL_IGMP

#define SOCKET_PROTOCOL_IGMP   SOCKET_IP_PROTO_IGMP

Definition at line 136 of file net_legacy.h.

◆ SOCKET_PROTOCOL_TCP

#define SOCKET_PROTOCOL_TCP   SOCKET_IP_PROTO_TCP

Definition at line 137 of file net_legacy.h.

◆ SOCKET_PROTOCOL_UDP

#define SOCKET_PROTOCOL_UDP   SOCKET_IP_PROTO_UDP

Definition at line 138 of file net_legacy.h.

◆ SOCKET_TYPE_RAW

#define SOCKET_TYPE_RAW   SOCKET_TYPE_RAW_IP

Definition at line 134 of file net_legacy.h.

◆ socketBindToInterface

#define socketBindToInterface   socketSetInterface

Definition at line 264 of file net_legacy.h.

◆ tcpIpStackAttachLinkChangeCallback

#define tcpIpStackAttachLinkChangeCallback   netAttachLinkChangeCallback

Definition at line 159 of file net_legacy.h.

◆ tcpIpStackConfigInterface

#define tcpIpStackConfigInterface   netConfigInterface

Definition at line 152 of file net_legacy.h.

◆ tcpIpStackDetachLinkChangeCallback

#define tcpIpStackDetachLinkChangeCallback   netDetachLinkChangeCallback

Definition at line 160 of file net_legacy.h.

◆ tcpIpStackGetDefaultInterface

#define tcpIpStackGetDefaultInterface   netGetDefaultInterface

Definition at line 155 of file net_legacy.h.

◆ tcpIpStackGetLinkState

#define tcpIpStackGetLinkState   netGetLinkState

Definition at line 151 of file net_legacy.h.

◆ tcpIpStackGetRand

#define tcpIpStackGetRand   netGetRand

Definition at line 157 of file net_legacy.h.

◆ tcpIpStackGetRandRange

#define tcpIpStackGetRandRange   netGetRandRange

Definition at line 158 of file net_legacy.h.

◆ tcpIpStackInit

#define tcpIpStackInit   netInit

Definition at line 142 of file net_legacy.h.

◆ tcpIpStackInitRand

#define tcpIpStackInitRand   netInitRand

Definition at line 156 of file net_legacy.h.

◆ tcpIpStackInvokeLinkChangeCallback

#define tcpIpStackInvokeLinkChangeCallback   netInvokeLinkChangeCallback

Definition at line 161 of file net_legacy.h.

◆ tcpIpStackRxTask

#define tcpIpStackRxTask   netRxTask

Definition at line 154 of file net_legacy.h.

◆ tcpIpStackSetDriver

#define tcpIpStackSetDriver   netSetDriver

Definition at line 145 of file net_legacy.h.

◆ tcpIpStackSetExtIntDriver

#define tcpIpStackSetExtIntDriver   netSetExtIntDriver

Definition at line 149 of file net_legacy.h.

◆ tcpIpStackSetHostname

#define tcpIpStackSetHostname   netSetHostname

Definition at line 144 of file net_legacy.h.

◆ tcpIpStackSetInterfaceName

#define tcpIpStackSetInterfaceName   netSetInterfaceName

Definition at line 143 of file net_legacy.h.

◆ tcpIpStackSetMacAddr

#define tcpIpStackSetMacAddr   netSetMacAddr

Definition at line 150 of file net_legacy.h.

◆ tcpIpStackSetPhyDriver

#define tcpIpStackSetPhyDriver   netSetPhyDriver

Definition at line 146 of file net_legacy.h.

◆ tcpIpStackSetSpiDriver

#define tcpIpStackSetSpiDriver   netSetSpiDriver

Definition at line 147 of file net_legacy.h.

◆ tcpIpStackSetUartDriver

#define tcpIpStackSetUartDriver   netSetUartDriver

Definition at line 148 of file net_legacy.h.

◆ tcpIpStackTickTask

#define tcpIpStackTickTask   netTickTask

Definition at line 153 of file net_legacy.h.