summaryrefslogtreecommitdiff
path: root/src/lib/libc/net (follow)
Commit message (Collapse)AuthorAgeFilesLines
* replace spaces with tabs for indentationstsp2014-02-171-2/+2
|
* Fix inet6_opt_init() to only check extlen when extbuff is not NULLmpi2014-02-071-5/+2
| | | | | | as per RFC 3542, from DragonFlyBSD via Eitan Adler. ok bluhm@
* Always set errno when returning NULL. OK kettenis@ henning@millert2014-02-051-7/+17
|
* obvious .Pa fixes; found with mandocdb(8)schwarze2014-01-2111-43/+43
|
* don't try writing past the end unless we have totedu2013-12-311-8/+16
| | | | ok gilles millert
* inet_nsap_ntoa() and inet_nsap_addr() go away. Unused APIs from darkerderaadt2013-12-172-100/+4
| | | | days.
* unsigned char changes for ctypederaadt2013-11-251-10/+11
| | | | re-re-reviewed by krw
* use an unsigned char instead, to avoid lots of castsderaadt2013-11-251-2/+2
|
* most obvious unsigned char casts for ctypederaadt2013-11-244-20/+27
| | | | ok jca krw ingo
* remove dead fileseric2013-11-1211-7785/+0
| | | | ok deraadt@
* permute15() should be static. Not cranking libc now, because it isderaadt2013-11-121-2/+2
| | | | not urgent.
* Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,millert2013-09-301-8/+8
| | | | MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
* use Bsx;jmc2013-08-141-3/+4
| | | | from jan stary
* use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze2013-07-161-2/+2
|
* more macro simplification; from Jan Staryjmc2013-07-161-3/+2
|
* rfc 3493 obsoletes 2553. i spotted this after reading hiroki sato's changesjmc2013-07-101-5/+6
| | | | | | | | in freebsd src commit r253066. our man pages had been updated, but i must have missed the following: - getnameinfo.3: 2553 -> 3493 - ip6.4: we listed both. remove 2553.
* Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzetedu2013-06-0519-83/+83
|
* use CLOCK_MONOTONIC, and repair future time_t overflowderaadt2013-04-171-8/+8
| | | | ok millert guenther
* getaddrinfo is now thread-safe.brad2013-03-311-6/+2
| | | | ok eric@
* protect the PRG state with a mutex in res_randomid().eric2013-03-261-2/+13
| | | | ok deraadt@ guenther@ djm@
* Use a realloc() loop around the sysctl() for NET_RT_IFLIST, in case anderaadt2013-03-201-9/+21
| | | | | interface is added at just the right... wrong moment. ok millert dlg
* document RES_USE_DNSSEC; text tweaked by sthenjmc2012-12-121-2/+6
| | | | ok jakob
* - put the various options into the same order as those in resolv.hjmc2012-11-291-17/+38
| | | | | | | | | | | | | | | - sync RES_DEBUG with resolv.conf.5 - document RES_PRIMARY, but mark it unsupported (like we already do for RES_AAAONLY) - use the exact same text (about being enabled by default) for RES_RECURSE as for the other two defaults - document RES_INSECURE{1,2} - description lifted from resolv.conf.5 - document RES_NOALIASES - mostly sync the RES_USE_EDNS0 text with resolv.conf.5 - RES_USE_DNSSEC not documented for now. something to come... ok sthen
* remove some useless Tn and double punctuation;jmc2012-11-191-16/+7
|
* RES_IGNTC is no longer ignored; ok sthenjmc2012-11-191-4/+4
|
* last stage of rfc changes, using consistent Rs/Re blocks, and moving thejmc2012-09-279-88/+91
| | | | references into a STANDARDS section;
* rfc 2553 (not 2533) has been replaced by rfc 3493;jmc2012-08-221-5/+6
|
* - remove inconsistent/obsolete commentsjmc2012-08-214-48/+35
| | | | | - update rfc references - make the Rs/Re blocks more consistent
* flesh out the rfc section;jmc2012-08-211-10/+33
| | | | rfc 5321 replaces 974 and 2821;
* rfc 4291 replaces rfcs 2373 and 3513;jmc2012-08-201-9/+16
|
* Use same (lame) verbiage to explain ifa_dstaddr as is used forkrw2012-07-131-3/+4
| | | | | | | | ifa_broadaddr. i.e. make it make clear that this field is only valid for P2P. (Hint: one's a field, and one's a #define giving a new name to said field) ok guenther@
* - document newly imported AF_INET6 support to net_inet_{pton,ntop}gilles2012-06-241-5/+26
| | | | diff from Florian Obser, ok jmc@
* add support for AF_INET6 to inet_net_pton() and inet_net_ntop()gilles2012-06-222-2/+68
| | | | | | using inet_pton() and inet_ntop() as suggested by claudio ok claudio@
* Document that getpeereid() works for SOCK_SEQPACKET sockets too.matthew2012-04-221-3/+5
|
* use "an addrinfo", not "a addrinfo". ok jmcsthen2012-04-201-3/+3
|
* rearrange DESCRIPTION somewhat to make this page more readable;jmc2012-04-201-39/+40
| | | | from Lawrence Teo
* Do not pick the network number as alias on entries with no aliaseric2012-04-101-3/+2
| | | | | | defined. ok deraadt@
* the disease is spreadingdlg2012-03-201-3/+3
|
* net_addrcmp() dies. found out to be a horrific function by ericderaadt2012-01-173-158/+3
| | | | ok guenther
* draft-ietf-ipv6-scoping-arch-02 has become RFC 4007, as noted byjmc2012-01-032-12/+10
| | | | | | Poul-Henning Kamp, freebsd pr docs/163771; ok sthen
* Fix spacing nit.matthew2011-04-191-3/+3
| | | | ok jmc@
* Add AI_FQDN flag to getaddrinfo(3). Prompted by discussions with djm@matthew2011-04-052-22/+46
| | | | | | | | | | about cert checking in OpenSSH. Man page wording tweaks thanks to jmc@. ok henning@, jmc@; positive feedback from djm@, ajacoutat@ Committing now to reuse guenther@'s libc minor bump instead of cranking it again, as suggested by deraadt@.
* Implement if_freenameindex() as a real function as required by posix.claudio2010-09-241-1/+7
| | | | OK deraadt@, millert@
* getpeereid() can now be a library routine using getsockopt() withderaadt2010-07-013-3/+158
| | | | | | | SOL_SOCKET and SO_PEERCRED, only issue being that it cannot return EFAULT for a page fault. The kernel code will soon be put into compat, and then in 10 years or so tedu will delete it. ok guenther millert
* use a union to align the dns answer buffer until gcc4 is fixedderaadt2010-06-291-5/+8
|
* use a union to align the dns answer buffer until gcc4 is fixedderaadt2010-06-291-5/+8
|
* Do not return success when the IPv6 address has a :: and 8 hex sections.claudio2010-05-061-3/+4
| | | | | | ::1:2:3:4:5:6:7:8 for example. PR 6277, fix by Jun KAWAI (kwj at vlax net) OK henning, gilles, jsing (who also reminded me to remove the now wrong comment about superfluous ::)
* Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentmiod2010-02-031-3/+3
| | | | | | | files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
* replace a few remaining UNIX terms with .Ux macros; this diffsobrado2009-12-291-4/+4
| | | | completes the changes from Oct 22.
* More shrinkage, a bit for ramdisks but mostly for static binaries:guenther2009-11-185-392/+445
| | | | | | | | | | | | | | | | | - wrap with #ifndef NO_LOG_BAD_DNS_RESPONSES libc code that uses p_class() and p_type() for diagnostics, then add that define to libstub to avoid pulling in res_debug_syms.o - split rcmd() and ruserok() into separate files, as nothing uses both - split readdir_r() to its own file - split syslog_r() from syslog(), as the latter needs localtime(); many binaries no longer need to pull in all the time code after this; switch from usleep() to nanosleep() while we're at it (The profit of analysis of -Wl,-M,--cref output) Chops 888kB from /bin and /sbin on i386 ok deraadt@, miod@