despair86
258c2a12dc
i blame clang-format
2018-08-23 13:44:45 -05:00
despair86
79c992a9be
Microsoft libc6.x and libc7.x do not have C99 printf semantics, mingw-w64 handles this inline
2018-08-23 13:44:45 -05:00
despair86
23ecd03c71
win32 native threading vs pthreads on mingw-w64
...
also, msc++ implements all of C++17
2018-08-23 13:44:44 -05:00
despair86
806e9f82a3
hmm some BSDs implement SIOCSIFNAME, Solaris (being SVR4 UNIX) definitely does.
...
Implemented.
2018-08-23 13:44:44 -05:00
despair86
3ccb425021
hmm this may work on BSD unix...
2018-08-23 13:44:44 -05:00
Ricardo Villegas
3cca107041
more header fixes
...
-despair86
2018-08-23 13:44:43 -05:00
despair86
9b73b013ce
run-time assertion in ms c: make sure that CPP macro and local variable LOOPS == loops
2018-08-23 13:42:54 -05:00
Jeff
7af9ed0f70
Merge branch 'master' of ssh://github.com/loki-project/loki-network
2018-08-23 14:02:13 -04:00
Jeff
367258551b
fix osx build
2018-08-23 14:02:02 -04:00
Jeff Becker
ba12f3e5e2
prevent crash?
2018-08-23 11:34:43 -04:00
Jeff Becker
3625313304
clear pending dht tx
2018-08-23 11:29:43 -04:00
Jeff Becker
bb25537fb5
build paths if we have no connected routers to make sessions happen
2018-08-23 11:19:16 -04:00
Jeff Becker
4e3acd0277
persist sessions between routers
2018-08-23 10:35:29 -04:00
Jeff Becker
51029f0f2f
make loopback testnet work again
2018-08-23 10:07:53 -04:00
Jeff Becker
9ca8d837d7
add ci
2018-08-23 09:30:29 -04:00
Jeff Becker
ee2d54d564
win32 fix
2018-08-23 09:19:50 -04:00
Jeff Becker
885fb3cd97
revert back to priority queue for codel
2018-08-23 08:26:31 -04:00
Jeff Becker
f989996bc7
lol
2018-08-22 12:25:10 -04:00
Jeff Becker
b77525b72d
persist on commit
2018-08-22 12:19:51 -04:00
Jeff Becker
b7039f6e5c
more tun stuff
2018-08-22 11:52:10 -04:00
Jeff Becker
a2f4c3e3bb
add more autogenerate config lines
2018-08-22 11:51:50 -04:00
Jeff Becker
ee663c7dbf
try fixing linux ci build
2018-08-21 14:52:39 -04:00
Jeff Becker
43b7b5020d
fix win32 again
2018-08-21 14:40:42 -04:00
Jeff Becker
dbac1334e0
disable promises in win32
2018-08-21 14:39:18 -04:00
Jeff Becker
7237d701f1
more win32
2018-08-21 14:33:27 -04:00
Jeff Becker
41cd1d4df1
fix win32
2018-08-21 14:31:42 -04:00
Jeff Becker
4e2f0ccbf8
* add ProcessIf in CoDel queue to requeue unprocessed items
...
* more tun code
* make event loop tick and write with tun
2018-08-21 14:17:16 -04:00
Jeff Becker
4aebbda640
more tun stuff
2018-08-20 15:12:12 -04:00
Jeff
e8daf53600
Merge pull request #13 from despair86/master
...
periodic porting of new code
2018-08-20 07:10:17 -04:00
despair86
c24a73f756
ran the linter on new code
2018-08-20 05:52:47 -05:00
despair86
db1989c848
new named thread API on win32
2018-08-20 05:38:25 -05:00
despair86
961a4b1d3c
eww, merge conflicts
2018-08-18 21:54:53 -05:00
Ricardo Villegas
43760dee2e
more sun patches, plus a note to port solaris tuntap after
...
doing the windows port of same
2018-08-18 21:26:25 -05:00
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
2018-08-18 21:26:18 -05:00
Ricardo Villegas
d394e229ca
unix fixes
2018-08-18 21:25:38 -05:00
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
2018-08-18 21:25:24 -05:00
despair86
72c2231caf
this works apparently
2018-08-18 21:24:41 -05:00
despair86
556bc2b740
these headers need to be in a specific order
...
because the winsock sdk does weird shit
2018-08-18 21:24:41 -05:00
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
2018-08-18 21:24:40 -05:00
Jeff Becker
4ab9f72415
backport for gcc 5
2018-08-18 11:34:06 -04:00
Jeff Becker
377cc78144
fix crash
2018-08-18 10:01:21 -04:00
Jeff Becker
1a1f93c171
* more tun stuff
...
* use std::unique_ptr where bare pointers aren't absolutely required
2018-08-17 15:49:58 -04:00
Jeff Becker
913fb1d88a
don't use 100% cpu
2018-08-16 11:31:32 -04:00
Jeff Becker
df580f6106
update motto for 0.0.3
2018-08-16 10:47:08 -04:00
Jeff Becker
62e14379c8
bump version to 0.0.3
2018-08-16 10:35:18 -04:00
Jeff Becker
08d6121a5a
more tun code
2018-08-16 10:34:15 -04:00
Jeff Becker
1c916e9d0c
fix building debian package on systems that don't have avx2
2018-08-16 09:12:43 -04:00
Jeff Becker
bb2754f3d9
more fixes?
2018-08-15 12:27:03 -04:00
Jeff Becker
191e9c29e1
will this help ? idk
2018-08-15 12:24:38 -04:00
Jeff Becker
5b322510a7
try making it compile
2018-08-15 12:21:51 -04:00