RE: How to diasable/enable udp checksum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Craig
	this operation will produce a error: Invalid Argument!
B.R.
Lu

-----Original Message-----
From: Craig, Dave [mailto:dwcraig@qualcomm.com]
Sent: Tuesday, June 15, 2004 1:39 AM
To: MCG LU Fengcheng; linux-net@vger.kernel.org
Subject: RE: How to diasable/enable udp checksum


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
-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux