]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add UDP_GRO from Linux 5.0 to netinet/udp.h.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 25 Mar 2019 13:16:46 +0000 (13:16 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 25 Mar 2019 13:16:46 +0000 (13:16 +0000)
This patch adds the new constant UDP_GRO from Linux 5.0 to glibc.

Tested for x86_64.

* sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.

ChangeLog
sysdeps/gnu/netinet/udp.h

index 2ead14e1a919fcd1e303e796ed9db3ea25ca97c1..2e8ed59d21c1a9809b32f7be836122ed8778f94e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2019-03-25  Joseph Myers  <joseph@codesourcery.com>
 
 2019-03-25  Joseph Myers  <joseph@codesourcery.com>
 
+       * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
+
        * elf/elf.h (NT_ARM_PAC_MASK): New macro.
        (NT_MIPS_MSA): Likewise.
 
        * elf/elf.h (NT_ARM_PAC_MASK): New macro.
        (NT_MIPS_MSA): Likewise.
 
index fc82bae38132afec9415c136dddc757a4e1168b8..b6822cb3e27c70e71797bfa70b90fb39e5c682ec 100644 (file)
@@ -82,6 +82,7 @@ struct udphdr
 #define UDP_NO_CHECK6_RX 102   /* Disable accepting checksum for UDP
                                   over IPv6.  */
 #define UDP_SEGMENT    103     /* Set GSO segmentation size.  */
 #define UDP_NO_CHECK6_RX 102   /* Disable accepting checksum for UDP
                                   over IPv6.  */
 #define UDP_SEGMENT    103     /* Set GSO segmentation size.  */
+#define UDP_GRO                104     /* This socket can receive UDP GRO packets.  */
 
 /* UDP encapsulation types */
 #define UDP_ENCAP_ESPINUDP_NON_IKE 1   /* draft-ietf-ipsec-nat-t-ike-00/01 */
 
 /* UDP encapsulation types */
 #define UDP_ENCAP_ESPINUDP_NON_IKE 1   /* draft-ietf-ipsec-nat-t-ike-00/01 */