Commit graph

29028 commits

Author SHA1 Message Date
Stephen Birarda
0f1d1a16a7 actually call sendReliablePacket for write of reliable 2015-07-30 17:12:44 -07:00
Stephen Birarda
d340515ab3 complete the initial version of UDTTest 2015-07-30 17:09:25 -07:00
Stephen Birarda
80ef80ec2e add all initial command line options for UDTTest 2015-07-30 16:07:14 -07:00
Stephen Birarda
532ac69091 initial version of UDTTest tool 2015-07-30 15:36:54 -07:00
Stephen Birarda
4529eea5f8 Merge branch 'protocol' of https://github.com/Atlante45/hifi into atp 2015-07-30 15:23:40 -07:00
Atlante45
784cc880a7 Fix Packet ctor 2015-07-30 15:15:51 -07:00
Stephen Birarda
8e55655ec3 call setSystemBufferSizes once bound 2015-07-30 15:07:49 -07:00
Atlante45
9e7644ee78 Change headers/payload size computation 2015-07-30 15:05:51 -07:00
Stephen Birarda
3f0eecc599 actually change the system socket buffer size 2015-07-30 15:04:48 -07:00
Stephen Birarda
e7f5bec3d0 take out the incorrect attempt to cast for bitwise 2015-07-30 10:30:14 -07:00
Stephen Birarda
57025cff74 fix packet pair sending from SendQueue 2015-07-30 10:20:09 -07:00
Atlante45
3d523552f8 Cast buffer ptr before bitwise op 2015-07-30 01:02:53 -07:00
Atlante45
da480bcaf0 Fix ControlPackets read/write header 2015-07-29 20:05:15 -07:00
Atlante45
db5e5a4f75 Remove Environment Server 2015-07-29 20:04:29 -07:00
Atlante45
fd11e13eaa Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-29 19:54:01 -07:00
Stephen Birarda
38037664ba don't attempt to send stats while not connected 2015-07-29 17:51:50 -07:00
Stephen Birarda
cb703a9d78 repair two calls to adjust payload start and capacity 2015-07-29 17:43:40 -07:00
Stephen Birarda
50b80c3c20 remove debug for isControl 2015-07-29 17:39:16 -07:00
Atlante45
04ece4459c Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-29 17:37:53 -07:00
Stephen Birarda
7c87ee3a72 type and version fixes after refactor 2015-07-29 17:37:33 -07:00
Atlante45
fe48bfdf95 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-29 17:29:36 -07:00
Atlante45
b8085086c6 HifiSockAddr have object names 2015-07-29 17:28:37 -07:00
Stephen Birarda
66c308b436 actually process control and sequence numbers from Socket 2015-07-29 16:48:14 -07:00
Atlante45
116ff17fcf SendQueue auto thread cleanup 2015-07-29 16:38:37 -07:00
Atlante45
313fcea9fb Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-29 16:25:26 -07:00
Atlante45
ce1fc4baa9 Send light acks based on CC member 2015-07-29 16:24:58 -07:00
Stephen Birarda
35f00f9ba1 rename the CC and send queue updater 2015-07-29 16:12:50 -07:00
Stephen Birarda
5fc3e7dbf1 add an updater that takes a lambda for CC update 2015-07-29 16:12:00 -07:00
Atlante45
96dc033de1 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-29 16:04:23 -07:00
Atlante45
f7f7ff385f Code cleanup 2015-07-29 16:04:13 -07:00
Stephen Birarda
4907418587 update the flow window size for the send queue 2015-07-29 15:53:44 -07:00
Atlante45
8a3c51ef61 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-29 15:45:24 -07:00
Atlante45
785d14f835 Cleanup sendACK 2015-07-29 15:43:44 -07:00
Stephen Birarda
55555cf13e setup default for RTT, RTT variance, _synInterval 2015-07-29 15:28:20 -07:00
Atlante45
5236abe561 Connetion record stats/factored send for control packets 2015-07-29 15:18:42 -07:00
Atlante45
05421aaf8a Added ConnectionStats object for monitoring 2015-07-29 15:17:34 -07:00
Stephen Birarda
85156b9d0f add a constants file for UDT 2015-07-29 15:11:12 -07:00
Atlante45
bb62231ebc Code cleanup 2015-07-29 14:14:28 -07:00
Stephen Birarda
7602c352d6 finish cleanup in CongestionControl 2015-07-29 13:57:05 -07:00
Stephen Birarda
613968f813 remove setACKTimer from CongestionControl 2015-07-29 12:38:54 -07:00
Stephen Birarda
94fd7b428d add some comments to CongestionControl 2015-07-29 12:37:36 -07:00
Atlante45
7bc5e04dac Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-29 12:32:43 -07:00
Atlante45
236c097853 Bit of code cleanup 2015-07-29 12:30:55 -07:00
Stephen Birarda
c35fa6eaae some more cleanup in congestion control 2015-07-29 11:48:00 -07:00
Atlante45
abfe434b30 Synchronise SendQueue and CongestionControl 2015-07-29 11:39:33 -07:00
Atlante45
3704740227 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-29 11:37:30 -07:00
Stephen Birarda
169cb97db5 fix bandwidth and receive rate EWMA in Connection 2015-07-29 11:35:06 -07:00
Atlante45
2031fb86f3 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-29 11:24:50 -07:00
Stephen Birarda
f65472cbc7 use a double USECS_PER_SECOND in CongestionControl 2015-07-29 11:14:03 -07:00
Stephen Birarda
89e32e4a6b some initial cleanup in CongestionControl 2015-07-29 11:11:06 -07:00