Subject: Re: Hardware IPv4/TCP/UDP checksumming support
To: None <tech-net@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: tech-net
Date: 09/06/2001 12:02:20
Pål Halvorsen <paalh@unik.no> typed:
: I'm using the ti driver. How do you tell the system to use HW
: checksumming, setsockopt/ioctl?

Via "ifconfig".  See what "ifconfig ti0" says in capabilities then pass
those args back through to enable them.  e.g. if it has
        capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
then you can say
% ifconfig ti0 ip4csum tcp4csum udp4csum

or whack it on the end of your /etc/ifconfig.ti0 line (if you use that)
to enable at boot time.

Regards,
-- 
Geoff Wing : <gcw@pobox.com>
Rxvt Stuff : <gcw@rxvt.org>
Zsh Stuff  : <gcw@zsh.org>