From owner-freebsd-net Wed Feb 19 16:14:23 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4CAD37B401 for ; Wed, 19 Feb 2003 16:14:22 -0800 (PST) Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3743743F85 for ; Wed, 19 Feb 2003 16:14:22 -0800 (PST) (envelope-from hsu@FreeBSD.org) Received: from FreeBSD.org ([63.193.112.125]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 HotFix 1.6 (built Oct 18 2002)) with ESMTP id <0HAK0085PZBXF4@mta6.snfc21.pbi.net> for freebsd-net@FreeBSD.ORG; Wed, 19 Feb 2003 16:14:21 -0800 (PST) Date: Wed, 19 Feb 2003 16:20:11 -0800 From: Jeffrey Hsu Subject: Re: support of iso networking In-reply-to: "Your message of Thu, 20 Feb 2003 01:00:18 +0100." <3E26CE21013DF60B@mel-rta6.wanadoo.fr> To: Vincent Jardin Cc: freebsd-net@FreeBSD.ORG Message-id: <0HAK0085QZBXF4@mta6.snfc21.pbi.net> MIME-version: 1.0 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT 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 > I have been looking on this delta. I had been stuck on the handlers of the > "user requests" ( xxx_usrreq() ) that are deeply different between NetBSD > and FreeBSD. The old pr_usrreq routine used to be a big switch statement on the second parameter, the request type. Now, each case is a separate function with its own pointer in struct pr_usrreqs. You should be able to just move the code from each case over to the new functions. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message