diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-08-27 13:43:05 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-08-27 13:43:05 +0000 |
commit | 4061791fccec50dfcd13b72ccb926dedc58b9680 (patch) | |
tree | bd9f6a2813459ab76d91cfcdea9f398b4c9e8b18 /sysdeps/gnu | |
parent | bc680b336971305cb39896b30d72dc7101b62242 (diff) | |
download | glibc-4061791fccec50dfcd13b72ccb926dedc58b9680.tar.gz glibc-4061791fccec50dfcd13b72ccb926dedc58b9680.tar.xz glibc-4061791fccec50dfcd13b72ccb926dedc58b9680.zip |
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.
Diffstat (limited to 'sysdeps/gnu')
-rw-r--r-- | sysdeps/gnu/netinet/udp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/gnu/netinet/udp.h b/sysdeps/gnu/netinet/udp.h index eddd248655..45f007b7b5 100644 --- a/sysdeps/gnu/netinet/udp.h +++ b/sysdeps/gnu/netinet/udp.h @@ -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 */ |