summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
Commit message (Collapse)AuthorAgeFilesLines
* handling RES_USE_INET6 better.ume2005-04-301-4/+5
|
* _ht_gethostbyaddr didn't handle RES_USE_INET6 correctly.ume2005-04-301-1/+1
|
* _gethostbynisname() didn't support RES_USE_INET6.ume2005-04-301-0/+9
|
* _ht_gethostbyname didn't handle RES_USE_INET6 correctly.ume2005-04-301-6/+18
|
* - do validation check and IPv4-mapped IPv6 address handling beforeume2005-04-292-36/+41
| | | | | | | | | any query. - don't query against IPv6 link-local address. - use IN6_IS_ADDR_V4{MAPPED,COMPAT} macros. - use memcpy() instead of bcopy(). Inspired by: NetBSD
* NETDB_INTERNAL is not fit, here. return NO_RECOVERY for h_errno.ume2005-04-294-4/+4
|
* our get{addr,name}info() is considered thread-safe.ume2005-04-292-8/+0
|
* we cannot use inet_ntoa(3), here. so, use inet_ntop(3), instead.ume2005-04-292-5/+11
|
* sync _map_v4v6_host*() with bind9's. it treats align better bit.ume2005-04-284-18/+15
| | | | Obtained from: BIND9
* we don't need mutex lock to call _gethostbynis*(), anymore.ume2005-04-282-19/+2
|
* make gethostby*() thread-safe.ume2005-04-286-285/+478
|
* _gethostbynis{addr,name}() can handle an IPv6, now.ume2005-04-281-16/+11
|
* make getnetby*() thread-safe.ume2005-04-288-175/+339
|
* hide implementation specific internal functions from netdb.h.ume2005-04-276-0/+17
| | | | it is needed to make get{host,net}by*() thread-safe.
* our get{proto,serv}by*() use a thread-specific data space.ume2005-04-262-2/+2
|
* add IPv6 awareness for NIS query of gethostby*().ume2005-04-262-25/+56
| | | | Inspired by: NetBSD
* ensure parsing numeric address before any host query.ume2005-04-252-100/+126
| | | | Inspired by: NetBSD
* remove unused variable.ume2005-04-251-3/+1
|
* if last line didn't have trailing space, network address was alsoume2005-04-241-10/+11
| | | | treated as an alias.
* - add getproto{byname,bynumber,ent}_r for internal use within libc.ume2005-04-194-53/+181
| | | | - make getproto{byname,bynumber,ent} thread-safe.
* - nuke deprecated and unused getnodeby(3).ume2005-04-191-31/+0
| | | | | | - remove unused variable. Obtained from: KAME
* rename the NIS related fields to have yp_ prefix.ume2005-04-184-38/+38
| | | | Suggested by: delphij
* Do not check whether a pointer is NULL, since free(3) already takes care ofdelphij2005-04-181-6/+3
| | | | | | this case. Reviewed by: ume
* Fix build for !YP case.delphij2005-04-171-0/+4
| | | | | BTW. Shall we change these fields to have yp_ prefix? That will make the code easier to read.
* libc-internal interfaces should have two underscores in frontume2005-04-174-12/+12
| | | | | | of their names. Pointed out by: das
* Wrong working directory, sorry. The previous patch was what I havedelphij2005-04-171-5/+0
| | | | | | seen in NetBSD's tree, and this one is what I have submitted for review. Pointy hat to: me
* Remove a check about whether sa->sa_len is equal to salen fromdelphij2005-04-171-0/+2
| | | | | | | | | | | getnameinfo(3). POSIX standard does not require a sa_len field in sockaddr struct, hence such requirement will cause problem for portability. PR: standards/80008 Requested by: Xin Liu <lx@knight.6test.edu.cn> Reviewed by: freebsd-standards (das) MFC After: 2 weeks
* Now, our getservbyname(3) is thread-safe. So, we don't needume2005-04-151-14/+1
| | | | to protect it with mutex lock.
* - add getserv{byname,byport,ent}_r for internal use within libc.ume2005-04-154-127/+288
| | | | | | - make getserv{byname,byport,ent} thread-safe. Reviewed by: gnn
* hostalias() is not thread-safe. So, introduce _res_hostalias()ume2005-04-153-14/+29
| | | | | | and use it. Obtained from: BIND9
* remove needless res_init() call.ume2005-04-141-9/+0
| | | | Inspired by: NetBSD
* unbreak build without YP defined.ume2005-04-091-0/+4
| | | | Submitted by: Andrea Campi <andrea+freebsd_cvs_at_webcom.it>
* Remove unused variables and assignments.stefanf2005-04-083-8/+3
|
* - we are no longer shareing any resources to be locked betweenume2005-04-062-27/+12
| | | | | | getaddrinfo(3) and getipnodeby*(3). - use definitions in reentrant.h. - remove obsolete comment.
* separate gai_strerror(3) from getaddrinfo.c.ume2005-04-063-28/+62
| | | | Requested by: phantom
* make yp stuff re-entrant.ume2005-04-051-26/+15
| | | | Obtained from: NetBSD
* add missing mutex unlock.ume2005-04-051-0/+1
|
* make _files_getaddrinfo() re-entrant.ume2005-04-041-22/+19
| | | | Obtained from: NetBSD
* nuke the logic for AF_UNSPEC and simplify. once, it was introducedume2005-04-021-301/+47
| | | | | to improve getaddrinfo(3). but, it is not needed for a long time since getaddrinfo(3) became providing its own res_*N() functions.
* Add byteorder(9) to SEE ALSO.simon2005-03-201-2/+3
| | | | MFC after: 3 days
* - Use socklen_t.stefanf2005-02-141-2/+1
| | | | - No need for two instances of 'num'.
* Fix most cases where the address of an int is passed to a function expecting astefanf2005-02-141-1/+1
| | | | socklen_t * argument.
* . Convert return type of gai_strerror() to 'const char *' as POSIX requires.phantom2005-02-141-29/+21
| | | | | . Convert ai_errlist[] to simple 'char *' array, and appropriately optimize gai_strerror()
* EAI_ADDRFAMILY and EAI_NODATA are obsoleted, and not definined anymore,phantom2005-02-141-7/+0
| | | | so do not export these definitions via manual page
* Expand *n't contractions.ru2005-02-132-2/+2
|
* Fixed the misplaced $FreeBSD$.ru2005-02-095-5/+11
|
* use strdup().ume2005-01-281-2/+1
| | | | | Obtained from: KAME MFC after: 1 week
* make _getipnodebyname_multi() static.ume2005-01-271-1/+1
|
* implement AI_NUMERICSERV (as defined in RFC3493).ume2005-01-271-10/+13
| | | | | Obtained from: KAME MFC after: 1 week
* fill ai_canonname field for numeric hostname, by the given hostname.ume2005-01-271-7/+25
| | | | | | | follow new recommendation in RFC3493. Obtained from: KAME MFC after: 1 week
OpenPOWER on IntegriCloud