From: Joseph Myers Date: Mon, 27 Aug 2018 13:43:05 +0000 (+0000) Subject: Update netinet/udp.h from Linux 4.18. X-Git-Tag: upstream/2.30~912 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4061791fccec50dfcd13b72ccb926dedc58b9680;p=platform%2Fupstream%2Fglibc.git Update netinet/udp.h from Linux 4.18. This patch adds the UDP_SEGMENT constant from Linux 4.18 to netinet/udp.h. Tested for x86_64. * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro. --- diff --git a/ChangeLog b/ChangeLog index 819b56f..f97c551 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-08-27 Joseph Myers + + * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro. + 2018-08-25 Paul Eggert regex: fix uninitialized memory access diff --git a/sysdeps/gnu/netinet/udp.h b/sysdeps/gnu/netinet/udp.h index eddd248..45f007b 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 */