mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
TCP networking: Add support for network driver events
This commit is contained in:
+5
-2
@@ -193,8 +193,11 @@
|
||||
|
||||
/* The set of events that and implications to the TCP connection state */
|
||||
|
||||
#define TCP_CONN_EVENTS (TCP_CLOSE | TCP_ABORT | TCP_CONNECTED | \
|
||||
TCP_TIMEDOUT | NETDEV_DOWN)
|
||||
#define TCP_CONN_EVENTS \
|
||||
(TCP_CLOSE | TCP_ABORT | TCP_CONNECTED | TCP_TIMEDOUT | NETDEV_DOWN)
|
||||
|
||||
#define TCP_DISCONN_EVENTS \
|
||||
(TCP_CLOSE | TCP_ABORT | TCP_TIMEDOUT | NETDEV_DOWN)
|
||||
|
||||
/* IPv4/IPv6 Helpers */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user