Development discussion of WireGuard
 help / color / mirror / Atom feed
* [PATCH 0/7] TUN fixes
@ 2017-12-31 16:16 Simon Ruderich
  2017-12-31 16:16 ` [PATCH 1/7] tun: TUNDevice: document behavior of offset parameter Simon Ruderich
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Simon Ruderich @ 2017-12-31 16:16 UTC (permalink / raw)
  To: wireguard

Hello,

While looking through the latest commits I noticed that 996c7c4
("Removed IFF_NO_PI from TUN linux", 2017-12-04) broke the test
suite and darwin and windows builds by changing the TUNDevice
interface. This patch series adds documentation and tries to fix
the tests and the darwin/windows tun (however that part is
untested as I don't have access to these systems and it looks
like the build is already broken for a while).

Note that d73f960 ("Peer timer teardown", 2017-12-29) broke the
tests in a separate way so even with these patches the test suite
will not pass.

Regards
Simon

Simon Ruderich (7):
  tun: TUNDevice: document behavior of offset parameter
  tun_linux: add PIHeaderSize constant instead of magic value
  tun_linux: document packet information header values
  helper_test: reorder DummyTUN functions to follow interface order
  helper_test: adapt to TUNDevice interface change
  tun_darwin: adapt to TUNDevice interface change
  tun_darwin: adapt to TUNDevice interface change

 src/helper_test.go | 26 +++++++++++++-------------
 src/tun.go         |  4 ++--
 src/tun_darwin.go  | 13 ++++++++++---
 src/tun_linux.go   | 11 +++++++----
 src/tun_windows.go |  8 ++++++--
 5 files changed, 38 insertions(+), 24 deletions(-)

-- 
2.15.1

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

end of thread, other threads:[~2018-01-01 11:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-31 16:16 [PATCH 0/7] TUN fixes Simon Ruderich
2017-12-31 16:16 ` [PATCH 1/7] tun: TUNDevice: document behavior of offset parameter Simon Ruderich
2017-12-31 16:16 ` [PATCH 2/7] tun_linux: add PIHeaderSize constant instead of magic value Simon Ruderich
2017-12-31 16:16 ` [PATCH 3/7] tun_linux: document packet information header values Simon Ruderich
2017-12-31 16:16 ` [PATCH 4/7] helper_test: reorder DummyTUN functions to follow interface order Simon Ruderich
2017-12-31 16:16 ` [PATCH 5/7] helper_test: adapt to TUNDevice interface change Simon Ruderich
2017-12-31 16:16 ` [PATCH 6/7] tun_darwin: " Simon Ruderich
2017-12-31 16:16 ` [PATCH 7/7] " Simon Ruderich
2017-12-31 19:17   ` Mathias Hall-Andersen
2018-01-01 11:14     ` Simon Ruderich
2018-01-01 11:36     ` Simon Ruderich

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).