public inbox for
help / color / mirror / Atom feed
From: Sebastian Huber <>
Subject: [newlib-cygwin] Add SOL_SOCKET level socket option
Date: Fri, 24 Aug 2018 13:12:00 -0000	[thread overview]
Message-ID: <> (raw);h=fe3e8b90dc47bda41f697cffe1f5b6c0c32be70a

commit fe3e8b90dc47bda41f697cffe1f5b6c0c32be70a
Author: tuexen <>
Date:   Tue Aug 21 14:04:30 2018 +0000

    Add SOL_SOCKET level socket option
    with name SO_DOMAIN to get the domain of a socket.
    This is helpful when testing and Solaris and Linux have the same
    socket option using the same name.
    Reviewed by:		bcr@, rrs@
    Sponsored by:		Netflix, Inc.
    Differential Revision:

 newlib/libc/sys/rtems/include/sys/socket.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/newlib/libc/sys/rtems/include/sys/socket.h b/newlib/libc/sys/rtems/include/sys/socket.h
index a1ffbbd..f329e3a 100644
--- a/newlib/libc/sys/rtems/include/sys/socket.h
+++ b/newlib/libc/sys/rtems/include/sys/socket.h
@@ -171,6 +171,7 @@ typedef	__uintptr_t	uintptr_t;
 #define	SO_PROTOTYPE	SO_PROTOCOL	/* alias for SO_PROTOCOL (SunOS name) */
 #define	SO_TS_CLOCK	0x1017		/* clock type used for SO_TIMESTAMP */
 #define	SO_MAX_PACING_RATE	0x1018	/* socket's max TX pacing rate (Linux name) */
+#define	SO_DOMAIN	0x1019		/* get socket domain */

                 reply	other threads:[~2018-08-24 13:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).