From owner-freebsd-net Thu Feb 1 13:13:42 2001 Delivered-To: freebsd-net@freebsd.org Received: from postal.sdsc.edu (postal.sdsc.edu [132.249.20.114]) by hub.freebsd.org (Postfix) with ESMTP id 4288E37B491 for ; Thu, 1 Feb 2001 13:13:21 -0800 (PST) Received: from multivac.sdsc.edu (multivac.sdsc.edu [132.249.20.57]) by postal.sdsc.edu (8.9.3/8.9.3/SDSCserver-16) with ESMTP id NAA24089 for ; Thu, 1 Feb 2001 13:13:20 -0800 (PST) Received: from localhost by multivac (8.9.3+Sun/1.11-SolarisClient) with ESMTP id NAA18078; Thu, 1 Feb 2001 13:13:20 -0800 (PST) Date: Thu, 1 Feb 2001 13:13:20 -0800 (PST) From: Matthew Luckie To: Subject: protosw kernel module Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi there I am wondering if it is at all possible to somehow dynamically append a protocol to the protocol switch (table) mechanism with a kernel module. I am looking at the ipprotosw.h and in_proto.c files and it does not appear to be possible, as the inetsw[] array is declared to be a fixed size at compile time. I have written a protocol into the switch table with the necessary pr_input function and it would be helpful for me to be able to deploy this protocol as a binary .ko amongst many machines instead of distributing a complete kernel. I am willing to do some work to enable the kernel to do this, if it currently cannot, if a committer is interested in adding this feature to the kernel. However, I guess that this type of enhancement might not be wanted. Matthew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message