From patchwork Mon Aug 20 22:17:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 28986 Received: (qmail 91875 invoked by alias); 20 Aug 2018 22:17:51 -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 91773 invoked by uid 89); 20 Aug 2018 22:17:51 -0000 Authentication-Results: sourceware.org; auth=none 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=IPv6 X-HELO: relay1.mentorg.com Date: Mon, 20 Aug 2018 22:17:44 +0000 From: Joseph Myers To: Subject: Update netinet/udp.h from Linux 4.18 Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 This patch adds the UDP_SEGMENT constant from Linux 4.18 to netinet/udp.h. Tested for x86_64. 2018-08-20 Joseph Myers * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro. diff --git a/sysdeps/gnu/netinet/udp.h b/sysdeps/gnu/netinet/udp.h index eddd248655..45f007b7b5 100644 --- a/sysdeps/gnu/netinet/udp.h +++ b/sysdeps/gnu/netinet/udp.h @@ -81,6 +81,7 @@ struct udphdr over IPv6. */ #define UDP_NO_CHECK6_RX 102 /* Disable accepting checksum for UDP over IPv6. */ +#define UDP_SEGMENT 103 /* Set GSO segmentation size. */ /* UDP encapsulation types */ #define UDP_ENCAP_ESPINUDP_NON_IKE 1 /* draft-ietf-ipsec-nat-t-ike-00/01 */