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 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 netTimestamp   (netContext.timestamp)
 
#define netInterface   (netContext.interfaces)
 
#define icmpEnableEchoRequest   icmpEnableEchoRequests
 
#define icmpEnableBroadcastEchoRequest   icmpEnableBroadcastEchoRequests
 
#define icmpv6EnableEchoRequest   icmpv6EnableEchoRequests
 
#define icmpv6EnableMulticastEchoRequest   icmpv6EnableMulticastEchoRequests
 

Detailed Description

Legacy definitions.

License

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

Copyright (C) 2010-2024 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
2.4.4

Definition in file net_legacy.h.

Macro Definition Documentation

◆ DhcpClientCtx

#define DhcpClientCtx   DhcpClientContext

Definition at line 120 of file net_legacy.h.

◆ Dhcpv6ClientCtx

#define Dhcpv6ClientCtx   Dhcpv6ClientContext

Definition at line 121 of file net_legacy.h.

◆ FTP_ACTIVE_MODE

#define FTP_ACTIVE_MODE   FTP_MODE_ACTIVE

Definition at line 156 of file net_legacy.h.

◆ FTP_BINARY_TYPE

#define FTP_BINARY_TYPE   FTP_FILE_MODE_BINARY

Definition at line 162 of file net_legacy.h.

◆ FTP_EXPLICIT_SECURITY

#define FTP_EXPLICIT_SECURITY   FTP_MODE_EXPLICIT_TLS

Definition at line 155 of file net_legacy.h.

◆ FTP_FOR_APPENDING

#define FTP_FOR_APPENDING   FTP_FILE_MODE_APPEND

Definition at line 161 of file net_legacy.h.

◆ FTP_FOR_READING

#define FTP_FOR_READING   FTP_FILE_MODE_READ

Definition at line 159 of file net_legacy.h.

◆ FTP_FOR_WRITING

#define FTP_FOR_WRITING   FTP_FILE_MODE_WRITE

Definition at line 160 of file net_legacy.h.

◆ FTP_IMPLICIT_SECURITY

#define FTP_IMPLICIT_SECURITY   FTP_MODE_IMPLICIT_TLS

Definition at line 154 of file net_legacy.h.

◆ FTP_NO_SECURITY

#define FTP_NO_SECURITY   FTP_MODE_PLAINTEXT

Definition at line 153 of file net_legacy.h.

◆ FTP_PASSIVE_MODE

#define FTP_PASSIVE_MODE   FTP_MODE_PASSIVE

Definition at line 157 of file net_legacy.h.

◆ FTP_TEXT_TYPE

#define FTP_TEXT_TYPE   FTP_FILE_MODE_TEXT

Definition at line 163 of file net_legacy.h.

◆ ftpChangeToParentDir

#define ftpChangeToParentDir   ftpClientChangeToParentDir

Definition at line 139 of file net_legacy.h.

◆ ftpChangeWorkingDir

#define ftpChangeWorkingDir   ftpClientChangeWorkingDir

Definition at line 138 of file net_legacy.h.

◆ ftpClientMakeDir

#define ftpClientMakeDir   ftpClientCreateDir

Definition at line 186 of file net_legacy.h.

◆ ftpClientRemoveDir

#define ftpClientRemoveDir   ftpClientDeleteDir

Definition at line 187 of file net_legacy.h.

◆ ftpClose

#define ftpClose   ftpClientDeinit

Definition at line 151 of file net_legacy.h.

◆ ftpCloseDir

#define ftpCloseDir   ftpClientCloseDir

Definition at line 142 of file net_legacy.h.

◆ ftpCloseFile

#define ftpCloseFile   ftpClientCloseFile

Definition at line 148 of file net_legacy.h.

◆ ftpDeleteFile

#define ftpDeleteFile   ftpClientDeleteFile

Definition at line 150 of file net_legacy.h.

◆ ftpGetWorkingDir

#define ftpGetWorkingDir   ftpClientGetWorkingDir

Definition at line 137 of file net_legacy.h.

◆ ftpLogin

#define ftpLogin   ftpClientLoginEx

Definition at line 136 of file net_legacy.h.

◆ ftpMakeDir

#define ftpMakeDir   ftpClientCreateDir

Definition at line 143 of file net_legacy.h.

◆ ftpOpenDir

#define ftpOpenDir   ftpClientOpenDir

Definition at line 140 of file net_legacy.h.

◆ ftpOpenFile

#define ftpOpenFile   ftpClientOpenFile

Definition at line 145 of file net_legacy.h.

◆ ftpReadDir

#define ftpReadDir   ftpClientReadDir

Definition at line 141 of file net_legacy.h.

◆ ftpReadFile

#define ftpReadFile   ftpClientReadFile

Definition at line 147 of file net_legacy.h.

◆ ftpRegisterTlsInitCallback

#define ftpRegisterTlsInitCallback   ftpClientRegisterTlsInitCallback

Definition at line 135 of file net_legacy.h.

◆ ftpRemoveDir

#define ftpRemoveDir   ftpClientDeleteDir

Definition at line 144 of file net_legacy.h.

◆ ftpRenameFile

#define ftpRenameFile   ftpClientRenameFile

Definition at line 149 of file net_legacy.h.

◆ ftpWriteFile

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

Definition at line 146 of file net_legacy.h.

◆ icmpEnableBroadcastEchoRequest

#define icmpEnableBroadcastEchoRequest   icmpEnableBroadcastEchoRequests

Definition at line 270 of file net_legacy.h.

◆ icmpEnableEchoRequest

#define icmpEnableEchoRequest   icmpEnableEchoRequests

Definition at line 269 of file net_legacy.h.

◆ icmpv6EnableEchoRequest

#define icmpv6EnableEchoRequest   icmpv6EnableEchoRequests

Definition at line 271 of file net_legacy.h.

◆ icmpv6EnableMulticastEchoRequest

#define icmpv6EnableMulticastEchoRequest   icmpv6EnableMulticastEchoRequests

Definition at line 272 of file net_legacy.h.

◆ MQTT_PROTOCOL_LEVEL_3_1

#define MQTT_PROTOCOL_LEVEL_3_1   MQTT_VERSION_3_1

Definition at line 189 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 190 of file net_legacy.h.

◆ mqttClientSetProtocolLevel

#define mqttClientSetProtocolLevel   mqttClientSetVersion

Definition at line 191 of file net_legacy.h.

◆ NET_MAJOR_VERSION

#define NET_MAJOR_VERSION   CYCLONE_TCP_MAJOR_VERSION

Definition at line 182 of file net_legacy.h.

◆ NET_MINOR_VERSION

#define NET_MINOR_VERSION   CYCLONE_TCP_MINOR_VERSION

Definition at line 183 of file net_legacy.h.

◆ NET_REV_NUMBER

#define NET_REV_NUMBER   CYCLONE_TCP_REV_NUMBER

Definition at line 184 of file net_legacy.h.

◆ NET_VERSION_STRING

#define NET_VERSION_STRING   CYCLONE_TCP_VERSION_STRING

Definition at line 181 of file net_legacy.h.

◆ netEvent

#define netEvent   (netContext.event)

Definition at line 196 of file net_legacy.h.

◆ netInterface

#define netInterface   (netContext.interfaces)

Definition at line 199 of file net_legacy.h.

◆ netMutex

#define netMutex   (netContext.mutex)

Definition at line 195 of file net_legacy.h.

◆ netTaskRunning

#define netTaskRunning   (netContext.running)

Definition at line 197 of file net_legacy.h.

◆ netTimestamp

#define netTimestamp   (netContext.timestamp)

Definition at line 198 of file net_legacy.h.

◆ SOCKET_PROTOCOL_ICMP

#define SOCKET_PROTOCOL_ICMP   SOCKET_IP_PROTO_ICMP

Definition at line 90 of file net_legacy.h.

◆ SOCKET_PROTOCOL_ICMPV6

#define SOCKET_PROTOCOL_ICMPV6   SOCKET_IP_PROTO_ICMPV6

Definition at line 94 of file net_legacy.h.

◆ SOCKET_PROTOCOL_IGMP

#define SOCKET_PROTOCOL_IGMP   SOCKET_IP_PROTO_IGMP

Definition at line 91 of file net_legacy.h.

◆ SOCKET_PROTOCOL_TCP

#define SOCKET_PROTOCOL_TCP   SOCKET_IP_PROTO_TCP

Definition at line 92 of file net_legacy.h.

◆ SOCKET_PROTOCOL_UDP

#define SOCKET_PROTOCOL_UDP   SOCKET_IP_PROTO_UDP

Definition at line 93 of file net_legacy.h.

◆ SOCKET_TYPE_RAW

#define SOCKET_TYPE_RAW   SOCKET_TYPE_RAW_IP

Definition at line 89 of file net_legacy.h.

◆ socketBindToInterface

#define socketBindToInterface   socketSetInterface

Definition at line 193 of file net_legacy.h.