summaryrefslogtreecommitdiffstatshomepage
path: root/drivers/wiznet5k/ethernet/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/wiznet5k/ethernet/socket.h')
-rw-r--r--drivers/wiznet5k/ethernet/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/wiznet5k/ethernet/socket.h b/drivers/wiznet5k/ethernet/socket.h
index 932224ecd0..2f03a34eba 100644
--- a/drivers/wiznet5k/ethernet/socket.h
+++ b/drivers/wiznet5k/ethernet/socket.h
@@ -133,6 +133,9 @@
#define PACK_REMAINED 0x01 ///< In Non-TCP packet, It indicates to remain a packet to be received.
#define PACK_COMPLETED 0x00 ///< In Non-TCP packet, It indicates to complete to receive a packet.
+// resets all global state associated with the socket interface
+void WIZCHIP_EXPORT(socket_reset)(void);
+
/**
* @ingroup WIZnet_socket_APIs
* @brief Open a socket.