diff options
author | Joseph Myers <joseph@codesourcery.com> | 2019-03-25 13:16:46 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2019-03-25 13:16:46 +0000 |
commit | d7563e6277ee9c0b6936debd4a6c9a910105b68a (patch) | |
tree | 918d60219b31bce9cb3997eb0920d3c8564822e8 | |
parent | 9ac2de697e4989812197d939b9bf20ad1d784d8c (diff) | |
download | glibc-d7563e6277ee9c0b6936debd4a6c9a910105b68a.tar.gz glibc-d7563e6277ee9c0b6936debd4a6c9a910105b68a.tar.xz glibc-d7563e6277ee9c0b6936debd4a6c9a910105b68a.zip |
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. * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sysdeps/gnu/netinet/udp.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 2ead14e1a9..2e8ed59d21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2019-03-25 Joseph Myers <joseph@codesourcery.com> + * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro. + * elf/elf.h (NT_ARM_PAC_MASK): New macro. (NT_MIPS_MSA): Likewise. 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 */ |