<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/games/pom, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/games/pom?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/games/pom?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2017-12-24T22:12:49Z</updated>
<entry>
<title>Consolidate printf(3) calls at the end of main().</title>
<updated>2017-12-24T22:12:49Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2017-12-24T22:12:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=84915a11abf4e4ff91a92507a5827bfe08abc05c'/>
<id>urn:sha1:84915a11abf4e4ff91a92507a5827bfe08abc05c</id>
<content type='text'>
Makes reading the classification algorithm easier.

ok tb@
</content>
</entry>
<entry>
<title>Use more libm.</title>
<updated>2017-12-24T16:59:50Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2017-12-24T16:59:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b1a8839e5db14821f106a980d8ae4fb93549b51f'/>
<id>urn:sha1:b1a8839e5db14821f106a980d8ae4fb93549b51f</id>
<content type='text'>
adj360() is a modulo operation: use fmod(3) to simplify things.

Adding 0.5 to the phase to steer implicit truncation is a hack:
use lround(3) to simplify things.

Product of a discussion with pjanzen@/jca@/tb@ regarding floating-point
rounding and the importance of correctly classifying a gibbous moon.

ok pjanzen@ jca@ tb@
</content>
</entry>
<entry>
<title>As we only use the .tv_sec field, simplify gettimeofday(2) -&gt; time(3).</title>
<updated>2017-12-23T20:53:07Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2017-12-23T20:53:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1dfeccb761e64b8879aa75aad68545dbf5f49aaa'/>
<id>urn:sha1:1dfeccb761e64b8879aa75aad68545dbf5f49aaa</id>
<content type='text'>
ok tb@ jca@
</content>
</entry>
<entry>
<title>Remove useless #ifndef in atc(6) and pom(6).</title>
<updated>2016-12-01T20:08:59Z</updated>
<author>
<name>fcambus</name>
<email>fcambus@openbsd.org</email>
</author>
<published>2016-12-01T20:08:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f4763835dffe4d9fac83c8c378cc1b810dd6d4f8'/>
<id>urn:sha1:f4763835dffe4d9fac83c8c378cc1b810dd6d4f8</id>
<content type='text'>
M_PI is always defined, so we can drop those directives.

OK deraadt@, millert@
</content>
</entry>
<entry>
<title>Callers of time(3) should #include &lt;time.h&gt;.</title>
<updated>2016-09-11T14:21:17Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2016-09-11T14:21:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ee7acb09aaf271db7965339e3b41e269df1a9494'/>
<id>urn:sha1:ee7acb09aaf271db7965339e3b41e269df1a9494</id>
<content type='text'>
ok deraadt
</content>
</entry>
<entry>
<title>Pull in &lt;sys/time.h&gt; for struct timespec, gettimeofday(), clock_gettime(),</title>
<updated>2016-08-27T02:02:44Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-08-27T02:02:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=79af1000e6acd6a65648b2b85a3716fca73648cf'/>
<id>urn:sha1:79af1000e6acd6a65648b2b85a3716fca73648cf</id>
<content type='text'>
and setitimer()

ok deraadt@
</content>
</entry>
<entry>
<title>- General changes:</title>
<updated>2016-03-07T12:07:55Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-03-07T12:07:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6fa5e1da3490487b9d3a614457ba0b7c041eb1ac'/>
<id>urn:sha1:6fa5e1da3490487b9d3a614457ba0b7c041eb1ac</id>
<content type='text'>
- Remove -? from getopt(3) options, but still keep (or add) -h where applicable
- Replace hardcoded program strings by getprogname(3)

- Specific changes:
- atc(6): this used -? and -u for usage(), remove both from game and manpage
- bcd(6): use __progname instead of getprogname(3), no need to include stdlib.h
- hunt(6): replace fputs(3) by fprintf(3)

OK tb@ after his suggestions
</content>
</entry>
<entry>
<title>Some basic code maintenance in games/</title>
<updated>2016-01-07T16:00:31Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2016-01-07T16:00:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=17641e3181064a4b256bd1af9f64d90af0ac5a36'/>
<id>urn:sha1:17641e3181064a4b256bd1af9f64d90af0ac5a36</id>
<content type='text'>
- in main() replace exit with return
- drop some /* NOTREACHED */ lint comments along the way.
- make more use of standard CFLAGS, esp. -Wimplicit-function-declaration
- add and sort some headers when needed
- add straightforward pledges to some programs used at compile time

discussed with and ok mestre@
</content>
</entry>
<entry>
<title>More cleanup and sorting on header section</title>
<updated>2016-01-04T17:33:24Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-01-04T17:33:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2010f3c835ae4bf769b9e69e53a37d2dfeb4a7e5'/>
<id>urn:sha1:2010f3c835ae4bf769b9e69e53a37d2dfeb4a7e5</id>
<content type='text'>
OK tb@ and he also pointed out that for consistency with rest of the tree we
should include termios.h instead of sys/ttydefaults.h, where applicable
</content>
</entry>
<entry>
<title>Set as __dead a few more functions, that don't return, on games/</title>
<updated>2015-12-26T00:26:39Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2015-12-26T00:26:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7ad55f558163bf40d70f36dd74055472237f6353'/>
<id>urn:sha1:7ad55f558163bf40d70f36dd74055472237f6353</id>
<content type='text'>
With precious tip, help and also OK from tb@
</content>
</entry>
</feed>
