int OneInt = 1; setsockopt(fd, SOL_SOCKET, SO_NO_CHECK, &OneInt, sizeof(OneInt)); Dave p.s. RFC 2460 requires the use of UDP checksums for IPv6. -----Original Message----- From: linux-net-owner@vger.kernel.org [mailto:linux-net-owner@vger.kernel.org] On Behalf Of MCG LU Fengcheng Sent: Monday, June 14, 2004 12:37 AM To: linux-net@vger.kernel.org Subject: How to diasable/enable udp checksum Hello all how to disable/enable the udp checksum in the redhat7.3? B.R. Lu - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html