mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Fix SLIP bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3385 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -430,8 +430,8 @@ extern int uip_backlogdelete(FAR struct uip_conn *conn, FAR struct uip_conn *blc
|
||||
/* 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.
|
||||
* This function will open the receiver's window again so that we start
|
||||
* receiving data for the current connection.
|
||||
*/
|
||||
|
||||
#define uip_restart(conn,f) \
|
||||
@@ -446,13 +446,12 @@ extern int uip_backlogdelete(FAR struct uip_conn *conn, FAR struct uip_conn *blc
|
||||
|
||||
#define uip_initialmss(conn) ((conn)->initialmss)
|
||||
|
||||
/* Get the current maxium segment size that can be sent on the current
|
||||
/* Get the current maximum segment size that can be sent on the current
|
||||
* connection.
|
||||
*
|
||||
* The current maxiumum segment size that can be sent on the
|
||||
* connection is computed from the receiver's window and the MSS of
|
||||
* the connection (which also is available by calling
|
||||
* uip_initialmss()).
|
||||
* The current maxiumum segment size that can be sent on the connection is
|
||||
* computed from the receiver's window and the MSS of the connection (which
|
||||
* also is available by calling uip_initialmss()).
|
||||
*/
|
||||
|
||||
#define uip_mss(conn) ((conn)->mss)
|
||||
|
||||
Reference in New Issue
Block a user