diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-06 16:10:26 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-06 16:10:26 -0600 |
commit | 02fcad9f51a6919c21ca44ed0c417446bb4082c9 (patch) | |
tree | 4f09be381f2f799ebf1fc98712c04efba831d3c0 /nuttx/net/socket | |
parent | 47df79c8e4a1ce4809f5213d63f7c26d4d8d9cb7 (diff) | |
download | px4-nuttx-02fcad9f51a6919c21ca44ed0c417446bb4082c9.tar.gz px4-nuttx-02fcad9f51a6919c21ca44ed0c417446bb4082c9.tar.bz2 px4-nuttx-02fcad9f51a6919c21ca44ed0c417446bb4082c9.zip |
NET: Rename TCP state values: UIP_ -> TCP_
Diffstat (limited to 'nuttx/net/socket')
-rw-r--r-- | nuttx/net/socket/net_close.c | 2 | ||||
-rw-r--r-- | nuttx/net/socket/net_monitor.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/net/socket/net_close.c b/nuttx/net/socket/net_close.c index 68dd3544b..de15fcccf 100644 --- a/nuttx/net/socket/net_close.c +++ b/nuttx/net/socket/net_close.c @@ -310,7 +310,7 @@ static inline int netclose_disconnect(FAR struct socket *psock) /* Check for the case where the host beat us and disconnected first */ - if (conn->tcpstateflags == UIP_ESTABLISHED && + if (conn->tcpstateflags == TCP_ESTABLISHED && (state.cl_cb = tcp_callback_alloc(conn)) != NULL) { /* Set up to receive TCP data event callbacks */ diff --git a/nuttx/net/socket/net_monitor.c b/nuttx/net/socket/net_monitor.c index b2fa8be5f..c5dd08188 100644 --- a/nuttx/net/socket/net_monitor.c +++ b/nuttx/net/socket/net_monitor.c @@ -141,8 +141,8 @@ int net_startmonitor(FAR struct socket *psock) * the monitoring callback.) */ - if (!(conn->tcpstateflags == UIP_ESTABLISHED || - conn->tcpstateflags == UIP_SYN_RCVD)) + if (!(conn->tcpstateflags == TCP_ESTABLISHED || + conn->tcpstateflags == TCP_SYN_RCVD)) { connection_event(conn, UIP_CLOSE); } |