From owner-freebsd-hackers Tue Feb 29 10:29:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id E8EEC37BD8D for ; Tue, 29 Feb 2000 10:29:37 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.2) id KAA17466; Tue, 29 Feb 2000 10:29:05 -0800 (PST) From: Archie Cobbs Message-Id: <200002291829.KAA17466@bubba.whistle.com> Subject: Re: sockets in kernelmodule In-Reply-To: <20000227183903.A27079@cicely5.cicely.de> from Bernd Walter at "Feb 27, 2000 06:39:04 pm" To: ticso@cicely5.cicely.de (Bernd Walter) Date: Tue, 29 Feb 2000 10:29:05 -0800 (PST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bernd Walter writes: > Is it valid to use proc0 for socreate() and sobind() in kernel? > In my case I need to create a TCP connection which is used from different > processes and which may be reconnected from different processes. I'm not sure how valid it is, but that's what the netgraph node type ng_ksocket(8) does. I copied this from the NFS code. Not sure what you're doing, but you might possibly save some work by using ng_ksocket(8). -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message