From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1921) id 343E938582A2; Mon, 11 Jul 2022 11:51:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 343E938582A2 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] HyperV socket implementation for FreeBSD X-Act-Checkin: newlib-cygwin X-Git-Author: Wei Hu X-Git-Refname: refs/heads/master X-Git-Oldrev: 7293d1e7b6f1ef012710b1a2e0e7d89889c782e6 X-Git-Newrev: 1a840361e80d17ab7b1dd6db32372ea21ce69b09 Message-Id: <20220711115159.343E938582A2@sourceware.org> Date: Mon, 11 Jul 2022 11:51:59 +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:51:59 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D1a840361e80= d17ab7b1dd6db32372ea21ce69b09 commit 1a840361e80d17ab7b1dd6db32372ea21ce69b09 Author: Wei Hu Date: Wed May 20 11:03:59 2020 +0000 HyperV socket implementation for FreeBSD =20 This change adds Hyper-V socket feature in FreeBSD. New socket address family AF_HYPERV and its kernel support are added. =20 Submitted by: Wei Hu Reviewed by: Dexuan Cui Relnotes: yes Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D24061 Diff: --- newlib/libc/sys/rtems/include/sys/socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newlib/libc/sys/rtems/include/sys/socket.h b/newlib/libc/sys/r= tems/include/sys/socket.h index 3431947cf..d0d31a2b0 100644 --- a/newlib/libc/sys/rtems/include/sys/socket.h +++ b/newlib/libc/sys/rtems/include/sys/socket.h @@ -257,7 +257,8 @@ struct accept_filter_arg { #define AF_IEEE80211 37 /* IEEE 802.11 protocol */ #define AF_INET_SDP 40 /* OFED Socket Direct Protocol ipv4 */ #define AF_INET6_SDP 42 /* OFED Socket Direct Protocol ipv6 */ -#define AF_MAX 42 +#define AF_HYPERV 43 /* HyperV sockets */ +#define AF_MAX 43 /* * When allocating a new AF_ constant, please only allocate * even numbered constants for FreeBSD until 134 as odd numbered AF_ @@ -265,7 +266,6 @@ struct accept_filter_arg { */ #define AF_VENDOR00 39 #define AF_VENDOR01 41 -#define AF_VENDOR02 43 #define AF_VENDOR03 45 #define AF_VENDOR04 47 #define AF_VENDOR05 49