Commit graph

1353 commits

Author SHA1 Message Date
Atlante45
1e766faa88 Remove unecessary headers 2015-07-27 11:29:15 -07:00
Atlante45
f4a9f21869 Use udt instead declaring namespace in cpp 2015-07-27 11:28:48 -07:00
Atlante45
5261d7b4d1 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-27 11:27:49 -07:00
Stephen Birarda
b0d96cdb88 use BasePacket::totalHeadersSize in ControlPacket 2015-07-24 16:43:19 -07:00
Stephen Birarda
65ec50b01f remove an extra space 2015-07-24 16:42:07 -07:00
Stephen Birarda
2cf4a1f3e1 move MAX_PACKET_HEADER_SIZE to NLPacket 2015-07-24 16:29:44 -07:00
Stephen Birarda
f50154551b fix comment for sequence number write 2015-07-24 16:23:35 -07:00
Stephen Birarda
b3d33bc59f copy the ControlPacket type when moving ControlPacket 2015-07-24 16:20:49 -07:00
Stephen Birarda
78688ebaca add construction of QIODevice for BasePacket copy 2015-07-24 16:18:58 -07:00
Stephen Birarda
ff3cca1c20 fix indentation in BasePacket 2015-07-24 16:17:49 -07:00
Stephen Birarda
47a05bd3ec repairs for dead listener checks 2015-07-24 16:17:06 -07:00
Stephen Birarda
f4ade0ee8e remove lastSequenceNumbers from Node 2015-07-24 16:13:05 -07:00
Stephen Birarda
49a18be24b use totalHeadersSize from Packet in NLPacket 2015-07-24 16:11:25 -07:00
Stephen Birarda
ffb1b9cc93 add a message for PacketHeaders 2015-07-24 16:06:05 -07:00
Stephen Birarda
5b0495db8e remove unused methods in PacketHeaders 2015-07-24 16:02:28 -07:00
Stephen Birarda
9c792f00df resolve conflicts on merge with birarda/protocol 2015-07-24 15:57:20 -07:00
Stephen Birarda
d23e5a3970 resolve conflicts on merge with upstream/master 2015-07-24 15:56:17 -07:00
Atlante45
65e15a4dc3 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-24 15:54:59 -07:00
Stephen Birarda
82def6e15f resolve conflicts on merge with upstream/master 2015-07-24 15:40:35 -07:00
Atlante45
f06d21691d Added ACKs removal from sent list 2015-07-24 15:33:42 -07:00
Atlante45
e330727e36 Added NAK resend 2015-07-24 15:24:40 -07:00
Atlante45
da93301ac6 More work on SendQueue (Threading) 2015-07-24 14:33:40 -07:00
Atlante45
797f74f3d9 Use SeqNum 2015-07-24 12:27:40 -07:00
Atlante45
d4504ae6c8 Make SeqNum hash friendly 2015-07-24 12:21:20 -07:00
Stephen Birarda
aea2fed449 add a static to create a packet pair 2015-07-24 11:46:11 -07:00
Stephen Birarda
6dba431084 initial version of the control packet class 2015-07-24 11:38:51 -07:00
Atlante45
beba45c8c5 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-24 10:58:55 -07:00
Stephen Birarda
71557a1846 only output no listener for type message one time 2015-07-24 09:36:27 -07:00
Stephen Birarda
d938f31fab fix for write of sourceID and verificationHash 2015-07-23 17:10:40 -07:00
Stephen Birarda
b68c7fd92a first adjustment in NLPacket after type is known 2015-07-23 16:59:08 -07:00
Stephen Birarda
069dff0793 fix bugs from movement of type/version to NLPacket 2015-07-23 16:40:35 -07:00
Stephen Birarda
2f03075750 repairs to type/version header write 2015-07-23 15:57:31 -07:00
Stephen Birarda
862c788aec move payload adjustments to Packet 2015-07-23 15:27:32 -07:00
Stephen Birarda
df47f1dd0b add a BasePacket class for headerless packets 2015-07-23 15:20:37 -07:00
Atlante45
9a51aef712 Added congestion control base classes 2015-07-23 15:02:34 -07:00
Atlante45
c5901c3f6b Sequence Numbers helper class 2015-07-23 15:00:32 -07:00
Stephen Birarda
e5955e39b7 fix QDebug signature for Node 2015-07-23 14:06:40 -07:00
Stephen Birarda
19d0bf403c change NLPacket create signature for new headers 2015-07-23 14:06:10 -07:00
Stephen Birarda
9e7fb9ae16 shuffle Packet headers, use static enum for PacketType 2015-07-23 13:56:47 -07:00
Stephen Birarda
aa08bee69f initial work to make sequence # and bitfield lead all packets 2015-07-23 11:59:37 -07:00
Atlante45
dce1fc6855 SendQueue first draft 2015-07-23 11:18:52 -07:00
Stephen Birarda
5bed3502ef fix order of ctors and assignment operators 2015-07-22 14:15:17 -07:00
Stephen Birarda
023f3b8134 fix sequence number read in PacketReceiver 2015-07-22 11:34:30 -07:00
Stephen Birarda
4a11bdc22e indentation and spacing fixes 2015-07-22 11:26:28 -07:00
Stephen Birarda
12e684bea1 fix identation for NLPacket move ctor 2015-07-22 11:21:31 -07:00
Stephen Birarda
3fbda89f1d copy version in Packet move ctor/assignment 2015-07-22 11:17:50 -07:00
Stephen Birarda
8bf507dd24 add a sanity check for data NLPacket ctor 2015-07-22 11:06:13 -07:00
Stephen Birarda
1386aa57da repair to NLPacket creation from Packet and char* 2015-07-22 11:02:45 -07:00
Stephen Birarda
fb7130120a another rename to Socket callbacks 2015-07-22 10:16:26 -07:00
Stephen Birarda
7f53eda0d9 naming changes to udt::Socket handlers 2015-07-22 10:01:24 -07:00