[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: sockets in kernelmodule
From:       Archie Cobbs <archie () whistle ! com>
Date:       2000-02-29 18:29:05
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic