From owner-freebsd-current@FreeBSD.ORG Wed Dec 24 17:29:08 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93554106564A; Wed, 24 Dec 2008 17:29:08 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 614958FC12; Wed, 24 Dec 2008 17:29:08 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 14D321F3FDE; Wed, 24 Dec 2008 12:29:08 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Dec 2008 12:29:08 -0500 X-Sasl-enc: KPI0dPX05QbQGJlIV45MyGzHyQ8INOOWptOkzUMAq9il 1230139747 Received: from anglepoise.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id E7BD8B371; Wed, 24 Dec 2008 12:29:06 -0500 (EST) Message-ID: <49527161.1070404@incunabulum.net> Date: Wed, 24 Dec 2008 17:29:05 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.18 (X11/20081204) MIME-Version: 1.0 To: Robert Watson References: <55f001c9639d$875f14ec$7202020a@internal.cacheflow.com> <4950F770.3090700@dlr.de> <495165D8.2070409@dlr.de> <495246C9.9090305@incunabulum.net> <495270AA.3010904@incunabulum.net> In-Reply-To: <495270AA.3010904@incunabulum.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Qing Li , Hartmut Brandt , freebsd-current@freebsd.org, "Li, Qing" , freebsd-net@freebsd.org Subject: Re: NATM hardware available X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 17:29:08 -0000 Bruce Simpson wrote: > Robert Watson wrote: >> ... >> Do we have any of the necessary software parts to do simulated ATM >> hardware similar to what if_tap does for Ethernet? Using the VIMAGE >> stuff and virtual ATM hardware might open up the door to a more >> accessible development and test environment. I did the NATM locking >> work essentially "blind" due to a lack of test environment locally, >> which seemed to work out, but a software test system would go a long >> way. > > Loopback would be possible, sure, but you are probably only going to > be able to simulate looped-back PVCs. > Fortunately, the ITU G.DMT mandated use of ATM for xDSL generally only > uses PVCs. P.S. You can probably cut corners for the job, by only marshaling the whole packet payloads for NATM across the loopback boundary. There is little point in simulating the 53 byte cell segmentation-and-reassembly unless you love masochism. Of course, NATM makes the job somewhat easier, by giving you some equivalent knobs -- stuff stashed in NATM socket state usually winds up in the cell headers.