summaryrefslogtreecommitdiff
path: root/netcon/NetconEthernetTap.hpp
diff options
context:
space:
mode:
authorJoseph Henry <josephjah@gmail.com>2016-01-20 13:38:14 -0800
committerJoseph Henry <josephjah@gmail.com>2016-01-20 13:38:14 -0800
commitbcaf42e07557f611a4609a8d69fb1ef6d29f1c95 (patch)
tree64ffb4b5992eea3e78f249809c3b6552a5434111 /netcon/NetconEthernetTap.hpp
parent357cb92f2e51349d80d4d11defefe3cc1866f465 (diff)
downloadinfinitytier-bcaf42e07557f611a4609a8d69fb1ef6d29f1c95.tar.gz
infinitytier-bcaf42e07557f611a4609a8d69fb1ef6d29f1c95.zip
Transfer speed increate + stability fixes
Diffstat (limited to 'netcon/NetconEthernetTap.hpp')
-rw-r--r--netcon/NetconEthernetTap.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/netcon/NetconEthernetTap.hpp b/netcon/NetconEthernetTap.hpp
index f15f8671..2c79840b 100644
--- a/netcon/NetconEthernetTap.hpp
+++ b/netcon/NetconEthernetTap.hpp
@@ -58,7 +58,7 @@ struct accept_st;
#define APPLICATION_POLL_FREQ 2
#define ZT_LWIP_TCP_TIMER_INTERVAL 5
-#define STATUS_TMR_INTERVAL 500 // How often we check connection statuses (in ms)
+#define STATUS_TMR_INTERVAL 250 // How often we check connection statuses (in ms)
#define DEFAULT_BUF_SZ 1024 * 1024 * 2
#define DEFAULT_BUF_SOFTMAX DEFAULT_BUF_SZ / 2
@@ -405,7 +405,7 @@ private:
/*
* Notifies us that we can write to an application's socket
*/
- void phyOnUnixWritable(PhySocket *sock,void **uptr);
+ void phyOnUnixWritable(PhySocket *sock,void **uptr,bool lwip_invoked);
/*
* Returns a pointer to a TcpConnection associated with a given PhySocket