Re: udp checksums

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

 



On Fri, Jul 07, 2000 at 09:18:50AM -0700, Scott Long wrote:
> Sharad Joshi wrote:
> > 
> > + It is already enabled. At least it appears that way.
> > 
> > Ooops, i meant dynamically enabling/disabling udp checksuming as we do for
> > icmp_echo_ignore... :)
> > 
> > Sharad.
> 
> As far as I can tell from looking at the kernel, there is no facility
> for this. I wonder why not.

int on = 1;
setsockopt(sk, SOL_SOCK, SO_NO_CHECK, &on, sizeof on);

it is not documented because it is too dangerous. Also it gives 
only minimal speed increases on Linux.


-Andi
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[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