From owner-freebsd-net Wed Dec 12 16:20:15 2001 Delivered-To: freebsd-net@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 7FC0737B417 for ; Wed, 12 Dec 2001 16:20:11 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011213002011.MLTY10701.rwcrmhc53.attbi.com@InterJet.elischer.org>; Thu, 13 Dec 2001 00:20:11 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA12178; Wed, 12 Dec 2001 16:05:44 -0800 (PST) Date: Wed, 12 Dec 2001 16:05:43 -0800 (PST) From: Julian Elischer To: Aleksander Rozman - Andy Cc: freebsd-net@freebsd.org Subject: Re: Adding new networking protocol (ax.25) In-Reply-To: <5.0.2.1.0.20011211172115.02d0edb8@sundance.kks.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org a couple of comments.. understand mbufs vs Linux pkbufs. there are several "added" protocols. see what netgraph does to add itself as a protocol the socket part of doing so is in ng_socket.c and the bottom end is in ng_base.c where it adds a handler to the netisr structures. look however at how ip or appletalk actually get teh packets from there, rather than how netgraph does, which is non standard. ( you have to add yourself to structures at both the top and bottom of the kernel.) divert sockets also add themself as a IP subprotocol. (the top part) On Tue, 11 Dec 2001, Aleksander Rozman - Andy wrote: > > Hi People ! > > I was planing some time now, to try to add ax25 (packet radio) protocols, > so we could use packet radio with FreeBSD. Now I was wondering if any of > you has seen any special documentation that could help me with that. I was > told that TCP/IP Illustrated Volume 2, was great book for this purpose (I > still haven't got my hands on it, but I am trying to get it), so I was > wondering if anybody else has some info that could help me do that > (tutorials, docs, books, links, anything...). I will be porting this from > Linux, so any documentation for doing this will also be appreciated. I was > searching net for this, but I haven't found much so far, everything I did > get, I got by "accident"...so if any of you had some of such "accident" I > would be grateful for any hints... > > Take care. > Andy > > > > > ************************************************************************** > * Aleksander Rozman - Andy * Fandoms: E2:EA, SAABer, Trekkie, Earthie * > * andy@kksonline.com * Sentinel, BH 90210, True's Trooper, * > * andy@atechnet.dhs.org * Heller's Angel, Questie, Legacy, PO5, * > * Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender * > * ICQ-UIC: 4911125 ********************************************* > * PGP key available * http://www.atechnet.dhs.org/~andy/ * > ************************************************************************** > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message