#
e87170bb |
| 18-Jan-2015 |
deraadt <deraadt@openbsd.org> |
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
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
show more ...
|
#
20149d17 |
| 28-Apr-2014 |
sperreault <sperreault@openbsd.org> |
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 co
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
show more ...
|
#
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@
|
#
95c1c141 |
| 17-Jan-2012 |
deraadt <deraadt@openbsd.org> |
net_addrcmp() dies. found out to be a horrific function by eric ok guenther
|
#
0742bdbf |
| 07-Jul-2011 |
sobrado <sobrado@openbsd.org> |
fix typos; while here, improve spacing in comments.
changes to libevent and zlib headers sent to the upstream maintainers.
ok jmc@ (for typos), millert@
|
#
f98b7d84 |
| 05-Apr-2011 |
matthew <matthew@openbsd.org> |
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@, ajacou
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@.
show more ...
|
#
ab0c76cf |
| 02-Jun-2009 |
jasper <jasper@openbsd.org> |
- define EAI_OVERFLOW, as per IEEE Std 1003.1-2001(Interpretation #13)
hint from claudio@, ok millert@
|
#
ce40aaae |
| 07-May-2009 |
jacekm <jacekm@openbsd.org> |
fix confusing comment; ok krw@
|
#
52a0e603 |
| 13-Dec-2005 |
millert <millert@openbsd.org> |
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 deraad
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@
show more ...
|
#
674bddc6 |
| 08-Jun-2005 |
millert <millert@openbsd.org> |
Make gethostbyaddr() prototype match POSIX. This means len is now unsigned but there is no ABI change. OK deraadt@
|
#
6de6e276 |
| 20-Dec-2004 |
millert <millert@openbsd.org> |
gai_strerror() should return const char *; OK deraadt@
|
#
d23920d9 |
| 17-Nov-2004 |
itojun <itojun@openbsd.org> |
remove NI_WITHSCOPEID
|
#
e3a1e9bf |
| 25-Oct-2004 |
millert <millert@openbsd.org> |
Change return value of reentrant getproto* and getserv* to match the IBM/Digital API.
|
#
71a18e7f |
| 17-Oct-2004 |
millert <millert@openbsd.org> |
Reentrant versions of getprotoent(3) and getservent(3). Adapted from changes in NetBSD by Christos. OK otto@
|
#
70595f11 |
| 14-Apr-2004 |
itojun <itojun@openbsd.org> |
implement RFC3493 AI_NUMERICSERV. tedu 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.
|
#
82fb7937 |
| 03-Jun-2002 |
deraadt <deraadt@openbsd.org> |
compatiblity -> compatibility decriptor -> descriptor authentciated -> authenticated transmition -> transmission
|
#
f3c3a9c6 |
| 17-Feb-2002 |
millert <millert@openbsd.org> |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
|
#
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 ...
|
#
8f429fc2 |
| 06-Aug-2001 |
jakob <jakob@openbsd.org> |
add getrrsetbyname(3) - API to retrieve arbitrary DNS records
|
#
57d692be |
| 05-Jun-2001 |
deraadt <deraadt@openbsd.org> |
repair copyright notices for NRL & cmetz; cmetz
|
#
428596e9 |
| 21-Feb-2001 |
itojun <itojun@openbsd.org> |
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
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.
show more ...
|
#
7772dd16 |
| 04-Oct-2000 |
espie <espie@openbsd.org> |
Remove parameter names in prototypes (always a bad idea)
|
#
affbb987 |
| 15-May-2000 |
itojun <itojun@openbsd.org> |
correct type of 2nd argument to meet RFC2553. (this should raise no ABI problem due to type promotion). PR 1228.
|
#
87af1165 |
| 09-Feb-2000 |
itojun <itojun@openbsd.org> |
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 w
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).
show more ...
|