NET: Remove uip_restart()
This commit is contained in:
parent
77330679d4
commit
b54d366efd
@ -472,19 +472,6 @@ int tcp_backlogdelete(FAR struct tcp_conn_s *conn,
|
||||
# define tcp_backlogremove(conn) (NULL)
|
||||
#endif
|
||||
|
||||
/* Restart the current connection, if is has previously been stopped
|
||||
* with uip_stop().
|
||||
*
|
||||
* This function will open the receiver's window again so that we start
|
||||
* receiving data for the current connection.
|
||||
*/
|
||||
|
||||
#define uip_restart(conn,f) \
|
||||
do { \
|
||||
(f) |= UIP_NEWDATA; \
|
||||
(conn)->tcpstateflags &= ~UIP_STOPPED; \
|
||||
} while (0)
|
||||
|
||||
/* Get the current maximum segment size that can be sent on the current
|
||||
* TCP connection.
|
||||
*/
|
||||
|
@ -674,7 +674,7 @@ found:
|
||||
|
||||
/* If d_len > 0 we have TCP data in the packet, and we flag this
|
||||
* by setting the UIP_NEWDATA flag. If the application has stopped
|
||||
* the data flow using uip_stop(), we must not accept any data
|
||||
* the data flow using UIP_STOPPED, we must not accept any data
|
||||
* packets from the remote host.
|
||||
*/
|
||||
|
||||
|
@ -190,7 +190,7 @@ static void tcp_sendcommon(FAR struct net_driver_s *dev,
|
||||
|
||||
if (conn->tcpstateflags & UIP_STOPPED)
|
||||
{
|
||||
/* If the connection has issued uip_stop(), we advertise a zero
|
||||
/* If the connection has issued UIP_STOPPED, we advertise a zero
|
||||
* window so that the remote host will stop sending data.
|
||||
*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user