History log of /src/lib/libc/net/getnameinfo.3
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.45 10-Sep-2024 rillig

libc: new function parameter, new line


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.44 16-Feb-2024 uwe

branches: 1.44.2;
getnameinfo(3): fix/prettify markup


# 1.43 15-Feb-2024 jkoshy

Document the NI_NUMERICSCOPE flag.

PR lib/57832


Revision tags: netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base
# 1.42 03-Jul-2017 wiz

branches: 1.42.8; 1.42.16;
Remove workaround for ancient HTML generation code.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.41 18-Aug-2013 wiz

branches: 1.41.18;
Update comment.


# 1.40 18-Aug-2013 christos

getnameinfo is now thread-safe so remove bugs section.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
# 1.39 26-Sep-2012 christos

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


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4
# 1.38 04-Mar-2012 christos

branches: 1.38.2;
fix signature according to TOG.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.37 22-Mar-2010 joerg

branches: 1.37.6; 1.37.8;
Use .In for header files instead of .Ar Pa and variations.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 christos-time_t-nbase christos-time_t-base netbsd-5-base matt-mips64-base2 mjf-devfs2-base netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 1.36 21-Mar-2005 kleink

branches: 1.36.26;
Only name <netdb.h> in the synopsis, like the old manual page used to.


# 1.35 21-Mar-2005 kleink

Add restrict qualifiers to getaddrinfo() and getnameinfo() arguments.


Revision tags: netbsd-3-base
# 1.34 12-Jan-2005 wiz

branches: 1.34.2;
Use \*[Am] and \*[Gt], like before the previous revision; use .In; minor other changes.


# 1.33 11-Jan-2005 itojun

written-from-scratch manpage (fixes ISOC copyright violation)


# 1.32 20-Dec-2004 christos

revert previous change while discussion is in progress.


# 1.31 20-Dec-2004 itojun

RFC cannot be used as manpage regarding to the ISOC copyright boilerplate.
remove it until someone writes it up from scratch/freely-redistributable
text is found.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.30 07-Sep-2003 wiz

Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
From jmc@openbsd.


# 1.29 28-Aug-2003 wiz

Nm -> Fn getnameinfo; grammar improvements; markup improvement;
all from jmc@openbsd, thanks.


# 1.28 28-Aug-2003 wiz

Bump date for CAVEATS; fix punctuation usage in one place;
drop trailing space; use \*[Am] instead of & for HTML generation.


# 1.27 28-Aug-2003 itojun

use NI_NUMERICHOST for 2nd invocation


# 1.26 28-Aug-2003 itojun

add int error in CAVEAT


# 1.25 28-Aug-2003 itojun

add CAVEATS section


# 1.24 07-Aug-2003 agc

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# 1.23 30-Apr-2003 itojun

english grammer. by Jason McIntyre via kame


# 1.22 16-Apr-2003 wiz

Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.


Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
# 1.21 22-May-2002 kleink

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.


Revision tags: netbsd-1-6-base
# 1.20 15-May-2002 kleink

branches: 1.20.2;
<netdb.h> doesn't need prerequisite headers.


# 1.19 14-May-2002 kleink

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


# 1.18 14-May-2002 kleink

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


# 1.17 07-Feb-2002 ross

Generate <>& symbolically.


# 1.16 15-Nov-2001 itojun

sync with reality; scope identifier comes with the result even without
NI_WITHSCOPEID.


# 1.15 16-Sep-2001 wiz

Sort sections, sort SEE ALSO, and misc. fixes.


# 1.14 05-Aug-2001 itojun

there's no host.conf in netbsd. pointed out by smb


# 1.13 29-Apr-2001 itojun

copy-paste mistake; s/getaddrinfo/getnameinfo/


# 1.12 05-Jan-2001 itojun

branches: 1.12.2;
do not refer getnodebyaddr.
sync with latest kame.


# 1.11 09-Aug-2000 itojun

mention that current get{addr,name}info implementation are not thread-safe.
(sync with kame)
From: Greg Thompson


# 1.10 30-Jun-2000 itojun

typo in RFC number. KAME PR 263


# 1.9 22-Jun-2000 itojun

add cmetz paper, correct example


Revision tags: netbsd-1-5-base
# 1.8 04-Jun-2000 itojun

branches: 1.8.2;
correct arg type (salen) to conform to RFC2553.


Revision tags: minoura-xpg4dl-base
# 1.7 11-May-2000 itojun

branches: 1.7.2;
$NetBSD$


# 1.6 11-May-2000 itojun

update internet draft #. correct samples.
sync getnameinfo function prototype with /usr/include/netdb.h (not
standard conformant yet, needs update - will do soon)


# 1.5 17-Jan-2000 itojun

sync with latest KAME tree.
add example section to get{addr,name}info.
s/\.Os KAME/.Os/.


# 1.4 07-Jan-2000 itojun

need sys/types.h before sys/socket.h


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.3 13-Dec-1999 itojun

bring in latest KAME get{addr,name}info(3).
getnameinfo(3) globs ai_socktype and ai_protocol correctly.
KAME scopeid extension is implemented.
(draft-ietf-ipngwg-scopedaddr-format-00.txt)

bump up shlib minor
(may not be necessary, but rather big difference in behavior - especially
ai_flags)


Revision tags: comdex-fall-1999-base
# 1.2 03-Jul-1999 kleink

branches: 1.2.4;
Add missing LIBRARY sections.


# 1.1 01-Jul-1999 itojun

add IPv6 support functions.

get{addr,name} info are implemented to have as little impact to existing
resolver code as possible, so they are NOT the optimal implementation.
They are at this moment not very thread safe (as they call
gethostby{name,addr}).

(shlib minor version)++, as new interfaces are added.

TODO: getipnodeby{name,addr} - which needs total reimplementation of
gethostby{name,addr}.
upgrade rcmd.c for multiple af support (needed for IPv6-ready rsh/rlogin)