<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/netinet/ip.h, branch releng/9.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F9.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F9.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2012-05-22T19:53:25Z</updated>
<entry>
<title>MFC r235036:</title>
<updated>2012-05-22T19:53:25Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2012-05-22T19:53:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=840d9f023c2b956c5d83359b08da4c9e5a7ab2ba'/>
<id>urn:sha1:840d9f023c2b956c5d83359b08da4c9e5a7ab2ba</id>
<content type='text'>
Add ToS definitions for DiffServ Codepoints as per RFC2474.

Obtained from:	OpenBSD
</content>
</entry>
<entry>
<title>use u_char instead of u_int for short bitfields.</title>
<updated>2010-02-01T14:13:44Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2010-02-01T14:13:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dc5fd2595ce7d1b63724d18755865e04430ce976'/>
<id>urn:sha1:dc5fd2595ce7d1b63724d18755865e04430ce976</id>
<content type='text'>
For our compiler the two constructs are completely equivalent, but
some compilers (including MSC and tcc) use the base type for alignment,
which in the cases touched here result in aligning the bitfields
to 32 bit instead of the 8 bit that is meant here.

Note that almost all other headers where small bitfields
are used have u_int8_t instead of u_int.

MFC after:	3 days
</content>
</entry>
<entry>
<title>Use uint32_t instead of n_long and n_time, and uint16_t instead of n_short.</title>
<updated>2009-02-13T15:14:43Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2009-02-13T15:14:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d685b6ee05ef4f104a4deb6df0339dabc2c15e61'/>
<id>urn:sha1:d685b6ee05ef4f104a4deb6df0339dabc2c15e61</id>
<content type='text'>
Add a note next to fields in network format.

The n_* types are not enough for compiler checks on endianness, and their
use often requires an otherwise unnecessary #include &lt;netinet/in_systm.h&gt;

The typedef in in_systm.h are still there.
</content>
</entry>
<entry>
<title>Move CTASSERT from header file to source file, per implementation note now</title>
<updated>2008-09-26T18:30:11Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2008-09-26T18:30:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d2035ffb7a70d9b52950c67970072257c5eef974'/>
<id>urn:sha1:d2035ffb7a70d9b52950c67970072257c5eef974</id>
<content type='text'>
in the CTASSERT man page.

Submitted by:	Ryan Stone
</content>
</entry>
<entry>
<title>Remove IPTOS_CE and IPTOS_ECT constants. They were defined in RFC 2481</title>
<updated>2007-10-19T12:46:15Z</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2007-10-19T12:46:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bf37f5b05fb87331cb03f3151508dd8a078567ef'/>
<id>urn:sha1:bf37f5b05fb87331cb03f3151508dd8a078567ef</id>
<content type='text'>
but later obsoleted by RFC 3168.
Discussed on freebsd-net with no objections.

Approved by: njl (mentor), rwatson
</content>
</entry>
<entry>
<title>White space and style cleanup.</title>
<updated>2007-05-11T11:00:48Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-05-11T11:00:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c59b9aa51b11a7097854f298721c6e0b2695e0e2'/>
<id>urn:sha1:c59b9aa51b11a7097854f298721c6e0b2695e0e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Marking this as __packed was needed to get the alignment and offset of</title>
<updated>2007-01-12T07:23:31Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2007-01-12T07:23:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0befead1e0405c7724088f3d7abd9cc66d23aa5a'/>
<id>urn:sha1:0befead1e0405c7724088f3d7abd9cc66d23aa5a</id>
<content type='text'>
members right.  However, it also said it was aligned(1), which meant
that gcc generated really bad code.  Mark this as aligned(4).  This
makes things a little faster on arm (a couple percent), but also saves
about 30k on the size of the kernel for arm.

I talked about doing this with bde, but didn't check with him before
the commit, so I'm hesitant say 'reviewed by: bde'.
</content>
</entry>
<entry>
<title>/* -&gt; /*- for license, minor formatting changes</title>
<updated>2005-01-07T01:45:51Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-07T01:45:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c398230b64aea809cb7c5cea8db580af7097920c'/>
<id>urn:sha1:c398230b64aea809cb7c5cea8db580af7097920c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove advertising clause from University of California Regent's</title>
<updated>2004-04-07T20:46:16Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2004-04-07T20:46:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f36cfd49adb62472fd7009ecd4f0927c126ff785'/>
<id>urn:sha1:f36cfd49adb62472fd7009ecd4f0927c126ff785</id>
<content type='text'>
license, per letter dated July 22, 1999 and email from Peter Wemm,
Alan Cox and Robert Watson.

Approved by: core, peter, alc, rwatson
</content>
</entry>
<entry>
<title>Spell types consistently throughout this file. Do not use the __packed          attribute, as we are often #include'd from userland without &lt;sys/cdefs.h&gt;       in front of us, and it is not strictly necessary.</title>
<updated>2004-02-16T14:40:56Z</updated>
<author>
<name>Bruce M Simpson</name>
<email>bms@FreeBSD.org</email>
</author>
<published>2004-02-16T14:40:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=91179f796de35f1ebf83eeba5dd14c36063ccde6'/>
<id>urn:sha1:91179f796de35f1ebf83eeba5dd14c36063ccde6</id>
<content type='text'>
Noticed by:	Sascha Blank
</content>
</entry>
</feed>
