mirror of
https://github.com/apache/nuttx.git
synced 2026-08-03 21:29:02 +00:00
net/tcp: change the tcp optdata to dynamic arrays
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
87bffc190c
commit
a5cdc4e69b
2 changed files with 10 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue