Development discussion of WireGuard
 help / color / mirror / Atom feed
* WireGuard-Go Android support
@ 2017-11-07 11:59 Aurélien Chabot
  2017-11-07 11:59 ` [PATCH 1/2] Put the code in a 'wireguard' go package Aurélien Chabot
  2017-11-07 11:59 ` [PATCH 2/2] Add android support Aurélien Chabot
  0 siblings, 2 replies; 3+ messages in thread
From: Aurélien Chabot @ 2017-11-07 11:59 UTC (permalink / raw)
  To: wireguard

Hi,

This is a set of patch the wireguard-go project adding some needed stuff
to have android support. 
The idea is to use the wireguard-go project as a library that is exposed
with a "gomobile" binding to an android application.
I posted a set of patch on the wireguard-android project too and it is
worth for anyone looking at those change to have a look there too, at
least at the couple of go file that live there.
The change look a bit intrusive here (I had to move most of the code to
a folder...) but I did not find any other clean solution to be able to
use this code as an outside library (although I am not a go expert). I
am open to any better idea.

Regarding the change itself, there is one item that i'd like to
highlight, it's the change on that add a "tun device close". I am not
sure why I had to add this code, maybe I miss something else more
general, but it was actually never called in my case.   

Aurélien

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-07 11:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-07 11:59 WireGuard-Go Android support Aurélien Chabot
2017-11-07 11:59 ` [PATCH 1/2] Put the code in a 'wireguard' go package Aurélien Chabot
2017-11-07 11:59 ` [PATCH 2/2] Add android support Aurélien Chabot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).