TCP networking: Add support for network driver events

This commit is contained in:
Gregory Nutt
2015-05-30 09:12:27 -06:00
parent ab50e9d04d
commit 04a661a97c
17 changed files with 324 additions and 131 deletions
+5 -2
View File
@@ -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 */