mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
Provide wl_tcp_state as tcp_state alias (#8609)
This commit is contained in:
parent
8048ea52ca
commit
7935bed18f
@ -69,20 +69,8 @@ enum wl_enc_type { /* Values map to 802.11 encryption suites... */
|
|||||||
ENC_TYPE_AUTO = 8
|
ENC_TYPE_AUTO = 8
|
||||||
};
|
};
|
||||||
|
|
||||||
#if !defined(LWIP_INTERNAL) && !defined(__LWIP_TCP_H__) && !defined(LWIP_HDR_TCPBASE_H)
|
#include <lwip/init.h>
|
||||||
enum wl_tcp_state {
|
#include <lwip/tcpbase.h>
|
||||||
CLOSED = 0,
|
using wl_tcp_state = tcp_state;
|
||||||
LISTEN = 1,
|
|
||||||
SYN_SENT = 2,
|
|
||||||
SYN_RCVD = 3,
|
|
||||||
ESTABLISHED = 4,
|
|
||||||
FIN_WAIT_1 = 5,
|
|
||||||
FIN_WAIT_2 = 6,
|
|
||||||
CLOSE_WAIT = 7,
|
|
||||||
CLOSING = 8,
|
|
||||||
LAST_ACK = 9,
|
|
||||||
TIME_WAIT = 10
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* WL_DEFINITIONS_H_ */
|
#endif /* WL_DEFINITIONS_H_ */
|
||||||
|
@ -20,8 +20,6 @@
|
|||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define LWIP_INTERNAL
|
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
#include "wl_definitions.h"
|
#include "wl_definitions.h"
|
||||||
|
@ -20,8 +20,6 @@
|
|||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define LWIP_INTERNAL
|
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#define LWIP_INTERNAL
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "osapi.h"
|
#include "osapi.h"
|
||||||
#include "ets_sys.h"
|
#include "ets_sys.h"
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define LWIP_INTERNAL
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "osapi.h"
|
#include "osapi.h"
|
||||||
#include "ets_sys.h"
|
#include "ets_sys.h"
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define LWIP_INTERNAL
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user