Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2002 14:01:02 -0700 (PDT)
From:      Maksim Yevmenkin <m_evmenkin@yahoo.com>
To:        Mark Santcroos <marks@ripe.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: Device cloning
Message-ID:  <20020614210102.84658.qmail@web13307.mail.yahoo.com>
In-Reply-To: <20020614202921.GA353@laptop.6bone.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mark,

> On Tue, Jun 11, 2002 at 10:14:48AM -0700, Maksim Yevmenkin wrote:
> > or USB dongle. They all MUST talk via HCI. So HCI is not really a
> > device driver, and, IMO, it is not a pseudo device driver. It sort
> > of looks like /dev/tcp :)
> 
> A ng_device netgraph node is coming up.
> That will present you with a /dev/<whatever you want> interface to the
> netgraph subsystem.
> That might be a starting point, as your work is also a netgraph node.

Yeah, i know. I think, i have the source. It is most likely outdated.
In the version i have you create a new device entry per hook, but what
i really wanted is one device per node with ability to clone devices.
I.e. two (or more) things open /dev/foo and each of them get unique
private context within node. Since it is not going to work anyway,
i will stick to multiple hooks idea which would fit perfectly into
ng_device interface.

thanks,
max

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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