summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
Commit message (Collapse)AuthorAgeFilesLines
* Document the latest changes to sctp_opt_info() in the code.tuexen2011-06-181-4/+31
| | | | | This makes sctp_opt_info() compiliant with the latest version of the socket API ID.
* Add SCTP_MAX_BURST support to sctp_opt_info().tuexen2011-06-171-0/+3
| | | | | | This only applies to 9.0 and higher, since the type of the values has changed since we introduced it. So it can't be MFCed.
* Update the list of supported socket options for sctp_opt_info().tuexen2011-06-171-3/+6
| | | | MFC after: 1 month.
* Fix two typos and remove redundant code.tuexen2011-06-161-5/+2
| | | | MFC after: 1 month.
* * Fix the handling of addresses in sctp_sendv().tuexen2011-06-161-42/+83
| | | | | | | * Add support for SCTP_SENDV_NOINFO. * Improve the error handling of sctp_sendv() and sctp_recv(). MFC after: 1 month
* Add support for the newly added SCTP API.tuexen2011-06-151-21/+253
| | | | | | | | | | | | | In particular add support for: * SCTP_SNDINFO, SCTP_PRINFO, SCTP_AUTHINFO, SCTP_DSTADDRV4, and SCTP_DSTADDRV6 cmsgs. * SCTP_NXTINFO and SCTP_RCVINFO cmgs. * SCTP_EVENT, SCTP_RECVRCVINFO, SCTP_RECVNXTINFO and SCTP_DEFAULT_SNDINFO socket option. * Special association ids (SCTP_FUTURE_ASSOC, ...) * sctp_recvv() and sctp_sendv() functions. MFC after: 1 month.
* * Update copyright notice.tuexen2011-05-051-78/+63
| | | | | | | * Cleanup usage of iov's. * Add support for SCTP_TIMEOUTS socketoption. * Fix a bug in sctp_recvmsg(): return the msg_flags in case of an error. * Fix a bug in the error handling of sctp_peeloff(): return the -1.
* Fix struct FILE * leak on error (in disabled by default hesiod support code).kib2011-01-081-0/+1
| | | | | | Submitted by: henning petersen <henning.petersen t-online de> PR: 153756 MFC after: 1 week
* Clang related fixes:rpaulo2010-10-131-0/+1
| | | | | | | * When calling syslog(), pass a format string. * Define YY_NO_INPUT on nslexer.l Submitted by: Norberto Lopes <nlopes.ml at gmail.com>
* mdoc: drop redundant .Pp and .LP callsuqs2010-10-083-4/+0
| | | | They have no effect when coming in pairs, or before .Bl/.Bd
* When no protocol entry is found, getproto*_r(3) shouldume2010-10-053-3/+3
| | | | | | | return zero. Spotted by: Kostik Belousov <kostikbel__at__gmail.com> MFC after: 2 weeks
* Clear errno for each method dispatch.ume2010-10-041-0/+2
| | | | | Spotted by: Kostik Belousov <kostikbel__at__gmail.com> MFC after: 2 weeks
* Revert changes of 'assure' to 'ensure' made in r211936.brucec2010-09-112-4/+4
| | | | Approved by: rrs (mentor)
* Fix incorrect usage of 'assure' and 'insure'.brucec2010-08-284-6/+6
| | | | Approved by: rrs (mentor)
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whilejoel2010-08-163-4/+5
| | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
* Correct the return code from _dns_gethostby*() to correspondume2010-08-151-4/+20
| | | | | | | with h_errno. Obtained from: NetBSD MFC after: 2 weeks
* - When there is no room for returning the result, nss backendume2010-08-1311-49/+109
| | | | | | | | | | have to return ERANGE and terminate with NS_RETURN. - When gethostbyname_r(3) and the friends end with an error, set errno to the value nss backend returns, and return errno value. PR: kern/131623 MFC after: 2 weeks
* Fix typos and spelling mistakes.joel2010-08-062-2/+2
|
* Spelling fixes.joel2010-08-023-3/+3
|
* If a user calls sctp_sendx() with a NULLrrs2010-07-071-0/+5
| | | | | | | sinfo we will crash. Instead we should provide our own temp structure to use internally. MFC after: 1 month
* Increment 'sa' at the end of the loop; otherwise, only the firstbrucec2010-07-051-1/+1
| | | | | | | address ever gets checked. Approved by: rrs (mentor) MFC after: 1 month
* Use ISO C99 integer types instead of the BSD-specific u_int*_t.brucec2010-07-043-29/+29
| | | | Approved by: rrs (mentor)
* sctp_recvmsg returns the number of bytes received, not sent.brucec2010-06-111-1/+1
| | | | | Approved by: rrs (mentor) MFC after: 1 month
* Use the stored length value instead of calculating it by strlen().ume2010-04-061-8/+6
|
* Add capability to use a db version of services. It is enabled byume2010-04-042-1/+204
| | | | | | specifying `db' as source of service in /etc/nsswitch.conf. MFC after: 2 weeks
* Reduce duplicate code.ume2010-04-041-59/+33
| | | | MFC after: 2 weeks
* Treat '+' as special only when in compat mode, and simplifyume2010-04-041-22/+19
| | | | | | the logic bit. MFC after: 2 weeks
* Stop adding trailing '\n'. The servent_unpack() doesn't expectume2010-04-041-10/+3
| | | | | | lines terminated with '\n'. MFC after: 2 weeks
* Remove extra semicolon.brucec2010-01-311-1/+1
| | | | Approved by: rrs (mentor)
* Fix typo of ENOTCONN.brucec2010-01-314-3/+5
| | | | | | Add missing RETURN VALUES section in sctp_opt_info(3). Approved by: rrs (mentor)
* Miscellaneous mdoc, spelling and inconsistency fixes.brueffer2010-01-129-23/+24
| | | | | | PR: 142573, 142576 (mostly) Submitted by: brucec MFC after: 1 week
* - correct xref sectionsdanger2009-11-282-4/+4
| | | | | | PR: docs/140940 Submitted by: Bruce Cran <bruce@cran.org.uk> MFC after: 1 week
* Add missing IEEE1394 support dropped during merge from NetBSD.ume2009-11-121-0/+11
|
* ANSIfy.ume2009-11-111-25/+8
| | | | MFC after: 1 week
* Add NLS catalogs support to gai_strerror(3).ume2009-11-091-0/+58
| | | | Controlled by NLS define.
* Revert r196976, now that <machine/param.h> behaves predictably.phk2009-09-091-1/+0
|
* Add necessary includephk2009-09-081-0/+1
|
* Document how to enable strict RFC 1034 enforcements.delphij2009-05-291-1/+14
| | | | PR: kern/129477
* Fix an issue when nss fallback routines are used in a multithreaded application.zml2009-05-271-4/+23
| | | | | Reviewed by: bushman Approved by: dfr (mentor)
* Fix an obvious bug in getsourcefilter()'s use of struct __msfilterreq;bms2009-04-291-2/+3
| | | | | | | | | | | | | the kernel will return in msfr_nsrcs the number of source filters in-mode for a given multicast group. However, the filters themselves were never copied out, as the libc function clobbers this field with zero, causing the kernel to assume the provided vector of struct sockaddr_storage has zero length. This bug would only affect users of SSM multicast, which is shimmed in 7.x. Picked up during mtest(8) refactoring. MFC after: 1 day
* Query DNS only once per an address family.ume2009-03-291-86/+170
| | | | | Obtained from: KAME MFC after: 2 weeks
* Add support for SCTP to getaddrinfo(3).ume2009-03-251-7/+20
| | | | | | | | | | | | | Now, getaddrinfo(3) returns two SOCK_STREAMs, IPPROTO_TCP and IPPROTO_SCTP. It confuses some programs. If getaddrinfo(3) returns IPPROTO_SCTP when SOCK_STREAM is specified by hints.ai_socktype, at least Apache doesn't work. So, I made getaddrinfo(3) to return IPPROTO_SCTP with SOCK_STREAM only when IPPROTO_SCTP is specified explicitly by hints.ai_protocol. PR: bin/128167 Submitted by: Bruce Cran <bruce__at__cran.org.uk> (partly) MFC after: 2 week
* getaddrinfo(3) should accept numeric when ai_socktype is notume2009-03-241-1/+11
| | | | | | | | specified in hint or hints is NULL. PR: bin/51827 Submitted by: Mark Andrews <marka__at__isc.org> MFC after: 1 week
* Considerably improve the wording of this man page.bms2009-03-041-20/+77
|
* Update copyright.bms2009-03-041-16/+13
|
* Add a missing .El.delphij2009-03-011-0/+1
|
* Shutup warning for DNAME RR.ume2009-02-082-2/+3
| | | | | | PR: bin/127591 Submitted by: "Eugene M. Kim" <20080111.freebsd.org__at__ab.ote.we.lv> MFC after: 1 week
* - forgot to bump a datedanger2009-01-061-1/+1
|
* catch up wtih r175955 by ume:danger2009-01-061-53/+2
| | | | - the support of AI_ALL and AI_V4MAPPED has been completely removed.
* Add an ENVIRONMENT section to note that the RSH variable can be set tomurray2008-12-141-0/+7
| | | | | | | | override the use of the rsh(1) program in rcmd(3). PR: docs/51133 Obtained from: NetBSD, partially MFC after: 3 weeks
OpenPOWER on IntegriCloud