From owner-freebsd-questions Fri Mar 23 15:49:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f220.law14.hotmail.com [64.4.21.220]) by hub.freebsd.org (Postfix) with ESMTP id DEA0337B71D for ; Fri, 23 Mar 2001 15:49:40 -0800 (PST) (envelope-from kernel_newbie@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 Mar 2001 15:49:40 -0800 Received: from 128.194.153.43 by lw14fd.law14.hotmail.msn.com with HTTP; Fri, 23 Mar 2001 23:49:39 GMT X-Originating-IP: [128.194.153.43] From: "Kernel Newbie" To: freebsd-questions@FreeBSD.ORG Subject: writing to a file from kernel mode Date: Fri, 23 Mar 2001 23:49:39 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 23 Mar 2001 23:49:40.0070 (UTC) FILETIME=[ECFB7060:01C0B3F3] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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, KN _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message