From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1921) id 5CCE0385AE6D; Mon, 11 Jul 2022 11:55:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5CCE0385AE6D Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Sebastian Huber To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] tcp: socket option to get stack alias name X-Act-Checkin: newlib-cygwin X-Git-Author: Peter Lei X-Git-Refname: refs/heads/master X-Git-Oldrev: 0464f26db0c35b01281c5189b35d4388b49507f5 X-Git-Newrev: 73784208e3f457a5e2aea6016fbc29398be91574 Message-Id: <20220711115510.5CCE0385AE6D@sourceware.org> Date: Mon, 11 Jul 2022 11:55:10 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2022 11:55:10 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D73784208e3f= 457a5e2aea6016fbc29398be91574 commit 73784208e3f457a5e2aea6016fbc29398be91574 Author: Peter Lei Date: Mon Oct 25 20:08:54 2021 -0700 tcp: socket option to get stack alias name =20 TCP stack sysctl nodes are currently inserted using the stack name alias. Allow the user to get the current stack's alias to allow for programatic sysctl access. =20 Obtained from: Netflix Diff: --- newlib/libc/sys/rtems/include/netinet/tcp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/newlib/libc/sys/rtems/include/netinet/tcp.h b/newlib/libc/sys/= rtems/include/netinet/tcp.h index e7c47e85b..6dc7403aa 100644 --- a/newlib/libc/sys/rtems/include/netinet/tcp.h +++ b/newlib/libc/sys/rtems/include/netinet/tcp.h @@ -210,6 +210,7 @@ struct tcphdr { #define TCP_PCAP_OUT 2048 /* number of output packets to keep */ #define TCP_PCAP_IN 4096 /* number of input packets to keep */ #define TCP_FUNCTION_BLK 8192 /* Set the tcp function pointers to the spec= ified stack */ +#define TCP_FUNCTION_ALIAS 8193 /* Get the current tcp function pointer na= me alias */ /* Options for Rack and BBR */ #define TCP_REUSPORT_LB_NUMA 1026 /* set listen socket numa domain */ #define TCP_RACK_MBUF_QUEUE 1050 /* Do we allow mbuf queuing if supporte= d */