Commit Graph

38 Commits (71c99654718e53cdaf0900be2b1555b7ec7e6daf)

Author SHA1 Message Date
cathugger 71c9965471
ip: code cleanups and compatibility improvements
do not assume that packets come with address zero-ed, older clients don't do that.
they don't modify checksum either, therefore we should be able to get correct checksum if we use deltachksum with old and new addresses.
6 years ago
cathugger 4971fae171 uint32_t byte ordering type safety 6 years ago
cathugger 05e6c31238 ip: some fixes and tweaks 6 years ago
cathugger 4cba59f3c4 tun+ip: clarify what happens where 6 years ago
despair86 e3a94101b4 the AVX2 codepaths now appear to be 32-bit clean.
old hard-coded inline asm is still included if requested.
-rick

nb: is a vector of eight floats not the same layout as a simple linear array of same? (Aside from the alignment requirements)

netbsd-family build fixes, also - the AVX2 codepaths are _compiler-specific_, they use features _exclusive_ to gcc and clang
6 years ago
Ryan Tharp 14d9b19a0f clang-format 6 years ago
Ryan Tharp dba3b66b50 fix FreeBSD compil 6 years ago
Ryan Tharp 3138610253 clang format 6 years ago
Ryan Tharp 8f5b172d33 merge? 6 years ago
Ryan Tharp f283923cb7 Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Ryan Tharp 9f33edeed0 Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Jeff dc3bb02f94 make it compile 6 years ago
Jeff 689668d892 fix osx build 6 years ago
Jeff Becker 5d0f441e29
use ntohl 6 years ago
Jeff Becker 6986f04418
basic router profiling and fix ip rewrite 6 years ago
Jeff Becker baf2e1fb3c
client improvements
for real do correct timestamp comparison for introsets
6 years ago
Jeff Becker 2993e834a0
fix ip stuff 6 years ago
Jeff Becker 11718d95cf
windows build fix 6 years ago
Ryan Tharp 742a0b8da7 Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Jeff Becker 8bae1a4735
move codel off of pointer types 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
Ryan Tharp a5af98ad0c fix FreeBSD build 6 years ago
despair86 b7b69f5596 this was already fixed before latest rebase ;-; 6 years ago
Ricardo Villegas 3cca107041 more header fixes
-despair86
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 ee2d54d564
win32 fix 6 years ago
Jeff Becker 885fb3cd97
revert back to priority queue for codel 6 years ago
Jeff Becker b7039f6e5c
more tun stuff 6 years ago
Jeff Becker 7237d701f1
more win32 6 years ago
Jeff Becker 41cd1d4df1
fix win32 6 years ago
Jeff Becker 4aebbda640
more tun stuff 6 years ago
despair86 c24a73f756 ran the linter on new code 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
Ricardo Villegas d394e229ca unix fixes 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
Jeff Becker 1a1f93c171
* more tun stuff
* use std::unique_ptr where bare pointers aren't absolutely required
6 years ago