<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/alpha/include/endian.h, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/alpha/include/endian.h?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/alpha/include/endian.h?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2014-07-12T16:25:08Z</updated>
<entry>
<title>Tackle the endian.h mess.  Make it so that:</title>
<updated>2014-07-12T16:25:08Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2014-07-12T16:25:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7c5b55ffaa0f5c08dd241e875c8f84be8ee73135'/>
<id>urn:sha1:7c5b55ffaa0f5c08dd241e875c8f84be8ee73135</id>
<content type='text'>
 * you can #include &lt;sys/endian.h&gt; instead of &lt;machine/endian.h&gt;,
   and ditto &lt;endian.h&gt;  (fixes code that pulls in &lt;sys/endian.h&gt; first)

 * those will always export the symbols that POSIX specified for
   &lt;endian.h&gt;, including the new {be,le}{16,32,64}toh() set.  c.f.
	http://austingroupbugs.net/view.php?id=162

   if __BSD_VISIBLE then you also get the symbols that our &lt;machine/endian.h&gt;
   currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

 * when doing POSIX compiles (not __BSD_VISIBLE), then &lt;netinet/in.h&gt; and
   &lt;arpa/inet.h&gt; will *stop* exporting the extra symbols like BYTE_ORDER
   and betoh*

ok deraadt@
</content>
</entry>
<entry>
<title>Use _MACHINE_ENDIAN_H_ for this is The Right Thing To Do.</title>
<updated>2011-03-11T15:17:08Z</updated>
<author>
<name>pirofti</name>
<email>pirofti@openbsd.org</email>
</author>
<published>2011-03-11T15:17:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c86cacd256946f7304a1dc0a2fccd01f61221002'/>
<id>urn:sha1:c86cacd256946f7304a1dc0a2fccd01f61221002</id>
<content type='text'>
Okay guenther@, millert@.
</content>
</entry>
<entry>
<title>First step in include files overhaul.  Use __FOO_VISIBLE (as defined</title>
<updated>2005-12-13T00:35:22Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2005-12-13T00:35:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=52a0e6034ee75c7f9f1f73d918d2500a4267a2f7'/>
<id>urn:sha1:52a0e6034ee75c7f9f1f73d918d2500a4267a2f7</id>
<content type='text'>
in sys/cdefs.h) instead of _FOO_SOURCE.  Also fix several namespace
pollution issues, including the byte order defines.  OK deraadt@
</content>
</entry>
<entry>
<title>terms 3 &amp; 4 cleanup based on "terms" file</title>
<updated>2003-06-03T21:08:59Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2003-06-03T21:08:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cc5bdcae28f1284249434915b685d7dc27f7230f'/>
<id>urn:sha1:cc5bdcae28f1284249434915b685d7dc27f7230f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add #define __STRICT_ALIGNMENT</title>
<updated>2001-03-02T20:45:20Z</updated>
<author>
<name>jason</name>
<email>jason@openbsd.org</email>
</author>
<published>2001-03-02T20:45:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4eacc224a0a13b5ebf9765bd59c1395cbc79ad7a'/>
<id>urn:sha1:4eacc224a0a13b5ebf9765bd59c1395cbc79ad7a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use symbolic define for BYTE_ORDER.</title>
<updated>1999-05-10T16:02:07Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>1999-05-10T16:02:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=31776deb766c7e76bd869a1dab1b53fbcdffa95f'/>
<id>urn:sha1:31776deb766c7e76bd869a1dab1b53fbcdffa95f</id>
<content type='text'>
(don't forget that cpp is `lazy':
#define A B
#define B value
#if A == value

works, since A isn't extended before it's needed, by which time B is known)
</content>
</entry>
<entry>
<title>New endian.h design.  All architectures now use a common file for the bulk</title>
<updated>1997-11-09T23:04:58Z</updated>
<author>
<name>niklas</name>
<email>niklas@openbsd.org</email>
</author>
<published>1997-11-09T23:04:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=419cb5628c8ece5c7fe61c17ef1d551352167a2d'/>
<id>urn:sha1:419cb5628c8ece5c7fe61c17ef1d551352167a2d</id>
<content type='text'>
part.  Some ports can optimize the swap operations.  This also means the
general API is extended with swap16, swap32, htobe16, htobe32, betoh16,
betoh32, htole16, htole32, letoh16 and letoh32.
</content>
</entry>
<entry>
<title>Add htobe32 and similar friends</title>
<updated>1997-08-08T18:27:17Z</updated>
<author>
<name>niklas</name>
<email>niklas@openbsd.org</email>
</author>
<published>1997-08-08T18:27:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0d43873d93c557a7ecf737ff6545b064c3b3ca93'/>
<id>urn:sha1:0d43873d93c557a7ecf737ff6545b064c3b3ca93</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Include usage notes in the rest of the endian.h files for consistancy.</title>
<updated>1997-06-25T12:52:07Z</updated>
<author>
<name>grr</name>
<email>grr@openbsd.org</email>
</author>
<published>1997-06-25T12:52:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df714167eae1f71b939c1b9853e78f7d8eccd3ae'/>
<id>urn:sha1:df714167eae1f71b939c1b9853e78f7d8eccd3ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Big endian HTON?() macros should be (void)(x).</title>
<updated>1997-06-25T12:32:48Z</updated>
<author>
<name>downsj</name>
<email>downsj@openbsd.org</email>
</author>
<published>1997-06-25T12:32:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=23327518d007e01208c52acf572531711f5fd18c'/>
<id>urn:sha1:23327518d007e01208c52acf572531711f5fd18c</id>
<content type='text'>
</content>
</entry>
</feed>
