udp checksum problem..

2001-03-24 Thread Madhavi Suram
Hi I am modifying FreeBSD 4.1 kernel. I am hacking all UDP packets in ip_input, changing some headers and finding the udp checksum using in_pseudo() and setting the packet header csum_flags to CSUM_UDP (I know this is a dirty way of doing it.. but, had to do it for efficiency reasons). When I t

warning in free():

2001-02-22 Thread Madhavi Suram
Hi I am running a C program in user space on FreeBSD 3.3 release. I got a warning like this: testing in free(): warning: modified (chunk-) pointer. testing is the name of the executable I am running. Could anyone tell me what this warning means? What may be the effect of this code wh