<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wintun/example, branch sr/api-improvements</title>
<subtitle>Layer 3 TUN Driver for Windows</subtitle>
<id>https://git.zx2c4.com/wintun/atom/example?h=sr%2Fapi-improvements</id>
<link rel='self' href='https://git.zx2c4.com/wintun/atom/example?h=sr%2Fapi-improvements'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wintun/'/>
<updated>2021-04-13T21:56:04Z</updated>
<entry>
<title>Allow optional padding before and after layer 3 packets</title>
<updated>2021-04-13T21:56:04Z</updated>
<author>
<name>Simon Rozman</name>
<email>simon@rozman.si</email>
</author>
<published>2021-04-10T13:33:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wintun/commit/?id=564a883e23fff00140c10271f08b37dc649d57c8'/>
<id>urn:sha1:564a883e23fff00140c10271f08b37dc649d57c8</id>
<content type='text'>
To avoid additional packet memory allocation and copy when sending or
receiving packets, this commit introduces additional available space
before and after layer 3 IPv4 or IPv6 packet in the Wintun rings. Wintun
will ignore data in those areas.

Requested-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: Simon Rozman &lt;simon@rozman.si&gt;
</content>
</entry>
<entry>
<title>api: elevate to SYSTEM in WintunEnumAdapters()</title>
<updated>2021-03-08T12:48:29Z</updated>
<author>
<name>Simon Rozman</name>
<email>simon@rozman.si</email>
</author>
<published>2021-03-08T12:48:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wintun/commit/?id=cef79225560bd454cb5c49d8d2b0cfac869de8d3'/>
<id>urn:sha1:cef79225560bd454cb5c49d8d2b0cfac869de8d3</id>
<content type='text'>
The WintunEnumAdapters() requires namespace mutex. However,
NamespaceTakePoolMutex() works as SYSTEM user only.

WireGuard is using the WintunEnumAdapters() in its manager service to
cleanup stale adapters. As the WireGuard manager service is running as
SYSTEM, this requirement was not apparent before.

This commit also extends the example project to list its existing
adapters at start.

Signed-off-by: Simon Rozman &lt;simon@rozman.si&gt;
</content>
</entry>
<entry>
<title>global: bump copyright</title>
<updated>2021-01-30T15:45:26Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2021-01-30T15:45:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wintun/commit/?id=2628412d71a6caf22368cd6d7cf441ded139db4f'/>
<id>urn:sha1:2628412d71a6caf22368cd6d7cf441ded139db4f</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>api: remove return value from logger function</title>
<updated>2020-11-10T21:06:25Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-11-10T21:06:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wintun/commit/?id=e73613ee24cc5211c17b16f8190726f148c52a10'/>
<id>urn:sha1:e73613ee24cc5211c17b16f8190726f148c52a10</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>api: remove WintunOpenAdapterDeviceObject</title>
<updated>2020-11-05T15:58:43Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-11-05T14:25:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wintun/commit/?id=9f3d4667915357b8e7c2dbce87d94e389f8305de'/>
<id>urn:sha1:9f3d4667915357b8e7c2dbce87d94e389f8305de</id>
<content type='text'>
Discourage use of kernel interface, which gives us more flexibility if
we ever want to change it.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>example: raise to 4MiB</title>
<updated>2020-11-05T15:58:43Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-11-05T13:22:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wintun/commit/?id=1e00f310ec542ebb37969471214b66866fd520eb'/>
<id>urn:sha1:1e00f310ec542ebb37969471214b66866fd520eb</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>api: rename WintunGetAdapter to WintunOpenAdapter</title>
<updated>2020-11-05T15:58:43Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-11-05T12:39:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wintun/commit/?id=1285b8f528b3f3a3d6a4b3587dee34d1640d8a1f'/>
<id>urn:sha1:1285b8f528b3f3a3d6a4b3587dee34d1640d8a1f</id>
<content type='text'>
"Create" and "Open" natural names for these.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>api: rename ReceiveRelease to ReleaseReceivePacket</title>
<updated>2020-11-05T15:58:43Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-11-05T12:01:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wintun/commit/?id=e9e790605a606d7d2aea8fbfaf38f336c1492b79'/>
<id>urn:sha1:e9e790605a606d7d2aea8fbfaf38f336c1492b79</id>
<content type='text'>
This makes the API parallel:
Wintun*Allocate*SendPacket -&gt; WintunSendPacket
WintunReceivePacket -&gt; Wintun*Release*ReceivePacket

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>api: move InititalizeWintun to top to be easier to find</title>
<updated>2020-11-05T15:58:43Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-11-05T11:43:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wintun/commit/?id=b7f5ee9a4e9b4f11cb2ee5818048cadfdb60883e'/>
<id>urn:sha1:b7f5ee9a4e9b4f11cb2ee5818048cadfdb60883e</id>
<content type='text'>
It's the primary function we want people copy and pasting.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>api: rename GetVersion to GetRunningDriverVersion</title>
<updated>2020-11-04T13:53:39Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-11-04T13:53:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wintun/commit/?id=dc99f96da799d1e799c2ac37cc97e28de44ae521'/>
<id>urn:sha1:dc99f96da799d1e799c2ac37cc97e28de44ae521</id>
<content type='text'>
This makes our intentions a lot more clear, and in case we ever add
other version functions, makes the forward path simpler.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
</feed>
