mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
TCP_CORK and TCP_NODELAY behave almost exactly the opposite, so first provide simple support for TCP_CORK. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
@@ -57,5 +57,6 @@
|
||||
#define TCP_KEEPCNT (__SO_PROTOCOL + 3) /* Number of keepalives before death
|
||||
* Argument: max retry count */
|
||||
#define TCP_MAXSEG (__SO_PROTOCOL + 4) /* The maximum segment size */
|
||||
#define TCP_CORK (__SO_PROTOCOL + 5) /* Coalescing of small segments */
|
||||
|
||||
#endif /* __INCLUDE_NETINET_TCP_H */
|
||||
|
||||
Reference in New Issue
Block a user