From owner-freebsd-questions Tue Jun 22 3:44:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from trishul.icil.co.in (unknown [202.54.40.198]) by hub.freebsd.org (Postfix) with ESMTP id 713C315497 for ; Tue, 22 Jun 1999 03:43:02 -0700 (PDT) (envelope-from charooo@trishul.icil.co.in) Received: from trishul.icil.co.in ([37.0.1.12]) by trishul.icil.co.in (8.8.4/8.8.4) with ESMTP id QAA01261 for ; Tue, 22 Jun 1999 16:18:30 +0530 Message-ID: <376F682B.6A4283AE@trishul.icil.co.in> Date: Tue, 22 Jun 1999 16:10:43 +0530 From: Charudatta Brahme X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Network Driver Programming Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I am making some feeble attempts in writing a network driver, a sort of virtual host interface (I know about ifconfig alias - but this needs to be done at the driver level). I can't find enough information on the ifnet structure - mainly how I can force the interface to read all packets coming in. I have tried a read call to a simple virtual interface driver that I have written -but it doesn't seem to be accepting any packets. Where am I going wrong? Is there any other way of doing this? ifconfig alias won't solve my problem as this virtual host has to represent aroun 1024 hosts. Thanks, Charu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message