From owner-freebsd-questions@FreeBSD.ORG Fri Jan 30 09:35:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B478716A4CE for ; Fri, 30 Jan 2004 09:35:07 -0800 (PST) Received: from mail.isg.siue.edu (mail.isg.siue.edu [146.163.5.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE30443D46 for ; Fri, 30 Jan 2004 09:34:51 -0800 (PST) (envelope-from ehamilt@cougar.isg.siue.edu) Received: from WEBSHIELD1.isg.siue.edu (webshield1.isg.siue.edu [146.163.5.149])id LAA06966 for ; Fri, 30 Jan 2004 11:34:46 -0600 (CST) Received: From mail.isg.siue.edu ([146.163.5.4]) by WEBSHIELD1.isg.siue.edu (WebShield SMTP v4.5 MR1a); id 1075484085302; Fri, 30 Jan 2004 11:34:45 -0600 Received: from cougar.isg.siue.edu (cougar [146.163.5.29]) id LAA06835; Fri, 30 Jan 2004 11:34:42 -0600 (CST) Received: from localhost (ehamilt@localhost)ESMTP id LAA29681; Fri, 30 Jan 2004 11:34:41 -0600 (CST) Date: Fri, 30 Jan 2004 11:34:41 -0600 (CST) From: Erik Hamilton To: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: FreeBSD IP Device Driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 17:35:07 -0000 I'm currently working on building a simple token ring networking scheme over the parallel port (/dev/ppi0) for a graduate project. The project itself is to be used later for educational purposes, illustrating how you can build a network from the ground up through hardware developement, framing, and layering. The hardware is done, simple token managment is working, and data can be passed around the ring. So basically I have the physical and datalink layers mostly done. It's my understanding that if I can get my program to speak IP to FreeBSD (through a kernel module or something else) I could inherit its TCP/IP stack. Ideally I would like to have my simple token ring as another network device that could be used just like any other network interface. I've been reading through FreeBSD's handbooks and poking through /usr/src/sys/dev/. * Developers' Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html * FreeBSD Architecture Handbook (esp. Section II: Device Drivers): http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/index.html Basically I think I'm just looking for some guidance. Am I on the right track? or am I confused? I haven't had the best luck with google, so any other reading material would be greatly appreciated. Erik