summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2018-08-21 22:34:08 +0000
committerRich Felker <dalias@aerifal.cx>2018-12-09 22:23:48 -0500
commit4b9b8c8ee66a0b789c9be74e068828f2b74ef6ed (patch)
tree0d841f3b3f3c1e1868e239009d996a8b956c5565 /include
parentac1af87e1d26c476833de272f7ad484ad12fa67c (diff)
downloadmusl-4b9b8c8ee66a0b789c9be74e068828f2b74ef6ed.tar.gz
update netinet/udp.h for linux v4.18
add UDP_NO_CHECK6_* to restrict zero UDP6 checksums, new in linux commit 1c19448c9ba6545b80ded18488a64a7f3d8e6998 (pre-v4.18 change, was missed) add UDP_SEGMENT to support generic segmentation offload for udp datagrams, bec1f6f697362c5bc635dacd7ac8499d0a10a4e7 (new in v4.18)
Diffstat (limited to 'include')
-rw-r--r--include/netinet/udp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/netinet/udp.h b/include/netinet/udp.h
index 030e8fb2..993c3478 100644
--- a/include/netinet/udp.h
+++ b/include/netinet/udp.h
@@ -24,6 +24,9 @@ struct udphdr {
#define UDP_CORK 1
#define UDP_ENCAP 100
+#define UDP_NO_CHECK6_TX 101
+#define UDP_NO_CHECK6_RX 102
+#define UDP_SEGMENT 103
#define UDP_ENCAP_ESPINUDP_NON_IKE 1
#define UDP_ENCAP_ESPINUDP 2