netinet/udp.h: add UDP_GRO from linux v5.0
authorSzabolcs Nagy <nsz@port70.net>
Wed, 6 Mar 2019 22:24:05 +0000 (22:24 +0000)
committerRich Felker <dalias@aerifal.cx>
Wed, 13 Mar 2019 16:33:51 +0000 (12:33 -0400)
sockopt to enable gro for udp.
added in linux commit e20cf8d3f1f763ad28a9cb3b41305b8a8a42653e

include/netinet/udp.h

index 5ea37b0..ffd8907 100644 (file)
@@ -27,6 +27,7 @@ struct udphdr {
 #define UDP_NO_CHECK6_TX 101
 #define UDP_NO_CHECK6_RX 102
 #define UDP_SEGMENT    103
+#define UDP_GRO                104
 
 #define UDP_ENCAP_ESPINUDP_NON_IKE 1
 #define UDP_ENCAP_ESPINUDP     2