Message ID | Pine.LNX.4.64.1409101723460.12853@digraph.polyomino.org.uk |
---|---|
State | New |
Headers | show |
On 09/10/2014 07:24 PM, Joseph S. Myers wrote:
> +#define UDP_NO_CHECK6_TX 101 /* Disable sending checksum for UDP6X. */
“UDP6X” appears to be a typo for “UDP6” in the kernel sources, but it
should actually say “UDP over IPv6” in our version because that's more
descriptive.
diff --git a/sysdeps/gnu/netinet/udp.h b/sysdeps/gnu/netinet/udp.h index 32159cd..1f015ca 100644 --- a/sysdeps/gnu/netinet/udp.h +++ b/sysdeps/gnu/netinet/udp.h @@ -78,6 +78,8 @@ struct udphdr #define UDP_CORK 1 /* Never send partially complete segments. */ #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 accepting checksum for UDP6. */ /* UDP encapsulation types */ #define UDP_ENCAP_ESPINUDP_NON_IKE 1 /* draft-ietf-ipsec-nat-t-ike-00/01 */