From owner-freebsd-atm@FreeBSD.ORG Mon Apr 21 08:22:09 2003 Return-Path: Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF20537B408 for ; Mon, 21 Apr 2003 08:22:09 -0700 (PDT) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F48543F93 for ; Mon, 21 Apr 2003 08:22:09 -0700 (PDT) (envelope-from vjardin@wanadoo.fr) Received: from mercure.vincentjardin.net (rennes-1-a7-62-147-96-30.dial.proxad.net [62.147.96.30]) by postfix4-1.free.fr (Postfix) with ESMTP id 203A51A0ED; Mon, 21 Apr 2003 17:22:06 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" From: Vincent Jardin To: freebsd-atm@freebsd.org Date: Mon, 21 Apr 2003 17:22:06 +0200 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200304211722.06156.vjardin@wanadoo.fr> cc: archie@dellroad.org Subject: Netgraph Virtual ATM/Harp driver X-BeenThere: freebsd-atm@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ATM for FreeBSD! List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 15:22:10 -0000 Enclosed a link to a patch of the HARP stack and a Netgraph node that pro= vides=20 a Virtual Physical ATM driver for the HARP stack. It is usefull when you = do=20 not have an ATM board ;-) For example, it can be used to do ATM over UDP=20 (what a crazy idea !!). See netgraph/regression/memory_leak.sh For example, there is a non-regression test that shows that the HARP stac= k can=20 support a dynamic attachment and detachment of the PIF. http://vjardin.free.fr/harp/harp_20030421.tgz Then, based on this VATMPIF, I have enhanced the atm tool in order to add= PVC=20 that supports CBR, VBR and UBR. There are other features like debugging without recompiling the Kernel,=20 tcpdump support on the NBMA interfaces, ... and bug fixes against a panic= =20 related to a old code of atm_if.c that were used to clean that addresses = and=20 the route tables. The debugging supports uses the following sysctls: net.harp.atm.atm_debug: 0|1 net.harp.atm.atm_dev_print: 0|1 net.harp.atm.atm_print_data: 0|1 net.harp.ip.ipatm_print: 0|1 net.harp.spans.spanscls_print: 0|1 net.harp.uni.uniarp_print: 0|1 net.harp.uni.unisig_print_msg: 0|1|2 See the INSTALL file. This patch is based on FreeBSD 4.7, however it coul= d be=20 ported easily for all the releases of FreeBSD that supports both Netgraph= and=20 HARP. I would be interesed in getting feedbacks about some new features or bugs= =2E I=20 could not test the UNI, neither the SPANS code yet. Regards, Vincent