Commit graph

17 commits

Author SHA1 Message Date
f10521ec52 Impl drop all connections with specific addr
Fix UDPC_drop_connection that didn't fully cleanup connection data.

Added UDPC_drop_connection_addr fn that drops all connections with a
specific addr.
2019-08-28 16:38:14 +09:00
8dba751929 Some fixes
Fix id of sent packet stored in network byte order instead of native
order.

Fix failing to send packet not stopping storing sent packet data.
2019-08-28 15:54:18 +09:00
1382cc6b7c Store connections based on both addr and port
Previous implementation only stored based on addr only, preventing
connections from/to the same address but different ports.
2019-08-27 17:00:29 +09:00
57e270eb15 Replace all uses of float with chrono::duration 2019-08-27 16:31:24 +09:00
f5cfbe41d5 Fix warnings, some impl, still WIP 2019-08-27 14:06:27 +09:00
da6d752b55 Set max size for received pkts queue 2019-08-27 13:06:15 +09:00
236b03c9b1 Impl storing received packet 2019-08-27 13:03:38 +09:00
418c088084 Impl check timed-out packets
Still WIP
2019-08-27 12:42:43 +09:00
7482fecb37 More impl: rtt and timepoint per sent pkt 2019-08-22 20:16:07 +09:00
0065928422 More impl, fix move for TSQueue 2019-08-22 16:08:05 +09:00
1e0f631ab2 Some WIP impl of receiving packet handling 2019-08-18 19:14:14 +09:00
5c4360cabe Some more work on cpp_impl (still WIP) 2019-07-25 20:51:08 +09:00
0bd51418a2 Some work on update impl 2019-07-21 14:29:31 +09:00
640102c091 Minor changes/fixes, clang-format fixes 2019-07-21 13:45:42 +09:00
132508d5cc Add check for endianness, fix strtoa for ipv4 2019-07-07 14:44:37 +09:00
28d832a349 Invoke ALEFix 2019-06-06 16:42:07 +09:00
4b56bda4b1 Skeleton code set up for cpp impl 2019-06-06 16:02:48 +09:00