projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac1af87
)
update netinet/udp.h for linux v4.18
author
Szabolcs Nagy
<nsz@port70.net>
Tue, 21 Aug 2018 22:34:08 +0000
(22:34 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 10 Dec 2018 03:23:48 +0000
(22:23 -0500)
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)
include/netinet/udp.h
patch
|
blob
|
history
diff --git
a/include/netinet/udp.h
b/include/netinet/udp.h
index 030e8fb2c47a0c204a734644e1b82eace61da652..993c34789f507eccd35ff3e4cd54645299eea11e 100644
(file)
--- 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