Date: Fri, 23 Mar 2001 19:40:35 -0500 From: Bill Moran <wmoran@iowna.com> To: Kernel Newbie <kernel_newbie@hotmail.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: writing to a file from kernel mode Message-ID: <3ABBED03.87CBE50C@iowna.com> References: <F2202TRqf69aZbLAX3c00009986@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Kernel Newbie wrote: > > Hi, > > I am a relatively new to kernel development. > > 1. I need to write to a file from within a kernel mode. is that possible ? > if yes, how do I do it ? > > 2. Basically, what I need to do is to maintain a seperate counts of IP > packets received from seperate IP addresses. and I need to view the > statistics from the user mode. Any suggestions on how to go about it ?? > > Thanks, Have you considered using the syslog facility? man 3 syslog To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ABBED03.87CBE50C>