summaryrefslogtreecommitdiff
path: root/lib/libc/net
Commit message (Collapse)AuthorAgeFilesLines
* gethostbyname2() can't do AF_INET6 lookups over NIS.Alexander Langer2001-05-081-0/+7
| | | | | | | | | getaddrinfo(3) must be used. Submitted by: ume Notes: svn path=/head/; revision=76369
* Add getaddrinfo(3) to the "SEE ALSO" list.Archie Cobbs2001-04-271-0/+1
| | | | Notes: svn path=/head/; revision=76076
* mdoc(7) police: update referenced standard name.Ruslan Ermilov2001-04-181-1/+1
| | | | Notes: svn path=/head/; revision=75671
* Correct a typo; prefered -> preferred.Kris Kennaway2001-04-171-1/+1
| | | | Notes: svn path=/head/; revision=75579
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74870
* IPv4 address is not unsigned int. This change introduces in_addr_t.Hajimu UMEMOTO2001-03-237-18/+25
| | | | | | | | | | PR: 9982 Adviced by: des Reviewed by: -alpha and -net (no objection) Obtained from: OpenBSD Notes: svn path=/head/; revision=74700
* Nuke non-standard EAI_RESNULL.Hajimu UMEMOTO2001-03-172-13/+0
| | | | Notes: svn path=/head/; revision=74393
* Document the rest of the possible return codes.Dima Dorfman2001-03-131-0/+12
| | | | | | | | PR: 25188 Approved by: nik Notes: svn path=/head/; revision=74188
* .St -p1003.1g -> .St -p1003.1g-2000.Ruslan Ermilov2001-03-122-2/+2
| | | | Notes: svn path=/head/; revision=74173
* Fix style that got corrupted.David E. O'Brien2001-03-051-17/+17
| | | | Notes: svn path=/head/; revision=73665
* Fix FreeBSD id style breakage from rev 1.17David E. O'Brien2001-03-051-1/+1
| | | | Notes: svn path=/head/; revision=73663
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.Ruslan Ermilov2001-02-281-1/+1
| | | | Notes: svn path=/head/; revision=73233
* Use the new EV_SET macro to insure that all fields in struct keventJonathan Lemon2001-02-281-5/+3
| | | | | | | | | | are correctly initialized before use. This should fix the problem with DNS. Pointy hat to: me Notes: svn path=/head/; revision=73227
* Use ``.St -p1003.1g''.Ruslan Ermilov2001-02-262-2/+4
| | | | Notes: svn path=/head/; revision=73098
* Enable AI_ADDRCONFIG as a valid flag of getaddrinfo(3). SomeHajimu UMEMOTO2001-02-191-5/+0
| | | | | | | | | applications specify AI_ADDRCONFIG and fail to run under FreeBSD. Latest mews is known. Now, getaddrinfo(3) behaves according to AI_ADDRCONFIG. Notes: svn path=/head/; revision=72693
* Correct 2nd argument of getnameinfo(3) to socklen_t.Hajimu UMEMOTO2001-02-151-1/+1
| | | | | | | Reviewed by: itojun Notes: svn path=/head/; revision=72510
* mdoc(7) police: polishing.Ruslan Ermilov2001-02-101-32/+43
| | | | Notes: svn path=/head/; revision=72314
* Improve language and code examples.Nik Clayton2001-02-101-31/+41
| | | | | | | | PR: docs/24961 Submmitted by: Tony Finch <dot@dotat.at> Notes: svn path=/head/; revision=72311
* Describe the arguments to gethostbyaddr.Nik Clayton2001-02-091-1/+46
| | | | | | | | | PR: docs/24225 Submitted by: Joakim Henriksson <jurduth@ludd.luth.se> Patch from: ben Notes: svn path=/head/; revision=72251
* mdoc(7) police: Change -filled displays (which just happenRuslan Ermilov2001-02-072-2/+2
| | | | | | | | | to be the same as -ragged in the current implementation) to -ragged. With mdocNG, -filled displays produce the correct output, formatted and justified to both margins. Notes: svn path=/head/; revision=72126
* Fix typo: compatability -> compatibility.Jeroen Ruigrok van der Werven2001-02-061-1/+3
| | | | | | | | | Compatability is not an existing english word. Add $FreeBSD$. Notes: svn path=/head/; revision=72092
* strcpy -> strlcpy paranoiaJacques Vidrine2001-02-021-1/+4
| | | | | | | | Submitted by: Mike Heffner <mheffner@vt.edu> Reviewed by: freebsd-audit Notes: svn path=/head/; revision=71929
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-014-45/+28
| | | | Notes: svn path=/head/; revision=71895
* s/err1/errx/.Hajimu UMEMOTO2001-01-261-2/+2
| | | | | | | | | http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard.cgi?log=1673 Obtained from: KAME Notes: svn path=/head/; revision=71678
* Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen2001-01-2415-52/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch Notes: svn path=/head/; revision=71579
* mdoc(7) police: Ft/Vt now accept punctuation-type arguments.Ruslan Ermilov2001-01-121-1/+1
| | | | Notes: svn path=/head/; revision=70974
* man(7) -> mdoc(7).Ruslan Ermilov2001-01-121-77/+100
| | | | Notes: svn path=/head/; revision=70959
* gethostbyname2() is able to lookup AF_INET6.Alexander Langer2001-01-061-10/+0
| | | | | | | | PR: 23823 Noticed by: Andrew Arensburger <arensb@ooblick.com> Notes: svn path=/head/; revision=70710
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-293-18/+18
| | | | Notes: svn path=/head/; revision=70481
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/head/; revision=70015
* mdoc(7) police: use canonical form of .Dd macro.Ruslan Ermilov2000-12-111-1/+2
| | | | Notes: svn path=/head/; revision=69857
* - __ivaliduser_sa() was introduced for forthcoming IPv6 support to lpdHajimu UMEMOTO2000-12-041-102/+170
| | | | | | | | | | | | | | | | - iruserok_sa() and __ivaliduser_af() were re-organized to use __ivaliduser_sa() - __icheckhost() was re-written to use getaddrinfo() instead of getipnodebyname() - better handling of multiple destination addresses in rcmd() These changes were basically taken from KAME and changed to fit our rcmd.c. Obtained from: KAME Notes: svn path=/head/; revision=69575
* mdoc(7) police: Er macro usage cleanup.Ruslan Ermilov2000-11-221-1/+1
| | | | Notes: svn path=/head/; revision=69051
* mdoc(7) police: Nm -> Fn where appropriate.Ruslan Ermilov2000-11-202-5/+5
| | | | Notes: svn path=/head/; revision=68946
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68945
* Avoid use of direct troff requests in mdoc(7) manual pages.Ruslan Ermilov2000-11-101-1/+0
| | | | Notes: svn path=/head/; revision=68575
* Fix memory leak.Munechika SUMIKAWA2000-10-291-0/+2
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=67894
* defined HAVE_IFM_DATA for (free|net|open)bsdHajimu UMEMOTO2000-10-281-0/+5
| | | | | | | | Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp> Obtained from: KAME Project Notes: svn path=/head/; revision=67800
* Make RES_OPTIONS=inet6 work.Hajimu UMEMOTO2000-10-271-0/+4
| | | | | | | | | Basically PR22196, but slightly modified. PR: bin/22196 Notes: svn path=/head/; revision=67709
* Fix pthread cancellation point propagation.Jason Evans2000-10-121-5/+5
| | | | Notes: svn path=/head/; revision=66999
* Use issetugid instead of comparing get[ug]id and gete[ug]id.Jacques Vidrine2000-09-301-5/+2
| | | | | | | Suggested by: Don Lewis <Don.Lewis@tsc.tdk.com> Notes: svn path=/head/; revision=66485
* Ignore HESIOD_CONFIG and HES_DOMAIN environmental variables forJacques Vidrine2000-09-291-2/+12
| | | | | | | | | set-user-ID and set-group-ID programs. Suggested by: Danny Braniss <danny@cs.huji.ac.il> Notes: svn path=/head/; revision=66451
* off-by-1 error in string length validationJun-ichiro itojun Hagino2000-09-251-7/+6
| | | | | | | From: Pavel Kankovsky <peak@argo.troja.mff.cuni.cz> Notes: svn path=/head/; revision=66374
* Change from using poll(2) to kqueue/kevent when waiting for a DNSPaul Saab2000-09-121-32/+30
| | | | | | | | | | | | response to return. This will stop processes waiting on DNS requests from being woken up when a select collision occurs. This was tested on mx1.FreeBSD.org (outgoing mail for the FreeBSD.org mailing lists.) Reviewed by: jlemon, peter Notes: svn path=/head/; revision=65772
* Set h_errno when an error is encountered.Jacques Vidrine2000-09-101-2/+9
| | | | | | | | PR: bin/21092 Submitted by: Alexander Kabaev <ak03@gte.com> Notes: svn path=/head/; revision=65702
* Fix getipnodebyname(3) bug.Jacques Vidrine2000-09-071-3/+4
| | | | | | | Submitted by: ume Notes: svn path=/head/; revision=65558
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you canJacques Vidrine2000-09-0622-725/+2217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD Notes: svn path=/head/; revision=65532
* Yank out the NOPOLL conditionals. libc_r no longer needs it, and thisPeter Wemm2000-09-041-106/+28
| | | | | | | | library depends on other things that come *way* later than poll() now (sigset size changes in particular) Notes: svn path=/head/; revision=65453
* The API change mentioned in the previous revision has been backed out, soJohn Baldwin2000-08-221-5/+0
| | | | | | | | | back out the corresponding documentation. Noticed by: brian, ume Notes: svn path=/head/; revision=64958
* Don't retry connecting via the same medium.Hajimu UMEMOTO2000-08-101-16/+8
| | | | | | | | | | | I changed to close to original code before merging IPv6 support. It seems having delay before another try is useless. However, I'm not sure that delay means. So, I leave it as-is. PR: bin/20515 Notes: svn path=/head/; revision=64493