mirror of
https://github.com/apache/nuttx.git
synced 2026-06-10 03:13:56 +08:00
net/tcp: change the tcp optdata to dynamic arrays
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -171,7 +171,7 @@ struct tcp_hdr_s
|
||||
uint8_t wnd[2];
|
||||
uint16_t tcpchksum;
|
||||
uint8_t urgp[2];
|
||||
uint8_t optdata[4];
|
||||
uint8_t optdata[0];
|
||||
};
|
||||
|
||||
/* The structure holding the TCP/IP statistics that are gathered if
|
||||
|
||||
Reference in New Issue
Block a user