]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commitdiff
include/netinet/tcp.h: Remove TCP_MSS definition
authorCostin Lupu <costin.lupu@cs.pub.ro>
Sun, 23 Jun 2019 18:25:04 +0000 (21:25 +0300)
committerFelipe Huici <felipe.huici@neclab.eu>
Mon, 24 Jun 2019 11:40:56 +0000 (13:40 +0200)
TCP_MSS definition is already provided by lwipopts.h.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
include/netinet/tcp.h

index 6b77ff663a41564fc89aa6d11f523d98be67646e..0090407c1c43512e111e68c6cc080fb4d0feac03 100644 (file)
@@ -79,14 +79,6 @@ struct tcphdr {
 #define TCPOPT_TSTAMP_HDR      \
     (TCPOPT_NOP<<24|TCPOPT_NOP<<16|TCPOPT_TIMESTAMP<<8|TCPOLEN_TIMESTAMP)
 
-/*
- * Default maximum segment size for TCP.
- * With an IP MSS of 576, this is 536,
- * but 512 is probably more convenient.
- * This should be defined as MIN(512, IP_MSS - sizeof (struct tcpiphdr)).
- */
-#define        TCP_MSS 512
-
 #define        TCP_MAXWIN      65535   /* largest value for (unscaled) window */
 
 #define TCP_MAX_WINSHIFT       14      /* maximum window shift */