History log of /netbsd-src/lib/libc/net/getnameinfo.c (Results 1 – 25 of 60)
Revision Date Author Comments
# 03645a16 08-Sep-2023 christos <christos@NetBSD.org>

PR/57609: Carl Engvall: Add salen checks but accept larger sizes
(upto sockaddr_storage)


# 525756d3 22-Sep-2015 christos <christos@NetBSD.org>

be more forgiving, and don't abort on unexpected errors.


# b350f7a4 22-Sep-2015 christos <christos@NetBSD.org>

Handle herrors properly so that postfix can return 4XX codes when appropriate.
Pointed out by Viktor Dukhovni.


# 33eb4d86 03-Sep-2015 christos <christos@NetBSD.org>

PR/50195: Henning Petersen: Incorrect check in getnameinfo_link.


# 5d88ea0b 15-May-2015 joerg <joerg@NetBSD.org>

Don't create a weak alias in the !RUMPACTION case.


# 6011d36b 15-May-2015 ozaki-r <ozaki-r@NetBSD.org>

Fix rump.{netstat,route} shows host's interface names in link local addresses

Interface names of IPv6 link local addresses are resolved
by getnameinfo(3). So we need to rump-ify it as well as
if_ind

Fix rump.{netstat,route} shows host's interface names in link local addresses

Interface names of IPv6 link local addresses are resolved
by getnameinfo(3). So we need to rump-ify it as well as
if_indextoname and getifaddrs.

show more ...


# 02dd2447 16-Aug-2013 christos <christos@NetBSD.org>

Add not advertised reentrant functions: {get,set,end}hostent_r,
gethostbyname{,2}_r, gethostbyaddr_r. Make getnameinfo(3) use
gethostbyaddr_r(3) so it is re-entrant (ahem __ypdomain). These
are not b

Add not advertised reentrant functions: {get,set,end}hostent_r,
gethostbyname{,2}_r, gethostbyaddr_r. Make getnameinfo(3) use
gethostbyaddr_r(3) so it is re-entrant (ahem __ypdomain). These
are not being advertised because there is a bunch of different
implementation of them that have a variety of type signatures.

If people want to follow someone's implementation, it is now easy.

show more ...


# 911623fb 26-Sep-2012 christos <christos@NetBSD.org>

add and document AF_LOCAL (and the rest that were not)


# 504f8671 20-Mar-2012 matt <matt@NetBSD.org>

Use C89 Prototypes.
Remove use of __P


# c5e820ca 13-Mar-2012 christos <christos@NetBSD.org>

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values t

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@

show more ...


# 10f798a0 29-Jun-2010 seanb <seanb@NetBSD.org>

- remove extra len check as per discussion on tech-net.


# 45845cf0 29-Jan-2010 is <is@NetBSD.org>

Print AppleTalk phase 2 range, too, if available.


# 000fbf6b 26-Jan-2010 is <is@NetBSD.org>

Add AF_APPLETALK support to getnameinfo(); make "route show" use it.
Doesn't print "ranges" yet (should it be done here?); only numeric
output.


# 612dfc4d 12-Aug-2009 seanb <seanb@NetBSD.org>

Watch getservbyport_r() semantics. sv needs scope
while results are being looked at which in turn
are no longer valid after a endservent_r().


# da77f10a 11-Feb-2009 lukem <lukem@NetBSD.org>

sign-compare fix


# ce2c90c7 15-Oct-2006 christos <christos@NetBSD.org>

fix incomplete initializers


# 1463de6a 24-Aug-2006 christos <christos@NetBSD.org>

use the re-entrant version of getservbyport.


# 80194aa8 17-Feb-2006 ginsbach <ginsbach@NetBSD.org>

Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer is
too short. This conforms to RFC3493, POSIX and XPG6. [from KAME]


# 03256c6e 29-Nov-2005 christos <christos@NetBSD.org>

WARNS=4


# 585ad39a 11-Nov-2002 thorpej <thorpej@NetBSD.org>

Fix signed/unsigned comparison warnings. Catch error conditions
from snprintf().


# 0c63dd3c 27-Jun-2002 itojun <itojun@NetBSD.org>

correct %d/%u mixup.


# a24f74d0 22-May-2002 kleink <kleink@NetBSD.org>

Turn the flags argument to getnameinfo(3) back into an int (from unsigned
int); this is consistent with RFC2553, the current draft-ietf-ipngwg-
rfc2553bis-05 and the majority of deployed implementati

Turn the flags argument to getnameinfo(3) back into an int (from unsigned
int); this is consistent with RFC2553, the current draft-ietf-ipngwg-
rfc2553bis-05 and the majority of deployed implementations.

Also, there is an effort under way to have this changed back to int in
XBD6/XSH6, XNS, and POSIX-2001 TC1.

show more ...


# b617695b 22-May-2002 itojun <itojun@NetBSD.org>

use strlcpy, not strcpy


# 4b77e72e 14-May-2002 kleink <kleink@NetBSD.org>

More XNS5.2/POSIX-2001 alignment: change the flags argument to
getnameinfo() from int to unsigned int.


# 485febee 14-May-2002 kleink <kleink@NetBSD.org>

Align with XNS5.2/POSIX-2001: change hostlen and servlen arguments to
getnameinfo() from size_t to socklen_t.


123