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 tcpIpStackSetProxy   netSetProxy
 
#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 ipv4IsInLocalSubnet   ipv4IsOnLocalSubnet
 
#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   ftpClientMakeDir
 
#define ftpRemoveDir   ftpClientRemoveDir
 
#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
 

Detailed Description

Legacy definitions.

License

Copyright (C) 2010-2018 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.0

Definition in file net_legacy.h.

Macro Definition Documentation

◆ ChunkedBuffer

#define ChunkedBuffer   NetBuffer

Definition at line 167 of file net_legacy.h.

◆ chunkedBufferGetLength

#define chunkedBufferGetLength   netBufferGetLength

Definition at line 168 of file net_legacy.h.

◆ chunkedBufferRead

#define chunkedBufferRead   netBufferRead

Definition at line 169 of file net_legacy.h.

◆ DhcpClientCtx

#define DhcpClientCtx   DhcpClientContext

Definition at line 197 of file net_legacy.h.

◆ Dhcpv6ClientCtx

#define Dhcpv6ClientCtx   Dhcpv6ClientContext

Definition at line 198 of file net_legacy.h.

◆ FTP_ACTIVE_MODE

#define FTP_ACTIVE_MODE   FTP_MODE_ACTIVE

Definition at line 233 of file net_legacy.h.

◆ FTP_BINARY_TYPE

#define FTP_BINARY_TYPE   FTP_FILE_MODE_BINARY

Definition at line 239 of file net_legacy.h.

◆ FTP_EXPLICIT_SECURITY

#define FTP_EXPLICIT_SECURITY   FTP_MODE_EXPLICIT_TLS

Definition at line 232 of file net_legacy.h.

◆ FTP_FOR_APPENDING

#define FTP_FOR_APPENDING   FTP_FILE_MODE_APPEND

Definition at line 238 of file net_legacy.h.

◆ FTP_FOR_READING

#define FTP_FOR_READING   FTP_FILE_MODE_READ

Definition at line 236 of file net_legacy.h.

◆ FTP_FOR_WRITING

#define FTP_FOR_WRITING   FTP_FILE_MODE_WRITE

Definition at line 237 of file net_legacy.h.

◆ FTP_IMPLICIT_SECURITY

#define FTP_IMPLICIT_SECURITY   FTP_MODE_IMPLICIT_TLS

Definition at line 231 of file net_legacy.h.

◆ FTP_NO_SECURITY

#define FTP_NO_SECURITY   FTP_MODE_PLAINTEXT

Definition at line 230 of file net_legacy.h.

◆ FTP_PASSIVE_MODE

#define FTP_PASSIVE_MODE   FTP_MODE_PASSIVE

Definition at line 234 of file net_legacy.h.

◆ FTP_TEXT_TYPE

#define FTP_TEXT_TYPE   FTP_FILE_MODE_TEXT

Definition at line 240 of file net_legacy.h.

◆ ftpChangeToParentDir

#define ftpChangeToParentDir   ftpClientChangeToParentDir

Definition at line 216 of file net_legacy.h.

◆ ftpChangeWorkingDir

#define ftpChangeWorkingDir   ftpClientChangeWorkingDir

Definition at line 215 of file net_legacy.h.

◆ ftpClose

#define ftpClose   ftpClientDeinit

Definition at line 228 of file net_legacy.h.

◆ ftpCloseDir

#define ftpCloseDir   ftpClientCloseDir

Definition at line 219 of file net_legacy.h.

◆ ftpCloseFile

#define ftpCloseFile   ftpClientCloseFile

Definition at line 225 of file net_legacy.h.

◆ ftpDeleteFile

#define ftpDeleteFile   ftpClientDeleteFile

Definition at line 227 of file net_legacy.h.

◆ ftpGetWorkingDir

#define ftpGetWorkingDir   ftpClientGetWorkingDir

Definition at line 214 of file net_legacy.h.

◆ ftpLogin

#define ftpLogin   ftpClientLoginEx

Definition at line 213 of file net_legacy.h.

◆ ftpMakeDir

#define ftpMakeDir   ftpClientMakeDir

Definition at line 220 of file net_legacy.h.

◆ ftpOpenDir

#define ftpOpenDir   ftpClientOpenDir

Definition at line 217 of file net_legacy.h.

◆ ftpOpenFile

#define ftpOpenFile   ftpClientOpenFile

Definition at line 222 of file net_legacy.h.

◆ ftpReadDir

#define ftpReadDir   ftpClientReadDir

Definition at line 218 of file net_legacy.h.

◆ ftpReadFile

#define ftpReadFile   ftpClientReadFile

Definition at line 224 of file net_legacy.h.

◆ ftpRegisterTlsInitCallback

#define ftpRegisterTlsInitCallback   ftpClientRegisterTlsInitCallback

Definition at line 212 of file net_legacy.h.

◆ ftpRemoveDir

#define ftpRemoveDir   ftpClientRemoveDir

Definition at line 221 of file net_legacy.h.

◆ ftpRenameFile

#define ftpRenameFile   ftpClientRenameFile

Definition at line 226 of file net_legacy.h.

◆ ftpWriteFile

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

Definition at line 223 of file net_legacy.h.

◆ ipv4IsInLocalSubnet

#define ipv4IsInLocalSubnet   ipv4IsOnLocalSubnet

Definition at line 171 of file net_legacy.h.

◆ SOCKET_PROTOCOL_ICMP

#define SOCKET_PROTOCOL_ICMP   SOCKET_IP_PROTO_ICMP

Definition at line 138 of file net_legacy.h.

◆ SOCKET_PROTOCOL_ICMPV6

#define SOCKET_PROTOCOL_ICMPV6   SOCKET_IP_PROTO_ICMPV6

Definition at line 142 of file net_legacy.h.

◆ SOCKET_PROTOCOL_IGMP

#define SOCKET_PROTOCOL_IGMP   SOCKET_IP_PROTO_IGMP

Definition at line 139 of file net_legacy.h.

◆ SOCKET_PROTOCOL_TCP

#define SOCKET_PROTOCOL_TCP   SOCKET_IP_PROTO_TCP

Definition at line 140 of file net_legacy.h.

◆ SOCKET_PROTOCOL_UDP

#define SOCKET_PROTOCOL_UDP   SOCKET_IP_PROTO_UDP

Definition at line 141 of file net_legacy.h.

◆ SOCKET_TYPE_RAW

#define SOCKET_TYPE_RAW   SOCKET_TYPE_RAW_IP

Definition at line 137 of file net_legacy.h.

◆ tcpIpStackAttachLinkChangeCallback

#define tcpIpStackAttachLinkChangeCallback   netAttachLinkChangeCallback

Definition at line 163 of file net_legacy.h.

◆ tcpIpStackConfigInterface

#define tcpIpStackConfigInterface   netConfigInterface

Definition at line 156 of file net_legacy.h.

◆ tcpIpStackDetachLinkChangeCallback

#define tcpIpStackDetachLinkChangeCallback   netDetachLinkChangeCallback

Definition at line 164 of file net_legacy.h.

◆ tcpIpStackGetDefaultInterface

#define tcpIpStackGetDefaultInterface   netGetDefaultInterface

Definition at line 159 of file net_legacy.h.

◆ tcpIpStackGetLinkState

#define tcpIpStackGetLinkState   netGetLinkState

Definition at line 155 of file net_legacy.h.

◆ tcpIpStackGetRand

#define tcpIpStackGetRand   netGetRand

Definition at line 161 of file net_legacy.h.

◆ tcpIpStackGetRandRange

#define tcpIpStackGetRandRange   netGetRandRange

Definition at line 162 of file net_legacy.h.

◆ tcpIpStackInit

#define tcpIpStackInit   netInit

Definition at line 145 of file net_legacy.h.

◆ tcpIpStackInitRand

#define tcpIpStackInitRand   netInitRand

Definition at line 160 of file net_legacy.h.

◆ tcpIpStackInvokeLinkChangeCallback

#define tcpIpStackInvokeLinkChangeCallback   netInvokeLinkChangeCallback

Definition at line 165 of file net_legacy.h.

◆ tcpIpStackRxTask

#define tcpIpStackRxTask   netRxTask

Definition at line 158 of file net_legacy.h.

◆ tcpIpStackSetDriver

#define tcpIpStackSetDriver   netSetDriver

Definition at line 148 of file net_legacy.h.

◆ tcpIpStackSetExtIntDriver

#define tcpIpStackSetExtIntDriver   netSetExtIntDriver

Definition at line 152 of file net_legacy.h.

◆ tcpIpStackSetHostname

#define tcpIpStackSetHostname   netSetHostname

Definition at line 147 of file net_legacy.h.

◆ tcpIpStackSetInterfaceName

#define tcpIpStackSetInterfaceName   netSetInterfaceName

Definition at line 146 of file net_legacy.h.

◆ tcpIpStackSetMacAddr

#define tcpIpStackSetMacAddr   netSetMacAddr

Definition at line 153 of file net_legacy.h.

◆ tcpIpStackSetPhyDriver

#define tcpIpStackSetPhyDriver   netSetPhyDriver

Definition at line 149 of file net_legacy.h.

◆ tcpIpStackSetProxy

#define tcpIpStackSetProxy   netSetProxy

Definition at line 154 of file net_legacy.h.

◆ tcpIpStackSetSpiDriver

#define tcpIpStackSetSpiDriver   netSetSpiDriver

Definition at line 150 of file net_legacy.h.

◆ tcpIpStackSetUartDriver

#define tcpIpStackSetUartDriver   netSetUartDriver

Definition at line 151 of file net_legacy.h.

◆ tcpIpStackTickTask

#define tcpIpStackTickTask   netTickTask

Definition at line 157 of file net_legacy.h.