<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/include/arpa/inet.h, branch release/5.2.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2004-01-10T05:53:29Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2004-01-10T05:53:29Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2004-01-10T05:53:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=58c9ff44c8041f394c663cb9640e9b77fe07bb13'/>
<id>urn:sha1:58c9ff44c8041f394c663cb9640e9b77fe07bb13</id>
<content type='text'>
'RELENG_5_2_0_RELEASE'.

This commit was manufactured to restore the state of the 5.2-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</content>
</entry>
<entry>
<title>o Merge &lt;machine/ansi.h&gt; and &lt;machine/types.h&gt; into a new header</title>
<updated>2002-08-21T16:20:02Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-08-21T16:20:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=abbd8902334e8c6409384593b4a2c81f939b47b4'/>
<id>urn:sha1:abbd8902334e8c6409384593b4a2c81f939b47b4</id>
<content type='text'>
  called &lt;machine/_types.h&gt;.
o &lt;machine/ansi.h&gt; will continue to live so it can define MD clock
  macros, which are only MD because of gratuitous differences between
  architectures.
o Change all headers to make use of this.  This mainly involves
  changing:
    #ifdef _BSD_FOO_T_
    typedef	_BSD_FOO_T_	foo_t;
    #undef _BSD_FOO_T_
    #endif
  to:
    #ifndef _FOO_T_DECLARED
    typedef	__foo_t	foo_t;
    #define	_FOO_T_DECLARED
    #endif

Concept by:	bde
Reviewed by:	jake, obrien
</content>
</entry>
<entry>
<title>Change a POSIX conditional to use the new __BSD_VISIBLE macro.</title>
<updated>2002-08-16T16:34:26Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-08-16T16:34:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2cd998a25d6a3b40d37216991744d89fade7053d'/>
<id>urn:sha1:2cd998a25d6a3b40d37216991744d89fade7053d</id>
<content type='text'>
Fix the following style bugs:
o #ifdef, #ifndef, and #undef should be followed by a space, not a
  tab.
o The second level of indentation in prototypes is 4 characters even
  when the function names are indented 1 extra character.
o Type qualifiers that appear next to a * need a seperating space so
  that the qualifier isn't easily confused with parameter names.
  (eg. `char * __restrict' instead of `char *__restrict')

Submitted by:	bde (mostly)
</content>
</entry>
<entry>
<title>  -Add the restrict required by IEEE Std 1003.1-2001 in form</title>
<updated>2002-08-14T20:40:35Z</updated>
<author>
<name>Robert Drehmel</name>
<email>robert@FreeBSD.org</email>
</author>
<published>2002-08-14T20:40:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b7dbaf7b46e3801e05050872619180ac60c7126a'/>
<id>urn:sha1:b7dbaf7b46e3801e05050872619180ac60c7126a</id>
<content type='text'>
   of our __restrict macro to the prototypes and function
   definitions of inet_pton and inet_ntop.
 - Use ANSI-C function argument lists.
 - Adjust the prototypes in the manual page.
</content>
</entry>
<entry>
<title>Be more strict about exposing BSD-specific functions when a standard</title>
<updated>2002-04-10T10:51:53Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-04-10T10:51:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0b7879101efffc40e51e89595911d01c3ab38a4b'/>
<id>urn:sha1:0b7879101efffc40e51e89595911d01c3ab38a4b</id>
<content type='text'>
has been requested.

Unconditionalize the definition of INET_ADDRSTRLEN and
INET6_ADDRSTRLEN.  Doing this helps expose bogus redefinitions in 3rd
party software.
</content>
</entry>
<entry>
<title>o Implement &lt;sys/_types.h&gt;, a new header for storing types that are</title>
<updated>2002-04-01T08:12:25Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-04-01T08:12:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8822d3fb831579a7ebabfce63f469078db325e44'/>
<id>urn:sha1:8822d3fb831579a7ebabfce63f469078db325e44</id>
<content type='text'>
  MI, not required to be a fixed size, and used in multiple headers.
  This will grow in time, as more things move here from &lt;sys/types.h&gt;
  and &lt;machine/ansi.h&gt;.
o Add missing type definitions (uint16_t and uint32_t) to
  &lt;arpa/inet.h&gt; and &lt;netinet/in.h&gt;.
o Reduce pollution in &lt;sys/types.h&gt; by using `#if _FOO_T_DECLARED'
  widgets to avoid including &lt;sys/stdint.h&gt;.
o Add some missing type definitions to &lt;unistd.h&gt; and note the ones
  that still need to be added.
o Make use of &lt;sys/_types.h&gt; primitives in &lt;grp.h&gt; and &lt;sys/types.h&gt;.

Reviewed by:	bde
</content>
</entry>
<entry>
<title>Breath deep and take __P out of the system include files.</title>
<updated>2002-03-23T17:24:55Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2002-03-23T17:24:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bb28f3c29b4c91af1b0e79e456294bb08735648a'/>
<id>urn:sha1:bb28f3c29b4c91af1b0e79e456294bb08735648a</id>
<content type='text'>
# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.
</content>
</entry>
<entry>
<title>o Add INET_ADDRSTRLEN and INET6_ADDRSTRLEN defines to &lt;arpa/inet.h&gt;</title>
<updated>2002-03-10T06:42:27Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-03-10T06:42:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6a6230d2f647ec398984f89922ccb85a7b459521'/>
<id>urn:sha1:6a6230d2f647ec398984f89922ccb85a7b459521</id>
<content type='text'>
  for POSIX.1-2001 conformance.
o Add magic to &lt;netinet/in.h&gt; and &lt;netinet6/in6.h&gt; to prevent
  redefining INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
o Add a note about missing typedefs in &lt;arpa/inet.h&gt;.
</content>
</entry>
<entry>
<title>o Don't require long long support in bswap64() functions.</title>
<updated>2002-03-09T21:02:16Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-03-09T21:02:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d846855da8c8142a2f647f7a4c6949b341261297'/>
<id>urn:sha1:d846855da8c8142a2f647f7a4c6949b341261297</id>
<content type='text'>
o In i386's &lt;machine/endian.h&gt;, macros have some advantages over
  inlines, so change some inlines to macros.
o In i386's &lt;machine/endian.h&gt;, ungarbage collect word_swap_int()
  (previously __uint16_swap_uint32), it has some uses on i386's with
  PDP endianness.

Submitted by:	bde

o Move a comment up in &lt;machine/endian.h&gt; that was accidentially moved
  down a few revisions ago.
o Reenable userland's use of optimized inline-asm versions of
  byteorder(3) functions.
o Fix ordering of prototypes vs. redefinition of byteorder(3)
  functions, so that the non-GCC (libc asm) case has proper
  prototypes.
o Add proper prototypes for byteorder(3) functions in &lt;sys/param.h&gt;.
o Prevent redundant duplicate prototypes by making use of the
  _BYTEORDER_PROTOTYPED define.
o Move the bswap16(), bswap32(), bswap64() C functions into MD space
  for platforms in which asm versions don't exist.  This significantly
  reduces the complexity of some things at the cost of duplicate code.

Reviewed by:	bde
</content>
</entry>
<entry>
<title>o Move NTOHL() and associated macros into &lt;sys/param.h&gt;.  These are</title>
<updated>2002-02-18T20:35:27Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-02-18T20:35:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fd8e4ebc8c18caec3eefac6527831f9ee6a92959'/>
<id>urn:sha1:fd8e4ebc8c18caec3eefac6527831f9ee6a92959</id>
<content type='text'>
  deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
  source tree to use the lowercase function variants.
o Add missing license bits to sparc64's &lt;machine/endian.h&gt;.
  Approved by: jake
o Clean up &lt;machine/endian.h&gt; files.
o Remove unused __uint16_swap_uint32() from i386's &lt;machine/endian.h&gt;.
o Remove prototypes for non-existent bswapXX() functions.
o Include &lt;machine/endian.h&gt; in &lt;arpa/inet.h&gt; to define the
  POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, &lt;netinet/in.h&gt;,
  and &lt;sys/param.h&gt;.
o Prepend underscores to the ntohl() family to help deal with
  complexities associated with having MD (asm and inline) versions, and
  having to prevent exposure of these functions in other headers that
  happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
  third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from &lt;sys/types.h&gt;.
o Add missing &lt;arpa/inet.h&gt; includes in userland.

Tested on:	alpha, i386
Reviewed by:	bde, jake, tmm
</content>
</entry>
</feed>
