From owner-freebsd-hackers Tue Mar 19 1: 0:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from www.example.org (dhcp-nic-val-26-94.cisco.com [64.103.26.94]) by hub.freebsd.org (Postfix) with SMTP id 343B137B404 for ; Tue, 19 Mar 2002 01:00:29 -0800 (PST) Received: (qmail 290 invoked by uid 1000); 19 Mar 2002 09:00:01 -0000 Date: Tue, 19 Mar 2002 10:00:00 +0100 From: Marco Molteni To: freebsd-hackers@freebsd.org Subject: can I do this with a KLD? Message-ID: <20020319100000.A241@cobweb.example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, in netinet/in_proto.c there is struct ipprotosw inetsw[], which contains the entry points for the various Internet protocols. If one wants to add a new protocol he has to add the entry points in that array. Would it be feasible to add a new protocol as a KLD instead? If yes, how? If not, what would be required to transform inetsw[] in a way that would allow KLD? thanks marco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message