From owner-freebsd-hackers Thu Apr 2 04:25:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA02178 for freebsd-hackers-outgoing; Thu, 2 Apr 1998 04:25:35 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA02170 for ; Thu, 2 Apr 1998 04:25:30 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id NAA21757; Thu, 2 Apr 1998 13:24:37 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id OAA19723; Thu, 2 Apr 1998 14:25:17 +0200 (MET DST) Message-ID: <19980402142402.48617@follo.net> Date: Thu, 2 Apr 1998 14:24:02 +0200 From: Eivind Eklund To: UDDIN MOHAMMAD NAZEER , freebsd-hackers@FreeBSD.ORG Subject: Re: device driver of NE2000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: ; from UDDIN MOHAMMAD NAZEER on Thu, Apr 02, 1998 at 11:16:13AM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 02, 1998 at 11:16:13AM +0300, UDDIN MOHAMMAD NAZEER wrote: > > Hello, > Can anybody tell me in which directory this NE2000 device driver is. > I was searching for symbolic name ed0 etc. I possible please mention > device file name, symbolic name. I want to open this and read the > ethernet packets received. Look at how bpf, not ed0. You can see an example of how to use it in tcpdump. The ed driver is in src/sys/i386/isa/if_ed.c so you know if you should need it later. Network interface source code usually (always? that's a subset of usually :-) start with "if_". Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message