summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getnameinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* - ntohs() returns unsigned value.ume2002-07-241-59/+56
| | | | | | | | | | | | | - use strlcpy. - snprintf can return negative value, so cope with it. - tweak interface index on interface locals (ff01::/16). - removed unused macros. - removed a macro that uses only once (in a trivial context). - explicitly say goodbye to ENI_xxx. - constify struct afd. Obtained from: KAME MFC after: 1 week
* Make NI_WITHSCOPEID a default (always on), to synchronizeume2002-07-021-30/+20
| | | | | | | with recent 2553bis. Obtained from: KAME MFC after: 3 weeks
* Fix the style of the SCM ID's.obrien2002-03-221-1/+3
| | | | I believe have made all of libc .c's as consistent as possible.
* Remove multi-line __P() usage.obrien2002-03-221-2/+2
|
* Remove __P() usage.obrien2002-03-211-1/+1
|
* Correct 2nd argument of getnameinfo(3) to socklen_t.ume2001-02-151-1/+1
| | | | Reviewed by: itojun
* off-by-1 error in string length validationitojun2000-09-251-7/+6
| | | | From: Pavel Kankovsky <peak@argo.troja.mff.cuni.cz>
* sync with latest kame.itojun2000-07-051-70/+208
| | | | | | | | - permit numeric scopeid, be more careful about buffer size TODO: 2nd arg type should be socklen_t for RFC2553 conformance, but due to include file dependency it is not a easy thing to do (netdb.h does not have socklen_t)
* Change IPv6 scoped addr format again based on recent standard discussion.shin2000-02-191-7/+4
| | | | | | | | | Sorry for the flapping, but no change will be done for 4.0 anymore. Official standard will be published around April or later. If different format would be adopted at that time, then support for the new format will be added to the succeeding FreeBSD 4.x. Approved by: jkh
* IPv6 scoped addr format is changed as recent KAME change.shin2000-02-091-4/+14
| | | | | | | | | | | | | | KAME scoped addr format is changed recently. before: addr@scope now: scope%addr Because the end of IPv6 numeric addr is tend to be truncated in `netstat -rn ` output, so placing scope part at starting of addr will be convenient. Approved by: jkh Obtained from: KAME project
* Allow reverse lookup for loopback addr.shin2000-01-271-1/+1
| | | | | | This is merge from recent KAME fix to be more compliant with RFC2553. Obtained from: KAME project
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.shin1999-12-281-0/+228
Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
OpenPOWER on IntegriCloud