Question about programming with ip_queue

Brad Chapman kakadu_croc@yahoo.com
Sun, 19 Aug 2001 10:58:59 -0700 (PDT)


--- lam wai wm <00028911@brookes.ac.uk> wrote:
> Mr Chapman,
> 
> THanks for your reply.  DO u know where can I look for the code 
> of crc for the tcp header, ip header?  ANd I've tried to look 
> for the code in /usr/src/linux/include/net/checksum.h, and the 
> files in /usr/src/linux/net/ipv4, but I'm not sure how can I 
> use it?  Could you give some pointer to me that I can use it.  
> Apart from that, is there any user level library do that?
> 
> Thanks, thanks a lot.
> 
> very respectfully,
> marco.

Mr. marco,

	grep the ipv4 and ipv6 directories and look for the following
words:

	csum_ipv6_magic
	csum_partial
	csum_partial_and_copy

	See the examples in the code and go from there.

Brad


=====
Brad Chapman

Permanent e-mail: kakadu_croc@yahoo.com
Current e-mail: kakadu@adelphia.net

Reply to the address I used in the message to you,
please!

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/