Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.33 |
|
18-Jan-2015 |
deraadt |
Stop including <sys/param.h> from <netdb.h>. Portable software must either include <sys/param.h> (to operate in legacy mode) or if it wishes to operate in the POSIX world use <limits.h> ok guenther millert doug naddy
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.32 |
|
28-Apr-2014 |
sperreault |
Implement AI_ADDRCONFIG
This is a getaddrinfo() flag that is defined thusly in RFC 3493:
If the AI_ADDRCONFIG flag is specified, IPv4 addresses shall be returned only if an IPv4 address is configured on the local system, and IPv6 addresses shall be returned only if an IPv6 address is configured on the local system. The loopback address is not considered for this case as valid as a configured address.
For example, when using the DNS, a query for AAAA records should occur only if the node has at least one IPv6 address configured (other than IPv6 loopback) and a query for A records should occur only if the node has at least one IPv4 address configured (other than the IPv4 loopback).
The flag is set by default when hints is NULL.
ok Eric Faurot, Jason McIntyre
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.31 |
|
15-Sep-2012 |
guenther |
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@
|
Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE
|
#
1.30 |
|
17-Jan-2012 |
deraadt |
net_addrcmp() dies. found out to be a horrific function by eric ok guenther
|
Revision tags: OPENBSD_5_0_BASE
|
#
1.29 |
|
07-Jul-2011 |
sobrado |
fix typos; while here, improve spacing in comments.
changes to libevent and zlib headers sent to the upstream maintainers.
ok jmc@ (for typos), millert@
|
#
1.28 |
|
05-Apr-2011 |
matthew |
Add AI_FQDN flag to getaddrinfo(3). Prompted by discussions with djm@ about cert checking in OpenSSH. Man page wording tweaks thanks to jmc@.
ok henning@, jmc@; positive feedback from djm@, ajacoutat@
Committing now to reuse guenther@'s libc minor bump instead of cranking it again, as suggested by deraadt@.
|
Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.27 |
|
02-Jun-2009 |
jasper |
- define EAI_OVERFLOW, as per IEEE Std 1003.1-2001(Interpretation #13)
hint from claudio@, ok millert@
|
#
1.26 |
|
07-May-2009 |
jacekm |
fix confusing comment; ok krw@
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
|
#
1.25 |
|
13-Dec-2005 |
millert |
First step in include files overhaul. Use __FOO_VISIBLE (as defined in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.24 |
|
08-Jun-2005 |
millert |
Make gethostbyaddr() prototype match POSIX. This means len is now unsigned but there is no ABI change. OK deraadt@
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.23 |
|
20-Dec-2004 |
millert |
gai_strerror() should return const char *; OK deraadt@
|
#
1.22 |
|
17-Nov-2004 |
itojun |
remove NI_WITHSCOPEID
|
#
1.21 |
|
25-Oct-2004 |
millert |
Change return value of reentrant getproto* and getserv* to match the IBM/Digital API.
|
#
1.20 |
|
17-Oct-2004 |
millert |
Reentrant versions of getprotoent(3) and getservent(3). Adapted from changes in NetBSD by Christos. OK otto@
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.19 |
|
14-Apr-2004 |
itojun |
implement RFC3493 AI_NUMERICSERV. tedu ok
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.18 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.17 |
|
03-Jun-2002 |
deraadt |
compatiblity -> compatibility decriptor -> descriptor authentciated -> authenticated transmition -> transmission
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.16 |
|
17-Feb-2002 |
millert |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
|
#
1.15 |
|
16-Feb-2002 |
millert |
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.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.14 |
|
06-Aug-2001 |
jakob |
add getrrsetbyname(3) - API to retrieve arbitrary DNS records
|
#
1.13 |
|
05-Jun-2001 |
deraadt |
repair copyright notices for NRL & cmetz; cmetz
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.12 |
|
21-Feb-2001 |
itojun |
change ai_addrlen to socklen_t. now it conforms to draft-ietf-ipngwg-rfc2553bis-03.txt. backward compatibility concern: - should be safe to change signed to unsigned, as we never return negative value. - sizeof(int) is 4 for all archs, so there's no size change with socklen_t (= u_int32_t)
commented by deraadt.
|
Revision tags: OPENBSD_2_8_BASE
|
#
1.11 |
|
04-Oct-2000 |
espie |
Remove parameter names in prototypes (always a bad idea)
|
#
1.10 |
|
15-May-2000 |
itojun |
correct type of 2nd argument to meet RFC2553. (this should raise no ABI problem due to type promotion). PR 1228.
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.9 |
|
09-Feb-2000 |
itojun |
revise extended scoped address format support. delimiter and the order is changed, based on discussion in ipngwg scoped address cabal. past code: fe80::1@de0 now: de0%fe80::1 this will be in sync with next extended address format proposal (which should be final - I don't want to make this kind of change again).
|
#
1.8 |
|
30-Dec-1999 |
itojun |
replace NRL get{addr,name}info with KAME get{addr,name}info.
removed functionality: new code will not return AF_LOCAL addrinfo struct. added funtionality: SOCK_RAW is permitted as ai_socktype (no servname allowed). draft-ietf-ipngwg-scopedaddr-format-00.txt
|
Revision tags: OPENBSD_2_6_BASE
|
#
1.7 |
|
03-Jul-1999 |
deraadt |
proto net_addrcmp()
|
#
1.6 |
|
23-Jun-1999 |
cmetz |
Added some protocol independent interfaces (supposedly IPv6 support APIs, but ones that are useful for all protocols, not just IPv6).
|
#
1.5 |
|
05-Jun-1999 |
deraadt |
getaddrinfo() info prototypes and such; cmetz
|
Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
|
#
1.4 |
|
05-Apr-1997 |
millert |
Use in_addr_t not u_long.
|
#
1.3 |
|
13-Mar-1997 |
downsj |
BIND 4.9.5 includes.
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
19-Feb-1996 |
dm |
netbsd: bind 4.9.3
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|