[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [PATCH] include/netinet/tcp.h: Remove TCP_MSS definition


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Sun, 23 Jun 2019 21:25:04 +0300
  • Cc: felipe.huici@xxxxxxxxx, simon.kuenzer@xxxxxxxxx, vlad_andrei.badoiu@xxxxxxxxxxxxxxx, sharan.santhanam@xxxxxxxxx
  • Delivery-date: Sun, 23 Jun 2019 18:25:27 +0000
  • Ironport-phdr: 9a23:40NYwhUe1UK8KRPw67OcQXgWChbV8LGtZVwlr6E/grcLSJyIuqrYZRSBv6dThVPEFb/W9+hDw7KP9fy5AypZud3Y6iFKMMQVEUNc0INOx01oKfXGIHWzFOTtYS0+EZYKf35e1Fb/D3JoHt3jbUbZuHy44G1aMBz+MQ1oOra9QdaK3Iy42O+o5pLcfRhDiiajbrNuNhW2qhjautULjYd4Jas91wXFrmFVd+hKym9kOEyfkhLh7cu04JJv7j5ctv08+8JdS6n2Y7g0QblFBzk6Lm4549HmuwPeRgWV/HscVWsWkhtMAwfb6RzxQ4n8vCjnuOdjwSeWJcL5Q6w6VjSk9KdrVQTniDwbOD4j8WHYkdJ/gaRGqx+8vRN/worUYIaINPpie67WYN0XSXZdUstXSidMBJ63YYkSAOobJetWr5fzqUYAoxW9AgehH//jxiNSi3Pqx6A2z/gtHAfb1wIgBdIOt3HUoc3rOacVSuC10KjIzTPeZP1QxDf98JXIeQ0mrP6QWrJwatbRyUgpFw/filWQtJTlPy6O2+sRqGiX9fJgVf+0hGI9sQFxpSGiy8ExgYfKnoIY0k3I+CpkzIovJtC1SFR3bcC6HJZSrS2XOZN6Tt4tTm11oio3yb0LtYSlcCUExpkr3QPTZvOZf4WO/xntTvyeIS1ii3JgYL+/ghGy/lW+xeDkTcm01UpKrjJCktnRqnABzxzT5daDSvt65kqhxzOP2BrS6uFAO0w7ibHbJ4Q5wr4tjZUfq17DHijulEX3iq+ZaFkk9/C15+nof7nqvJyROo9uhg3gLKgjmNazDOogPggLRWeb+OC81LP5/U3+RbVHluE5kq7CsJDGJMQboLS1AwtI0oY79hayFCup0M8CkXkfMVJKYwiLj5LuO13WOvD3Ee+/g0iwkDds3/3GO7zhApPMLnjEi7ftZKty5FBCyAUtydBS/JZUCrAaIPLvQU/9rtPZAQE/MwCuxObnEtp93JsEWW2TGq+ZLL/SsViQ6+IhPeaMYI4VuC7jJPQ/5/7ukH45lkMcfaSy25sYdmy3HvB8LEqCe3bjnMoBG38QvgUiVOzqlEGCUTlLanapX6Iz/Cs7B5igDYvZXYCimrqB3Du7HpJMYGBJEFWMHGzud4qaR/gMbDidLdR7njMaSLirU5Uh2g22tA/m17pnKfLZ+jYZtZLm09h14ffflRIv9TNqCcSc0n+CT3tvk2MOWTA5wKR/rlZmxVuZz6d4nuRSFcZP6PNRTgc6KZncwvRkC9D2QA3OY8+GR0ygQtq7GzE+UNMxz8UVbElnBtqiiRHD3zexDr8Oi7yLGYE7/rjG0HftPMZx0WvG1LE6gFU8WMtPMj7uuqkq8gnVBonS1kmUiauuXaAdxzLWsneOyyyJpk4LfhR3VPDuWmsDZ02eicnh+wuWRLi1FbUhdA9c0dOqIbAMcsDjy09BEqSwcO/Can68zj/jTS2DwamBOdLn
  • Ironport-sdr: hJwdTSbqfNDz3ioBavczctjAMe8qD66hrzoZrEl7Mp+XGg9H+PasornJRAHFZLzBo0l8AIYe+Y XnvXBBxyuVvQ==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

TCP_MSS definition is already provided by lwipopts.h.

Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
 include/netinet/tcp.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h
index 6b77ff6..0090407 100644
--- a/include/netinet/tcp.h
+++ b/include/netinet/tcp.h
@@ -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 */
-- 
2.11.0


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.