Commit Graph

549 Commits (74b713870b685da489a60cfdb3ff4d1471097351)

Author SHA1 Message Date
Jeff Becker 74b713870b
use const
always use outbound links
6 years ago
Jeff Becker b362784581
redo codel to do as few allocations as possible 6 years ago
Jeff Becker 8bae1a4735
move codel off of pointer types 6 years ago
Jeff Becker 4e693a2414
make signatures work again ;~; 6 years ago
Jeff Becker 973f86c900
it compiles 6 years ago
Jeff Becker 5228a81bae
more refactor
get rid of C api
6 years ago
Jeff Becker b122fc59f8
refactor (not done) 6 years ago
Jeff Becker 199dad09dd
* kill dht feedback loop
* add dht exploration for discovering new routers

* tweak loopback testnet paramters to not be initially fully connected
6 years ago
Jeff Becker cf0aa2da24
forgot files 6 years ago
Jeff Becker d3eef5c8b7
more netns code 6 years ago
Jeff Becker bee5eee0b1
fix skiplist placement 6 years ago
Jeff Becker 3588580c1a
Merge branch 'master' of ssh://github.com/loki-project/loki-network 6 years ago
Jeff Becker 435fba25fd
add parts to rcutil to print out info about RCs: ./rcutil -V self.signed 6 years ago
despair86 e71c00f736 header fix 6 years ago
despair86 258c2a12dc i blame clang-format 6 years ago
despair86 79c992a9be Microsoft libc6.x and libc7.x do not have C99 printf semantics, mingw-w64 handles this inline 6 years ago
despair86 23ecd03c71 win32 native threading vs pthreads on mingw-w64
also, msc++ implements all of C++17
6 years ago
despair86 3ccb425021 hmm this may work on BSD unix... 6 years ago
Ricardo Villegas 3cca107041 more header fixes
-despair86
6 years ago
despair86 9b73b013ce run-time assertion in ms c: make sure that CPP macro and local variable `LOOPS == loops` 6 years ago
Jeff 7af9ed0f70 Merge branch 'master' of ssh://github.com/loki-project/loki-network 6 years ago
Jeff 367258551b fix osx build 6 years ago
Jeff Becker ba12f3e5e2
prevent crash? 6 years ago
Jeff Becker 3625313304
clear pending dht tx 6 years ago
Jeff Becker bb25537fb5
build paths if we have no connected routers to make sessions happen 6 years ago
Jeff Becker 4e3acd0277
persist sessions between routers 6 years ago
Jeff Becker 51029f0f2f
make loopback testnet work again 6 years ago
Jeff Becker 885fb3cd97
revert back to priority queue for codel 6 years ago
Jeff Becker f989996bc7
lol 6 years ago
Jeff Becker b77525b72d
persist on commit 6 years ago
Jeff Becker b7039f6e5c
more tun stuff 6 years ago
Jeff Becker a2f4c3e3bb
add more autogenerate config lines 6 years ago
Jeff Becker dbac1334e0
disable promises in win32 6 years ago
Jeff Becker 4e2f0ccbf8
* add ProcessIf in CoDel queue to requeue unprocessed items
* more tun code
* make event loop tick and write with tun
6 years ago
Jeff Becker 4aebbda640
more tun stuff 6 years ago
despair86 c24a73f756 ran the linter on new code 6 years ago
despair86 db1989c848 new named thread API on win32 6 years ago
despair86 961a4b1d3c eww, merge conflicts 6 years ago
Ricardo Villegas 43760dee2e more sun patches, plus a note to port solaris tuntap after
doing the windows port of same
6 years ago
despair86 8c1b2c3b79 win32 fluff
more win32 on msc++ fluff

and a solaris patch that i may revert later if the cpp directives aren't processed correctly
-despair86
6 years ago
despair86 9ad93a0893 sunos patches, avoid shadowing data members in derived classes, header fixes
SunOS build works, with a few issues:

- no tuntap debugging on Solaris? (TUNSDEBUG ioctl missing)
- regular socket ioctls are not pulled in with #include <sys/ioctl.h>
  even though they're included at the bottom of same (filio.h,
  sockio.h)
- no named threads in any libre fork of solaris

-despair86 (rick)

sun patch
6 years ago
despair86 72c2231caf this works apparently 6 years ago
despair86 556bc2b740 these headers need to be in a specific order
because the winsock sdk does weird shit
6 years ago
despair86 5f47b335a4 now matches the other platform behaviour, namely, that as long as the event-based queue file descriptor is valid, so is the event loop itself 6 years ago
Jeff Becker 4ab9f72415
backport for gcc 5 6 years ago
Jeff Becker 377cc78144
fix crash 6 years ago
Jeff Becker 1a1f93c171
* more tun stuff
* use std::unique_ptr where bare pointers aren't absolutely required
6 years ago
Jeff Becker 913fb1d88a
don't use 100% cpu 6 years ago
Jeff Becker 08d6121a5a
more tun code 6 years ago
Jeff Becker 5b322510a7
try making it compile 6 years ago