Commit Graph

21 Commits

Author SHA1 Message Date
Rick V
1eddba0dd3
that _should_ be just enough to implement TUN on Solaris 2.x
sadly this is ineligble for upstream because we don't bother
to use TAP in the slightest
2019-03-25 12:03:55 -05:00
Rick V
0de253065e
remove ded code
add code for proper DNSc search
2019-02-26 15:35:04 -06:00
despair
d26141d433 Merge branch 'dev' into reeeee-divergence
ok hope this works -rick

# Conflicts:
#	.gitignore
#	.vscode/settings.json
#	include/llarp/service/context.hpp
#	llarp/dns.cpp
#	llarp/dnsc.cpp
#	llarp/ev.cpp
#	llarp/ev.hpp
#	llarp/ev_win32.hpp
#	llarp/net.cpp
#	llarp/router.cpp
#	llarp/router.hpp
#	llarp/service/context.cpp
2018-12-03 12:24:56 -06:00
Jeff Becker
622ed8d12e
fix crash on premature close of event loop (also make format) 2018-12-02 13:07:07 -05:00
Jeff Becker
7e4d74cbfc
add initial jni stuff for lokinet android. i fucking hate android so god damn much. 2018-11-26 17:46:22 -05:00
despair
e18f786ab2 refactor event loop stuff
find some place in the C code to place the worker thread procedure
until such time that michael presents the new thread pool class

fix unix

get a new event port each time and delet in the event loop after use
2018-11-19 04:29:39 -06:00
Jeff Becker
69e187cfd7
make it compile 2018-10-29 13:20:50 -04:00
despair86
9d546cbac4 separate read and write event ports to avoid overwriting queue events 2018-10-16 12:18:29 -05:00
despair86
94c5f46d33 try fixing win32 event loop 2018-10-06 12:04:50 -05:00
despair86
8ac7d4f6dc if we didn't specify a path to save our config in, only create .lokinet on the assumption that $HOME or $APPDATA (on NT) already exist
add win32 tun glue, fix llarp timebase
(In fact, _both_ of these are guaranteed to exist on their respective platforms.)
also, tuntap is now wired up to the windows port
2018-10-01 15:08:52 -05:00
Jeff Becker
685fc464c0
we don't need TAP 2018-09-24 12:07:34 -04:00
Jeff
929cd8169f i fucking hate apple it's fucking shit, fucking god awful shit.
also drybones will never find this.
2018-09-20 18:31:34 -04:00
despair86
715490ab3d ok that should untangle unix 2018-08-23 14:07:50 -05:00
Ricardo Villegas
3cca107041 more header fixes
-despair86
2018-08-23 13:44:43 -05:00
Jeff Becker
4aebbda640
more tun stuff 2018-08-20 15:12:12 -04: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
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
c36c83d9dc
more hidden service code 2018-08-09 15:02:17 -04:00
Jeff Becker
d5532e4de4
more boilerplate and enable tun/tap build 2018-08-08 15:37:33 -04:00