Message ID | alpine.DEB.2.21.1903212058410.14918@digraph.polyomino.org.uk |
---|---|
State | New |
Headers | show |
Series | Add UDP_GRO from Linux 5.0 to netinet/udp.h | expand |
On Thu, Mar 21 2019, Joseph Myers wrote: > This patch adds the new constant UDP_GRO from Linux 5.0 to glibc. Looks good to me. $ git show v4.20:include/uapi/linux/udp.h | grep -E "UDP_GRO" $ git show v5.0:include/uapi/linux/udp.h | grep -E "UDP_GRO" #define UDP_GRO 104 /* This socket can receive UDP GRO packets */ > +#define UDP_GRO 104 /* This socket can receive UDP GRO packets. */ OK.
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 */