]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commitdiff
Add TCP_CORK definition to netinet/tcp.h
authorMihai Pogonaru <pogonarumihai@gmail.com>
Sun, 27 Oct 2019 19:58:43 +0000 (21:58 +0200)
committerCostin Lupu <costin.lup@gmail.com>
Mon, 28 Oct 2019 03:56:21 +0000 (05:56 +0200)
Signed-off-by: Mihai Pogonaru <pogonarumihai@gmail.com>
Reviewed-by: Costin Lupu <costin.lupu@cs.pub.ro>
include/netinet/tcp.h

index 0090407c1c43512e111e68c6cc080fb4d0feac03..bc3a7b4da1a66974ff4dd85e576a92e0ce9c8426 100644 (file)
@@ -88,3 +88,4 @@ struct tcphdr {
  */
 #define        TCP_NODELAY     0x01    /* don't delay send to coalesce packets */
 #define        TCP_MAXSEG      0x02    /* set maximum segment size */
+#define        TCP_CORK        0x03    /* don't send out partial frames. Not supported/stub */