Commit Graph

105 Commits

Author SHA1 Message Date
Jeff Becker
905da99c38
pedantic debug message 2018-12-15 11:16:30 -05:00
Jeff Becker
abdbdf3137
revert 2018-12-15 11:01:34 -05:00
Jeff Becker
b1a34411bd
flush in tick 2018-12-15 10:44:22 -05:00
Jeff Becker
0957ed739e
more 2018-12-14 11:24:51 -05:00
Jeff Becker
3a2b454c34
meh 2018-12-14 11:19:56 -05:00
Jeff Becker
f651d362d2
aaaaaa 2018-12-14 11:09:15 -05:00
Jeff Becker
22648502e1
make nonblocking 2018-12-14 11:06:17 -05:00
Jeff Becker
6d86123c79
track writes in kqueue 2018-12-14 11:01:32 -05:00
Jeff Becker
78b4d220fc
more 2018-12-14 10:45:35 -05:00
Jeff Becker
dba672d76f
fixit 2018-12-14 10:43:44 -05:00
Jeff Becker
0e3ff49f1c
try fix 2018-12-14 10:32:52 -05:00
Jeff Becker
978fdbfdb1
god damnit 2018-12-14 10:23:37 -05:00
Jeff Becker
45485386c6
revert 2018-12-14 10:09:36 -05:00
Jeff Becker
a2686149ce
destroy if on destruct 2018-12-14 09:48:36 -05:00
Jeff Becker
0091792c0f
more 2018-12-14 09:36:07 -05:00
Jeff Becker
7608aef366
more 2018-12-14 09:23:02 -05:00
Jeff Becker
7002e4d137
more 2018-12-14 09:22:18 -05:00
Jeff Becker
42e4b8661c
try fix for freebsd 2018-12-14 08:51:00 -05:00
Jeff Becker
be234e4b6e
* make format
* snode to snode direct traffic

* wire up dns on service node tun
2018-12-13 11:14:44 -05:00
Jeff
9380b788c4
Merge pull request #138 from despair86/dev
fix hardwired unix size
2018-12-12 08:31:42 -05:00
despair
ba8adcc012 pktinfo on all BSD UNIX platforms 2018-12-11 21:52:37 -06:00
Michael
85dde7b6b0
Move remaining include/llarp headers to llarp/ 2018-12-12 02:53:02 +00:00
Jeff Becker
baa94ec345
make windows build happy 2018-12-03 09:39:30 -05:00
Jeff Becker
25fac844eb
make format 2018-11-26 08:30:03 -05:00
Jeff Becker
c1e494c2c4
have llarp_ev_* use llarp_buffer_t 2018-11-23 09:37:26 -05:00
Michael
6ea0362167
Minor fixes for macOS build 2018-11-21 23:06:57 +00:00
Michael
0b2ebc83e0
De-C-ify several .h headers 2018-11-19 22:45:37 +00:00
Jeff Becker
7a78832841
Merge remote-tracking branch 'rick/dev' 2018-11-07 11:05:47 -05:00
Michael Thorpe
33bfaf7ecd
Enable -Wextra
test criteria:
- test build on macOS
- test build in debian docker container
- test build in fedora docker container
2018-11-07 15:31:13 +00:00
despair
04e620ebf2 add iocp tcp connect
msys2 grabs its reactos sdk headers straight out of git
most cross-compilers use the versioned releases (v6 as of last week)

huh. for once setting the windows version macros doesn't break anything.
2018-11-06 17:54:34 -06:00
Ryan Tharp
5d90cbe895 Merge branch 'master' of https://github.com/loki-project/loki-network 2018-11-03 13:43:21 +00:00
Ryan Tharp
67390de0c2 merge 2018-11-03 06:19:18 -07:00
Jeff Becker
e7cfc9aa6e
try fixing freebsd build 2018-11-02 13:41:55 -04:00
Jeff
4b92661f5d * fix up kqueue tcp connection tracking so it works on mac os
* match changes in epoll for kqueue changes
* additional checks in libabyss
2018-11-02 08:35:20 -04:00
Jeff Becker
2d279e83fd
initial tcp connect for epoll 2018-11-01 08:47:14 -04:00
despair
186e2ea989 refactored event loop base classes
use the base class impl for llarp::tcp_conn::sendto

can't seem to escape quotes ;-;

yeah this need to stay out of the unix build

turn on gnu extensions

apple stuff

remove duplicate code

clean up

fix vtable

clang-format

parameter checks
2018-10-30 00:41:44 -05:00
Jeff Becker
e722e69543
more freebsd stuff 2018-10-29 13:15:18 -04:00
Jeff Becker
0d09dbb1c2
disable special tun behavior for freebsd 2018-10-29 13:06:32 -04:00
Jeff Becker
51bfcb5493
milliseconds not microseconds 2018-10-29 12:58:19 -04:00
Jeff Becker
dbd2c41909
use event loop for time 2018-10-29 12:48:36 -04:00
Jeff
9f9d4cd0e0 flush during tick 2018-10-27 18:07:16 -04:00
Jeff
2ca152f43f make tun work on kqueue 2018-10-27 16:02:37 -04:00
Jeff
04b738aa9e make it work on osx for real 2018-10-27 15:03:23 -04:00
Jeff
ccead80c3d make jsonrpc server configurable on build, disabled by default.
default to client only and require explicitly run as relay to run as relay.
2018-10-27 08:41:04 -04:00
Jeff Becker
f873b18036
fix up event loop 2018-10-25 08:39:32 -04:00
Jeff Becker
957a5ed833
initial epoll event loop implementation for tcp 2018-10-24 14:02:42 -04:00
Jeff
0e66ba2026 flush tun on macos 2018-10-23 09:52:14 -04:00
Jeff
4ea3549c21 tick and use std::unique_ptr 2018-10-21 13:07:17 -04:00
Jeff
b8ed9ceea8 fix kqueue and merge changes 2018-10-21 11:15:04 -04:00
Jeff Becker
ff26f2dcff
do bounds check 2018-10-15 12:20:45 -04:00