mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-14 01:00:07 +00:00
Add new Linux 3.16 constants to netinet/udp.h.
This patch adds the new constants UDP_NO_CHECK6_TX and UDP_NO_CHECK6_RX from Linux 3.16 to sysdeps/gnu/netinet/udp.h. (I believe the existing constants there are already Linux-specific, possibly with the intention that other OSes should adopt the same values if possible if adopting the features in question.) Tested on x86_64. * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro. (UDP_NO_CHECK6_RX): Likewise.
This commit is contained in:
parent
920238e061
commit
0bd7246803
@ -1,3 +1,8 @@
|
|||||||
|
2014-09-12 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
|
||||||
|
(UDP_NO_CHECK6_RX): Likewise.
|
||||||
|
|
||||||
2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
* sysdeps/posix/sysconf.c (__sysconf): Spell
|
* sysdeps/posix/sysconf.c (__sysconf): Spell
|
||||||
|
@ -78,6 +78,10 @@ struct udphdr
|
|||||||
#define UDP_CORK 1 /* Never send partially complete segments. */
|
#define UDP_CORK 1 /* Never send partially complete segments. */
|
||||||
#define UDP_ENCAP 100 /* Set the socket to accept
|
#define UDP_ENCAP 100 /* Set the socket to accept
|
||||||
encapsulated packets. */
|
encapsulated packets. */
|
||||||
|
#define UDP_NO_CHECK6_TX 101 /* Disable sending checksum for UDP
|
||||||
|
over IPv6. */
|
||||||
|
#define UDP_NO_CHECK6_RX 102 /* Disable accepting checksum for UDP
|
||||||
|
over IPv6. */
|
||||||
|
|
||||||
/* UDP encapsulation types */
|
/* UDP encapsulation types */
|
||||||
#define UDP_ENCAP_ESPINUDP_NON_IKE 1 /* draft-ietf-ipsec-nat-t-ike-00/01 */
|
#define UDP_ENCAP_ESPINUDP_NON_IKE 1 /* draft-ietf-ipsec-nat-t-ike-00/01 */
|
||||||
|
Loading…
Reference in New Issue
Block a user