Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Feb 2000 10:29:05 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        ticso@cicely5.cicely.de (Bernd Walter)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: sockets in kernelmodule
Message-ID:  <200002291829.KAA17466@bubba.whistle.com>
In-Reply-To: <20000227183903.A27079@cicely5.cicely.de> from Bernd Walter at "Feb 27, 2000 06:39:04 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002291829.KAA17466>