From patchwork Thu Feb 1 18:16:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 868361 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89881-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="VHfc7eBf"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zXSxy47Rnz9s72 for ; Fri, 2 Feb 2018 05:17:10 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=IURjPrJ9ej51kaqZljTtnYFvzSYN0 817dknN/1P8hzWWkDn/5IjCYNQfNfPaXrqqFtZXkpgPfgBtc4ti3sPwJdq6ietS8 TU0WX5Dsb5jNnw8m34nPENkYofHY7NLDgG3GcYR7d0ATQDKQwzWoRvDasFYHmqlm OqBBxa0oB4ZIws= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=3OgpZCRKN5QNIwn0lVN0IE0Cftw=; b=VHf c7eBf1y3HdS3M2LOqFMIZD5r/nkwScr2MWGNQ4DvTw/e2QQJygDfDK+GPwtv1Nve eSFsCikGIHGydJ4tPtkunf4T2YVQTavmzy5I4MDEE5nwLWelO0ezlBkrVTnA6uZN lhHqLB0XyDC/bzxdaTvQCtsFQZjbXhcmg4KaqzWI= Received: (qmail 45811 invoked by alias); 1 Feb 2018 18:17:05 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 45802 invoked by uid 89); 1 Feb 2018 18:17:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Thu, 1 Feb 2018 18:16:58 +0000 From: Joseph Myers To: Subject: Add IPV6_FREEBIND from Linux 4.15 Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) [Proposed for once the release changes for 2.27, and the post-release changes opening master for development for 2.28, have been committed.] This patch adds the IPV6_FREEBIND macro from Linux 4.15 to sysdeps/unix/sysv/linux/bits/in.h. Tested for x86_64. 2018-02-01 Joseph Myers * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro. diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h index fb64f1b..2c86102 100644 --- a/sysdeps/unix/sysv/linux/bits/in.h +++ b/sysdeps/unix/sysv/linux/bits/in.h @@ -228,6 +228,7 @@ struct in_pktinfo #define IPV6_TRANSPARENT 75 #define IPV6_UNICAST_IF 76 #define IPV6_RECVFRAGSIZE 77 +#define IPV6_FREEBIND 78 /* Obsolete synonyms for the above. */ #if !__USE_KERNEL_IPV6_DEFS