This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Add UDP_GRO from Linux 5.0 to netinet/udp.h
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Thu, 21 Mar 2019 20:58:55 +0000
- Subject: Add UDP_GRO from Linux 5.0 to netinet/udp.h
This patch adds the new constant UDP_GRO from Linux 5.0 to glibc.
Tested for x86_64.
2019-03-21 Joseph Myers <joseph@codesourcery.com>
* sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
diff --git a/sysdeps/gnu/netinet/udp.h b/sysdeps/gnu/netinet/udp.h
index fc82bae381..b6822cb3e2 100644
--- a/sysdeps/gnu/netinet/udp.h
+++ b/sysdeps/gnu/netinet/udp.h
@@ -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_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 */
--
Joseph S. Myers
joseph@codesourcery.com