Made MSS span entire available buffer, made buffer two bytes longer for safety
diff --git a/contiki/uip/uip.c b/contiki/uip/uip.c
index 4e306e1..de55889 100644
--- a/contiki/uip/uip.c
+++ b/contiki/uip/uip.c
@@ -31,7 +31,7 @@
  *
  * This file is part of the uIP TCP/IP stack.
  *
- * $Id: uip.c,v 1.8 2003/08/21 18:10:21 adamdunkels Exp $
+ * $Id: uip.c,v 1.9 2003/08/21 22:26:57 adamdunkels Exp $
  *
  */
 
@@ -72,7 +72,7 @@
 u16_t uip_hostaddr[2];       
 #endif /* UIP_FIXEDADDR */
 
-u8_t uip_buf[UIP_BUFSIZE];   /* The packet buffer that contains
+u8_t uip_buf[UIP_BUFSIZE+2];   /* The packet buffer that contains
 				incoming packets. */
 volatile u8_t *uip_appdata;  /* The uip_appdata pointer points to
 				application data. */
diff --git a/contiki/uip/uip.h b/contiki/uip/uip.h
index d28586f..2794568 100644
--- a/contiki/uip/uip.h
+++ b/contiki/uip/uip.h
@@ -31,7 +31,7 @@
  *
  * This file is part of the uIP TCP/IP stack.
  *
- * $Id: uip.h,v 1.5 2003/08/20 20:58:08 adamdunkels Exp $
+ * $Id: uip.h,v 1.6 2003/08/21 22:26:57 adamdunkels Exp $
  *
  */
 
@@ -326,7 +326,7 @@
  * The uip_buf array is used to hold incoming and outgoing
  * packets. The device driver fills this with incoming packets.
  */
-extern u8_t uip_buf[UIP_BUFSIZE];
+extern u8_t uip_buf[UIP_BUFSIZE+2];
 
 /* u8_t *uip_appdata:
  *
diff --git a/contiki/uip/uipopt.h b/contiki/uip/uipopt.h
index 395fabf..2882ac3 100644
--- a/contiki/uip/uipopt.h
+++ b/contiki/uip/uipopt.h
@@ -31,7 +31,7 @@
  *
  * This file is part of the uIP TCP/IP stack.
  *
- * $Id: uipopt.h,v 1.4 2003/07/31 23:41:56 adamdunkels Exp $
+ * $Id: uipopt.h,v 1.5 2003/08/21 22:26:57 adamdunkels Exp $
  *
  */
 
@@ -195,7 +195,7 @@
 
 /* UIP_TCP_MSS: The TCP maximum segment size. This should be set to
    at most UIP_BUFSIZE - UIP_LLH_LEN - 40. */
-#define UIP_TCP_MSS     (UIP_BUFSIZE - UIP_LLH_LEN - 42)
+#define UIP_TCP_MSS     (UIP_BUFSIZE - UIP_LLH_LEN - 40)
 
 /* UIP_TTL: The IP TTL (time to live) of IP packets sent by uIP. */
 #define UIP_TTL         255