summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
Commit message (Collapse)AuthorAgeFilesLines
...
* Add each directory's symbol map file to SYM_MAPS.deischen2006-03-131-0/+2
|
* Add symbol maps and initial symbol version definitions to libc.deischen2006-03-131-0/+247
| | | | Reviewed by: davidxu
* Handle the errors returned by res_querydomain() in same manner.ume2006-03-012-0/+40
| | | | | | Reported by: yar Tested by: yar, Rostislav Krasny <rosti.bsd__at__gmail.com> MFC after: 1 week
* Correct a comment.deischen2006-02-273-22/+6
| | | | | | | | | Staticize two tables thare are not visible in <resolv.h> and which are also local in Solaris' libresolv. Remove two functions that are not referenced in libc nor anywhere else I can find, not visible in <resolv.h> and which are also local in Solaris libresolv.
* Sync inet_net_pton() and inet_net_ntop() with latest BIND9's includesume2006-02-263-85/+420
| | | | | | | | | an IPv6 support. PR: kern/93740 Submitted by: Rudolf Cejka <cejkar__at__fit.vutbr.cz> Obtained from: BIND9 MFC after: 1 week
* - Just query 'as is', if there is a trailing dot in the name.ume2006-02-242-18/+40
| | | | | | | | | | - Don't query 'as is' twice. PR: bin/62139 Reported by: Rostislav Krasny <rosti.bsd__at__gmail.com> Tested by: Rostislav Krasny <rosti.bsd__at__gmail.com> Obtained from: BIND9 (with some modification) MFC after: 1 week
* Fix inet6_opt_get_val() prototype.ru2005-11-231-1/+1
|
* Add missing includes.ru2005-11-231-1/+3
|
* The KAME's getipnodebyaddr() code honor the MULTI_PTRS_ARE_ALIASESume2005-11-151-0/+1
| | | | | | | | | define also, but res_config.h was not included into libc/net/name6.c. So getipnodebyaddr() ignored the multiple PTRs. PR: kern/88241 Submitted by: Dan Lukes <dan__at__obluda.cz> MFC after: 3 days
* Include <sys/types.h> and <limits.h> ourselves, don't assume they are includedstefanf2005-08-202-0/+2
| | | | | | | | | | through <pthread.h>. gen/sem.c: Prerequisite for <_semaphore.h> net/getprotoent.c: USHRT_MAX net/getservent.c: USHRT_MAX stdio/ungetwc.c: MB_LEN_MAX stdio/vfwscanf.c: MB_LEN_MAX
* Respect the YES_HESIOD build variable.phk2005-08-061-2/+8
|
* Fix all the spelling mistakes I could find in the man pages for wordskeramida2005-07-311-1/+1
| | | | | | | | that have at least 3 characters. MFC after: 1 week Thanks to: Music band ``Chingon'' for keeping me company while searching for these.
* don't accept invalid form of an address like 1:2:3:4:5:6:7::8.ume2005-07-271-0/+4
| | | | | | PR: bin/84106 Obtained from: BIND9 MFC after: 2 days
* Remove padding for ABI compatibility of ai_addrlen memberume2005-07-221-3/+0
| | | | | from struct addrinfo. This change break ABI compatibility on 64 bit arch.
* refer RFC 3542 rather than RFC 2292bis.ume2005-07-193-4/+4
| | | | | Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net> Obtained from: KAME
* fixed the validation code of routing header length in inet6_rth_getaddr().ume2005-07-191-4/+3
| | | | | | | reported by Delia Kecskemeti <delia.kecskemeti__at__windriver.com> Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net> Obtained from: KAME
* Markup fixes.ru2005-06-161-7/+10
| | | | Approved by: re
* Assorted markup fixes.ru2005-06-154-18/+22
| | | | Approved by: re
* Remove rexecd(8), a server that implements a particularly insecurenectar2005-06-101-2/+0
| | | | | | | method of executing commands remotely. There are no rexec clients in the FreeBSD tree, and the client function rexec(3) is present only in libcompat. It has been documented as "obsolete" since 4.3BSD, and its use has been discouraged in the man page for over 10 years.
* reflect type change of n_net and getnetbyaddr(3).ume2005-06-031-2/+2
|
* - Remove padding for ABI compatibility of n_net member from structume2005-06-034-17/+1
| | | | | | | | | | | | | netent. - Change 1st argument of getnetbyaddr() to an uint32_t on 64 bit arch as well to confirm to POSIX-2001. These changes break ABI compatibility on 64 bit arch. There is similar padding issue for ai_addrlen of struct addrinfo. However, it is leaved as is for now. Discussed on: arch@, standards@ and current@ X-MFC after: never
* reduce cast.ume2005-05-271-3/+3
| | | | MFC after: 1 week
* - The ai_addrlen of a struct addrinfo used to be a size_t, perume2005-05-156-25/+37
| | | | | | | | | | | | | | | | RFC 2553. In XNS5.2, and subsequently in POSIX-2001 and RFC 3493, it was changed to a socklen_t. And, the n_net of a struct netent used to be an unsigned long integer. In XNS5, and subsequently in POSIX-2001, it was changed to an uint32_t. To accomodate for this while preserving ABI compatibility with the old interface, we need to prepend or append 32 bits of padding, depending on the (LP64) architecture's endianness. - Correct 1st argument of getnetbyaddr() to uint32_t on 32 bit arch. Stay as is on 64 bit arch for ABI backward compatibility for now. Reviewed by: das, peter MFC after: 2 weeks
* Submitted by: Jinmei Tatuya, Hajimu Umemotognn2005-05-142-4/+4
| | | | | | | | | | Reviewed by: rwatson at freebsd dot org Approved by: rwatson at freebsd dot org MFC after: 1 week Fix the matchlen() function so that it handles the IPv4 (AF_INET) case correctly. Until now it has been treating IPv4 addresses as if they were IPv6 which could lead to corruption errors.
* raise readability bit.ume2005-05-131-7/+7
|
* free ypbuf only when yp_match() succeed.ume2005-05-131-1/+1
|
* NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 definesume2005-05-132-21/+8
| | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now.
* fix signed/unsigned comparison warnings.ume2005-05-031-5/+5
| | | | Obtained from: NetBSD
* the 3rd argument of getsockname() should be socklen_t*.ume2005-05-022-2/+4
| | | | Submitted by: stefanf
* oops, we don't need previous change.ume2005-05-011-8/+4
|
* make it compilable without YP definition.ume2005-05-011-5/+9
|
* don't see RES_USE_INET6 when called from getipnodeby*().ume2005-05-011-6/+14
|
* oops, gethostbyaddr(3) must return h_addr as an IPv4-mappedume2005-04-303-6/+17
| | | | | IPv6 address when RES_USE_INET6 was set, according to RFC 2133 section 6.2.
* 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
OpenPOWER on IntegriCloud