From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 9 16:33:31 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71BD7106566C for ; Sun, 9 Mar 2008 16:33:31 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outR.internet-mail-service.net (outR.internet-mail-service.net [216.240.47.241]) by mx1.freebsd.org (Postfix) with ESMTP id 419CE8FC16 for ; Sun, 9 Mar 2008 16:33:31 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Sun, 09 Mar 2008 09:33:30 -0700 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id C1BE62D6017; Sun, 9 Mar 2008 09:33:29 -0700 (PDT) Message-ID: <47D41160.9070901@elischer.org> Date: Sun, 09 Mar 2008 09:33:36 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Hans Petter Selasky References: <200803081133.02575.hselasky@c2i.net> <20080308171435.J88526@fledge.watson.org> <200803091027.39843.hselasky@c2i.net> In-Reply-To: <200803091027.39843.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Robert Watson Subject: Re: Documentation on writing a custom socket X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 16:33:31 -0000 Hans Petter Selasky wrote: > On Saturday 08 March 2008, Robert Watson wrote: >> On Sat, 8 Mar 2008, Hans Petter Selasky wrote: > >> For example, do you >> anticipate using or even needing the routing facilities, and how might you >> map ISDN telephony parts into the normal network stack infrastructure of >> addresses, routing, interfaces, etc? > > Hi Robert, > > ISDN is very simple. In the ISDN world there is a term called TEI which is the > Terminal Entity Identifier. This kind of like an IP address. > > Besides from the signalling there are 2 B-channels which can transport data or > audio. One of my goals is to achive zero copy when moving data to/from an > ISDN line and also in combination to Voice over IP. Currently data is moved > through userland (Asterisk typically) which is usable in the short term, but > in the long run I want this extra copying removed. The idea is that I can > route [IP] packets (mbufs) through various filters in the kernel without the > need for copy. Given the speed of ISDN connections, It is not worth doing zero copy on ISDN unless you have more than 1000 of them, which seems unlikely. given a total throughput of 128000 b/s and the speed of current hardware, the number of packets per second is probably not high enough to make the difference even noticable. > > --HPS > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"