mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 18:58:27 +08:00
net/tcp: add window scale support
Reference here: https://tools.ietf.org/html/rfc1323 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -76,8 +76,11 @@
|
||||
#define TCP_OPT_END 0 /* End of TCP options list */
|
||||
#define TCP_OPT_NOOP 1 /* "No-operation" TCP option */
|
||||
#define TCP_OPT_MSS 2 /* Maximum segment size TCP option */
|
||||
#define TCP_OPT_WS 3 /* Window size scaling factor */
|
||||
|
||||
#define TCP_OPT_NOOP_LEN 1 /* Length of TCP NOOP option. */
|
||||
#define TCP_OPT_MSS_LEN 4 /* Length of TCP MSS option. */
|
||||
#define TCP_OPT_WS_LEN 3 /* Length of TCP WS option. */
|
||||
|
||||
/* The TCP states used in the struct tcp_conn_s tcpstateflags field */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user