History log of /openbsd-src/include/arpa/inet.h (Results 1 – 21 of 21)
Revision Date Author Comments
# 02a6e1c4 04-Feb-2017 guenther <guenther@openbsd.org>

The macro versions of htonl et al don't require them, but POSIX says
<arpa/inet.h> needs to provide uint16_t and uint32_t.

ok millert@ krw@ naddy@


# 828e760f 04-Feb-2017 guenther <guenther@openbsd.org>

Move the typedefs for in_{addr,port}_t from <sys/types.h> to
<netinet/in.h> and <arpa/inet.h>

ok and ports test naddy@ (thanks!)
ok krw@ beck@ millert@


# c261d7e9 14-Sep-2015 guenther <guenther@openbsd.org>

Revert: finger slip


# f09ad35c 14-Sep-2015 guenther <guenther@openbsd.org>

Prefer the standardized <poll.h> over <sys/poll.h>


# b099c39f 31-Aug-2014 guenther <guenther@openbsd.org>

inet_nsap_{addr,ntoa}() were removed on 2013/12/17


# 7c5b55ff 12-Jul-2014 guenther <guenther@openbsd.org>

Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)

* those will a

Tackle the endian.h mess. Make it so that:
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)

* those will always export the symbols that POSIX specified for
<endian.h>, 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 <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

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

ok deraadt@

show more ...


# 4a39ccd0 05-Dec-2012 deraadt <deraadt@openbsd.org>

Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis


# de9f3fad 15-Sep-2012 guenther <guenther@openbsd.org>

Improve POSIX/SUS compliance of <netdb.h>, <sys/socket.h>, and <sys/un.h>.

Much ports testing of various versions by naddy@ and jasper@
ok matthew@, miller@


# 17c9ee9b 10-Jul-2012 guenther <guenther@openbsd.org>

Instead of <arpa/inet.h> pulling in <netinet/in.h>, just copy in the
three things that it needed from there: INET_ADDRSTRLEN, INET6_ADDRSTRLEN,
and struct in_addr. Add protecting #ifndefs to netinet

Instead of <arpa/inet.h> pulling in <netinet/in.h>, just copy in the
three things that it needed from there: INET_ADDRSTRLEN, INET6_ADDRSTRLEN,
and struct in_addr. Add protecting #ifndefs to netinet6?/in6?.h for those.

ok deraadt@

show more ...


# fb11ead1 26-Jun-2012 guenther <guenther@openbsd.org>

Improve compliance for <arpa/inet.h> and <netinet/in.h> to define/declare
all the symbols that POSIX says they must and fewer that they can't and,
most importantly, to not require a specific ordering

Improve compliance for <arpa/inet.h> and <netinet/in.h> to define/declare
all the symbols that POSIX says they must and fewer that they can't and,
most importantly, to not require a specific ordering of headers.

ports testing by naddy@
ok millert@ deraadt@

show more ...


# abf3e769 09-Dec-2008 otto <otto@openbsd.org>

fix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soon


# d1f942ab 22-Jan-2004 espie <espie@openbsd.org>

Remove unnecessary typedef usage.

u_char -> unsigned char
u_short -> unsigned short
u_long -> unsigned long
u_int -> unsigned int

okay millert@


# 89b95c1c 01-Aug-2003 avsm <avsm@openbsd.org>

add __bounded__ attributes for userland headers; enabled with -Wbounded
ok deraadt@


# 3e87668a 26-Jun-2003 avsm <avsm@openbsd.org>

backout the __bounded__ attributes for a while; requested by deraadt@


# 585be00b 26-Jun-2003 avsm <avsm@openbsd.org>

Mark various standard library functions with the __bounded__ attribute.
You must have an up-to-date gcc for this!
deraadt@ ok


# e33d3bd3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.

show more ...


# 5290f10f 05-Apr-1997 millert <millert@openbsd.org>

Use in_addr_t not u_long.


# 1231c441 13-Mar-1997 downsj <downsj@openbsd.org>

BIND 4.9.5 includes.


# 1ddd5cc1 19-Feb-1996 dm <dm@openbsd.org>

netbsd: bind 4.9.3


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree