From owner-freebsd-questions Mon Nov 17 07:00:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA16226 for questions-outgoing; Mon, 17 Nov 1997 07:00:47 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from rocket.comtrol.com (rocket.comtrol.com [204.73.219.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id HAA16221 for ; Mon, 17 Nov 1997 07:00:45 -0800 (PST) (envelope-from steveg@comtrol.com) Received: from steveg.comtrol.com ([204.73.219.207]) by rocket.comtrol.com (8.6.9/8.6.9) with SMTP id JAA03786; Mon, 17 Nov 1997 09:00:13 -0600 Message-Id: <2.2.32.19971117150015.0068f1bc@comtrol.com> X-Sender: steveg@comtrol.com X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 17 Nov 1997 09:00:15 -0600 To: questions@freebsd.org From: Steve Gericke Subject: link layer ethernet access Cc: steveg@rocket.comtrol.com Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I need to send Ethernet II packets over existing an Ethernet drivers. I cannot use BPF. My company has developed a product which supports serial ports over a LAN connection and we would like to get a FreeBSD implementation done. Other OS's NT, windows 95 SCO, Novell all have documented and working DATA LINK interfaces. In looking at 4.4BSD Operation System book it talks about a link layer interface. But in looking at FreeBSD existing ethernet drivers they use ether_input and ether_output as their interface to if_ethersubr.c. Here the code looke for IP, IPX, etc. for specific interfaces to past control to. Is there a generic path that I can use to maybe register a pseudo driver interface so that I can have access the the top layer of an ethernet driver of my choosing. I need to send and receive Ethernet type II packets only. If you have any suggestions or sample code I would enjoy hearing from you !! Thanks in advance.. steveg@comtrol.com