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
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to