Re: IP: optimize as a router not host

Alan Cox (alan@cymru.net)
Mon, 18 Mar 1996 11:59:52 +0000 (GMT)


> reading about "IP: optimize as a router not host" says, that this will
> turn off checksum calculation. couldn't this be done automatically,
> i.e. for any packet that is known to be routed, don't perform checksum
> calculus, while any other packet, that directly addresses this host,
> will be checksummed (e.g. any address that contains one of our
> interface addresses in the dest field).

It doesn't turn off all checksum calculation it turns off the copy/checksum
pass in some drivers. The overhead of doing a routing lookup to find out
if we need to for each frame isnt worth it.

Alan