summaryrefslogtreecommitdiff
path: root/lib/libc/net
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r1.40; initialize structure.Jonathan Lemon2001-02-281-5/+3
| | | | Notes: svn path=/stable/4/; revision=73228
* MFC: Enable AI_ADDRCONFIG as a valid flag of getaddrinfo(3). SomeHajimu UMEMOTO2001-02-261-5/+0
| | | | | | | | | | | | applications specify AI_ADDRCONFIG and fail to run under FreeBSD. Latest mnews is known. Now, getaddrinfo(3) behaves according to AI_ADDRCONFIG. include/netdb.h: 1.16->1.17 lib/libc/net/getaddrinfo.c: 1.16->1.17 Notes: svn path=/stable/4/; revision=73071
* MFC: Correct 2nd argument of getnameinfo(3) to socklen_t.Hajimu UMEMOTO2001-02-261-1/+1
| | | | | | | | | | | include/netdb.h: 1.15->1.16 lib/libc/net/getnameinfo.c: 1.6->1.7 sys/alpha/include/ansi.h: 1.10->1.12 sys/i386/include/ansi.h: 1.19->1.21 sys/sys/socket.h: 1.47->1.49 Notes: svn path=/stable/4/; revision=73070
* MFC 1.29->1.30Hajimu UMEMOTO2001-02-181-102/+170
| | | | | | | | | | | | - __ivaliduser_sa() was introduced for IPv6 support to lpd - 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() Notes: svn path=/stable/4/; revision=72662
* My previous commit was overenthusiastic - it does not apply to RELENG_4.Kris Kennaway2001-02-181-2/+0
| | | | | | | Pointy hat to: kris Notes: svn path=/stable/4/; revision=72622
* MFC: Fix memory leakKris Kennaway2001-02-181-0/+2
| | | | Notes: svn path=/stable/4/; revision=72603
* MFC 1.7->1.8: s/err1/errx/.Hajimu UMEMOTO2001-01-261-2/+2
| | | | | | | http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard.cgi?log=1673 Notes: svn path=/stable/4/; revision=71679
* MFC: mdoc(7) police: Ft/Vt now accept punctuation-type arguments.Ruslan Ermilov2001-01-121-1/+1
| | | | Notes: svn path=/stable/4/; revision=70976
* MFC: Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-292-7/+7
| | | | Notes: svn path=/stable/4/; revision=70483
* Fix pthread cancellation point propagation.Jason Evans2000-12-281-5/+5
| | | | Notes: svn path=/stable/4/; revision=70444
* MFC: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/stable/4/; revision=70016
* MFC: use canonical form of .Dd macro.Ruslan Ermilov2000-12-121-1/+2
| | | | Notes: svn path=/stable/4/; revision=69898
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2000-12-085-8/+7
| | | | Notes: svn path=/stable/4/; revision=69764
* MFC 1.1->1.2: defined HAVE_IFM_DATA for (free|net|open)bsdHajimu UMEMOTO2000-10-301-0/+5
| | | | Notes: svn path=/stable/4/; revision=67983
* MFC 1.16->1.17: Make RES_OPTIONS=inet6 work.Hajimu UMEMOTO2000-10-301-0/+4
| | | | Notes: svn path=/stable/4/; revision=67982
* MFC: fix memory leak.Munechika SUMIKAWA2000-10-301-0/+2
| | | | | | | Obtained from: KAME Notes: svn path=/stable/4/; revision=67978
* MFC r1.12: Set h_errno when an error is encountered.Jacques Vidrine2000-10-011-2/+9
| | | | | | | | PR: bin/21092 Submitted by: Alexander Kabaev <ak03@gte.com> Notes: svn path=/stable/4/; revision=66509
* off-by-1 error in string length validationJun-ichiro itojun Hagino2000-09-251-7/+6
| | | | | | | | | From: Pavel Kankovsky <peak@argo.troja.mff.cuni.cz> MFC 1.5 -> 1.6 Notes: svn path=/stable/4/; revision=66375
* MFC:Paul Saab2000-09-201-113/+33
| | | | | | | | | | | [rev 1.36] Yank out the NOPOLL conditionals. [rev 1.37] Change from using poll(2) to kqueue/kevent. Notes: svn path=/stable/4/; revision=66149
* The API change mentioned in the previous revision didn't actually make itJohn Baldwin2000-08-222-10/+22
| | | | | | | | | into 4.x, so don't document it. Noticed by: brian, ume Notes: svn path=/stable/4/; revision=64959
* MFC: Document the API change to allocate rcmd{,_af}()'s *ahost argumentJohn Baldwin2000-08-221-0/+5
| | | | | | | | using malloc() rather than pointing it at something that's free()d before the function returns. Notes: svn path=/stable/4/; revision=64957
* MFC:John Baldwin2000-08-225-18/+44
| | | | | | | | | - Mention that getipnodeby* and get{addr,name}info are not thread-safe. (sync with kame) - s/.Os KAME/.Os/ Notes: svn path=/stable/4/; revision=64924
* MFC:John Baldwin2000-08-221-3/+66
| | | | | | | | | - Mention that getipnodeby* and get{addr,name}info are not thread-safe. (sync with kame) - s/.Os KAME/.Os/ Notes: svn path=/stable/4/; revision=64923
* MFC: Use _close() instead of close() in addrconfig() to keep it fromJohn Baldwin2000-08-221-3/+3
| | | | | | | becoming a potential cancellation point in libc_r. Notes: svn path=/stable/4/; revision=64922
* MFC rev 1.28 -> 1.29: Don't retry connecting via the same medium.Hajimu UMEMOTO2000-08-141-16/+8
| | | | | | | PR: bin/20515 Notes: svn path=/stable/4/; revision=64647
* MFC rev 1.26 -> 1.28: Copy canonname for *ahost, into static buffer.Hajimu UMEMOTO2000-07-201-2/+8
| | | | Notes: svn path=/stable/4/; revision=63686
* Revert previous checkin to unbreak build.Archie Cobbs2000-07-192-10/+10
| | | | Notes: svn path=/stable/4/; revision=63561
* Backout ``const'ify parameters to ethers(3) routines'' patchRuslan Ermilov2000-07-192-10/+10
| | | | | | | from RELENG_4 until issue is resolved in 5.0-CURRENT. Notes: svn path=/stable/4/; revision=63529
* To define A RR to root (.) is valid in DNS. So, h_name = "" shouldn'tHajimu UMEMOTO2000-07-191-2/+2
| | | | | | | | | | | be treated as NULL. PR: bin/19816 Submitted by: Bill Fenner <fenner@research.att.com> Reviewed by: Atsushi Onoe <onoe@sm.sony.co.jp> Notes: svn path=/stable/4/; revision=63490
* MFC: const'ify parameters to ethers(3) routines.Archie Cobbs2000-07-192-10/+10
| | | | Notes: svn path=/stable/4/; revision=63483
* MFC: Merge KAME 2000/07 code.Kris Kennaway2000-07-156-154/+530
| | | | Notes: svn path=/stable/4/; revision=63208
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-07-102-0/+542
| | | | Notes: svn path=/stable/4/; revision=62923
* MFC rev 1.4: Remove extraneous commas and fix run-on mark-up.Sheldon Hearn2000-07-031-6/+6
| | | | Notes: svn path=/stable/4/; revision=62462
* MFC: (rev 1.13) fix a null-dereference problem.Ruslan Ermilov2000-07-031-5/+17
| | | | | | | PR: 19069 Notes: svn path=/stable/4/; revision=62443
* MFC: DNS IPv6 transport supportHajimu UMEMOTO2000-07-012-59/+153
| | | | Notes: svn path=/stable/4/; revision=62358
* MFC: Don't call _getipnodebyname_multi(). It fixes the problem thatHajimu UMEMOTO2000-06-291-190/+1216
| | | | | | | | | | getaddrinfo() accidentally returns IPv4 mapped IPv6 address instead of native IPv4 address. Now, getaddinfo() is scoped address ready. You can put scoped address within /etc/hosts. Notes: svn path=/stable/4/; revision=62244
* correct possible security issue(s) in name resolution, due to use ofJun-ichiro itojun Hagino2000-05-131-177/+391
| | | | | | | | | | | pre-4.9.7 BIND resolver code. ftp://ftp.kame.net/pub/mail-list/snap-users/2348 for details. (MFC 1.8 -> 1.9) reviewed by: ume Notes: svn path=/stable/4/; revision=60527
* MFC: rev 1.4, typo fixesAlexey Zelkin2000-05-121-2/+2
| | | | Notes: svn path=/stable/4/; revision=60466
* MFC: One author name per call to %A.Sheldon Hearn2000-05-101-2/+5
| | | | Notes: svn path=/stable/4/; revision=60313
* MFC: Use `Er' variable to define first column width in ERRORS section.Alexey Zelkin2000-05-061-1/+1
| | | | Notes: svn path=/stable/4/; revision=60084
* MFC: introduce .Lb macro to libc manpagesAlexey Zelkin2000-04-2219-0/+38
| | | | Notes: svn path=/stable/4/; revision=59521
* Change getaddrinfo() resolve orderYoshinobu Inoue2000-04-202-75/+317
| | | | | | | | | | | | | | from all AAAA trial, then all A trial to try AAAA and A for each trial TODO: more fix for the case where IPv4 mapped IPv6 addr is disabled Reviewed by: ume Notes: svn path=/stable/4/; revision=59411
* Merge rev 1.7, uninitialized variable fix.Jonathan Lemon2000-03-151-1/+1
| | | | Notes: svn path=/stable/4/; revision=58097
* Merge from NetBSD. Addition of inet_ntop() and inet_pton() description.Yoshinobu Inoue2000-03-122-2/+60
| | | | | | | | | Specified by: Robert Muir <rmuir@looksharp.net> Obtained from: NetBSD Notes: svn path=/head/; revision=57940
* Cosmetic fix. Re-order MLINKS for if_indextoname.3 and inet.3 as alphabeticalYoshinobu Inoue2000-03-121-2/+2
| | | | | | | order. Notes: svn path=/head/; revision=57939
* Correct MLINKS contents for rcmd.3, because it is obsolete due toYoshinobu Inoue2000-03-121-3/+4
| | | | | | | | | | recent changes to rcmd.3. links to iruserok_af.3, ruserok_af.3 are removed. link to iruserok_sa.3 is added. Notes: svn path=/head/; revision=57937
* Import from KAME. Advanced API related function descriptions.Yoshinobu Inoue2000-03-123-1/+790
| | | | | | | Obtained from: KAME project Notes: svn path=/head/; revision=57936
* Add in IPV4 NIS support.Jonathan Lemon2000-03-091-0/+39
| | | | | | | | PR: 17290 (but not the same patch) Approved by: jkh Notes: svn path=/head/; revision=57878
* More grammer, wording, and mdoc fixes.Yoshinobu Inoue2000-03-091-26/+20
| | | | | | | | Submitted by: bde Reviewed by: sheldonh Notes: svn path=/head/; revision=57866
* CMSG_XXX macros alignment fixes to follow RFC2292.Yoshinobu Inoue2000-03-031-6/+18
| | | | | | | | | | Approved by: jkh Submitted by: Partly from tech@openbsd Reviewed by: itojun Notes: svn path=/head/; revision=57719