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.
This commit is contained in:
Joseph Myers 2018-08-27 13:43:05 +00:00
parent bc680b3369
commit 4061791fcc
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2018-08-27 Joseph Myers <joseph@codesourcery.com>
* sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
regex: fix uninitialized memory access

View File

@ -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 */