Jeff Becker
5b05d22bad
refactors
...
* add path sequence numbers on routing messages
* reduce log level in debug mode
* wire up loopback style sending to ourself
2021-04-19 06:59:06 -04:00
Jeff Becker
7a1ffc2df4
* lessen replay filter window
...
* dont have transit hops use a replay filter
* formatting
2021-04-12 13:14:59 -04:00
Jeff Becker
9c742b36eb
call delivery status hook on overload
2021-04-12 12:00:35 -04:00
Thomas Winget
7caa87862e
standardize include format and pragma once
...
All #ifndef guards on headers have been removed, I think,
in favor of #pragma once
Headers are now included as `#include "filename"` if the included file
resides in the same directory as the file including it, or any
subdirectory therein. Otherwise they are included as
`#include <project/top/dir/relative/path/filename>`
The above does not include system/os headers.
2021-03-09 19:01:41 -05:00
Jason Rhinelander
91d6698a9d
Reformat with clang-format-11
2021-03-05 13:36:31 -04:00
Jeff Becker
7dbd25f271
don't leave old multi ack codepath in
2021-03-04 15:25:11 -05:00
Jeff Becker
ad3c23ba2b
simplify call
2021-03-04 15:21:51 -05:00
Jeff Becker
5cffc3b0f8
consolidate rx message handling in iwp
...
* add toggle flag for using multi ack
* check replay filter before processing message
2021-03-04 15:21:51 -05:00
Jeff Becker
74f707ee01
only do single ack packets
2021-03-04 15:21:51 -05:00
Jeff Becker
1c3020a05e
drop on overload
2021-02-22 15:29:12 -05:00
Jeff Becker
bb9bd25059
get rid of use of llarp::IpAddress from hotpaths
2021-02-22 10:01:05 -05:00
Jeff Becker
42ffbcca0a
try coleasing inbound packets from iwp
2021-02-22 08:26:32 -05:00
Jeff
28bfaf0372
ammend log levels for common spammy log events ( #1375 )
2020-10-01 11:14:08 -04:00
Stephen Shelton
b2a72dd46a
Initial test_peer_stats hive test
2020-07-02 10:16:19 -06:00
Stephen Shelton
d897099e1d
Track traffic peerstats
2020-07-02 10:13:24 -06:00
Jeff Becker
f4971a88fd
use lokimq workers instead of llarp: 🧵 :ThreadPool
2020-07-02 11:07:34 -04:00
Stephen Shelton
91a2af0eda
Sanity checks around shared_from_this()
2020-06-01 14:56:58 -06:00
Jeff Becker
44c790b65c
revert back to for loop for simplicity
2020-06-01 09:23:17 -04:00
Jeff Becker
db00d080f6
use std::list instead of std::vector because idfk man
2020-05-24 08:36:46 -04:00
Jeff Becker
96cbab33c3
style: put iterator erase in for loop update
2020-05-24 08:15:36 -04:00
Jeff Becker
44ff3a9928
copy assignment so we don't crash
2020-05-24 08:14:08 -04:00
Jeff Becker
149a01c80f
dont use std::bind, use lambda
2020-05-24 08:07:37 -04:00
Jeff Becker
3a776b3ed1
bounds checks and such
2020-05-23 16:07:20 -04:00
Jeff Becker
3eb006f78c
iwp/libuv cleanup: remove llarp_pkt_list and all users of it as it's broke
2020-05-23 16:07:19 -04:00
Jeff Becker
e56faba23d
make format
2020-05-15 09:07:28 -04:00
Jason Rhinelander
dccc663f31
Miss Match demands her name be removed from the code
...
(i.e. fix speeling mistack: missmatch -> mismatch)
2020-05-13 22:35:15 -03:00
Stephen Shelton
aee96e53a3
Refactor Addr -> IpAddress/SockAddr
2020-05-06 14:38:44 -06:00
Stephen Shelton
273270916e
The Great Wall of Blame
...
This commit reflects changes to clang-format rules. Unfortunately,
these rule changes create a massive change to the codebase, which
causes an apparent rewrite of git history.
Git blame's --ignore-rev flag can be used to ignore this commit when
attempting to `git blame` some code.
2020-04-07 12:38:56 -06:00
Jeff Becker
3b424f76f1
strict check of bounds
2020-03-31 09:26:39 -04:00
Jeff Becker
b398076bc6
add bounds check
2020-03-23 13:38:14 -04:00
Jeff Becker
b96700579e
remove un needed check
2020-03-23 13:28:44 -04:00
Jeff Becker
53e7397935
fix use after move
2020-03-23 13:20:32 -04:00
Jeff Becker
bf0416cab8
remove Time_t, add operator overload for printing llarp_time_t and add to_json function for serializing llarp_time_t to json
2020-02-25 12:05:13 -05:00
Jeff Becker
d2d109e92c
llarp_time_t is now using std::chrono
2020-02-24 15:25:03 -05:00
Jeff
5901d0eb6b
Merge pull request #1092 from majestrate/reduce-iwp-multiack-frequency-2020-02-10
...
Reduce iwp multiack transmission frequency
2020-02-11 07:09:28 -05:00
Jeff Becker
8b77ec31ef
reduce number of multiack packets sent
2020-02-10 15:01:51 -05:00
Stephen Shelton
3d00feb08a
Make format
2020-02-10 12:51:54 -07:00
Stephen Shelton
7f0972d48e
Use name 'StateToString()' instead of ambiguous 'toString()'
2020-02-10 09:27:12 -07:00
Stephen Shelton
63ad7c8b91
Leave IWP session JSON stats 'tx' and 'rx' for compat
2020-02-10 09:17:40 -07:00
Stephen Shelton
2279ebeb40
Add IWP session stats to JSON API
2020-02-07 11:43:40 -07:00
Jeff Becker
0f6c5958ba
add bw stats to iwp sessions
2019-12-17 09:36:56 -05:00
Jeff Becker
9be4092a2a
more close changes
2019-12-05 11:31:58 -05:00
Jeff Becker
86a4ccd98f
unconditionally bundle first fragment in xmit
2019-12-03 12:54:32 -05:00
Jeff Becker
1f83fdb190
fix previous commit
2019-12-03 12:54:23 -05:00
Jeff Becker
1a6a66108d
make it compile
2019-12-03 12:53:11 -05:00
Jeff Becker
c88602ee16
break the world to make it faster
2019-12-03 12:53:01 -05:00
Jeff Becker
ac686a9329
remove valgrind access errors
2019-11-22 16:23:20 -05:00
Jeff Becker
b207db626f
please the gods of valgrind
2019-11-22 16:23:20 -05:00
Jeff Becker
56dce90de9
add trace log level for tracking logic thread jobs
2019-11-22 16:23:19 -05:00
Jason Rhinelander
d96d33329b
Merge pull request #912 from majestrate/logic-thread-fix-2019-11-13
...
fix logic thread behavior
2019-11-19 15:26:35 -04:00