public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2997bdb
)
fuzix-conf: set the mss based upon the device mtu
author
Alan Cox
<alan@linux.intel.com>
Fri, 10 Nov 2017 21:38:13 +0000
(21:38 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 10 Nov 2017 21:38:13 +0000
(21:38 +0000)
Applications/netd/fuzix-conf.h
patch
|
blob
|
history
diff --git
a/Applications/netd/fuzix-conf.h
b/Applications/netd/fuzix-conf.h
index
7c4444e
..
e0bf9cb
100644
(file)
--- a/
Applications/netd/fuzix-conf.h
+++ b/
Applications/netd/fuzix-conf.h
@@
-29,6
+29,7
@@
typedef uint8_t uip_stats_t;
#define UIP_CONF_RECEIVE_WINDOW 1500
+#define UIP_CONF_TCP_MSS (mtu - 40)
#define UIP_RAW 1
#define UIP_RAW_CONNS 8
@@
-45,3
+46,5
@@
typedef uint8_t uip_stats_t;
extern void netd_appcall(void);
extern void netd_udp_appcall(void);
extern void netd_raw_appcall(void);
+
+extern uint16_t mtu;