diff options
author | Kito Cheng <kito.cheng@gmail.com> | 2019-03-27 17:09:52 +0800 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2019-07-04 23:39:12 -0700 |
commit | baefbdd8bcedfabf0cf89dce679a8bd1a9f27b39 (patch) | |
tree | bd5e8068bf92755e5f8691073053cebd004fb448 /linux-headers/include/linux/udp.h | |
parent | 12b6dc81b7e7fe46a1987ffc6dbd710bcfaaf671 (diff) | |
download | riscv-gnu-toolchain-baefbdd8bcedfabf0cf89dce679a8bd1a9f27b39.zip riscv-gnu-toolchain-baefbdd8bcedfabf0cf89dce679a8bd1a9f27b39.tar.gz riscv-gnu-toolchain-baefbdd8bcedfabf0cf89dce679a8bd1a9f27b39.tar.bz2 |
Bump linux header to 5.0
Diffstat (limited to 'linux-headers/include/linux/udp.h')
-rw-r--r-- | linux-headers/include/linux/udp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-headers/include/linux/udp.h b/linux-headers/include/linux/udp.h index 7aa058b..605102b 100644 --- a/linux-headers/include/linux/udp.h +++ b/linux-headers/include/linux/udp.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket @@ -31,6 +32,8 @@ struct udphdr { #define UDP_ENCAP 100 /* Set the socket to accept encapsulated packets */ #define UDP_NO_CHECK6_TX 101 /* Disable sending checksum for UDP6X */ #define UDP_NO_CHECK6_RX 102 /* Disable accpeting checksum for UDP6 */ +#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 */ @@ -38,5 +41,6 @@ struct udphdr { #define UDP_ENCAP_L2TPINUDP 3 /* rfc2661 */ #define UDP_ENCAP_GTP0 4 /* GSM TS 09.60 */ #define UDP_ENCAP_GTP1U 5 /* 3GPP TS 29.060 */ +#define UDP_ENCAP_RXRPC 6 #endif /* _LINUX_UDP_H */ |