dear all,

i want to offload ip checksum calculation to the NIC.
I use 3Com 3c905B-TX NIC cards.

I found that there are variables::>>

        int     csum_flags;             /* flags regarding checksum */
        int     csum_data;              /* data field used by csum routines */

in struct pkthdr in mbuf.h.

also i found the various flags for the hardware checksumming.
but i don't know the exact steps i need to do 
in order to offload checksumming. 

should i set the csum_flags to CSUM_IP and point
csum_data to the start of the ip header ??

it would be a great help if anybody
could tell me what do i need to do ?

thanks,
kamal




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to