On Fri, Feb 15, 2002 at 03:29:04PM -0000, Tariq Rashid wrote: > > can anyone point me to the kernel source where packets are taken from the > DIVERT socket (natd puts them there) - > > i'm finding that sendto() is taking most of the CPU - so i want to have a > look at maybe taking two or three packets from the DIVERT buffer per kernel > loop. > > (i'm not an expert at this by ny means - so useful help would be great!)
Look in sys/netinet. ip_divert.c, ip_input.c, and ip_output.c are good starts. -- Crist J. Clark | [EMAIL PROTECTED] | [EMAIL PROTECTED] http://people.freebsd.org/~cjc/ | [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message