Neelam wrote:
> I think I didn't make it very clear the need to communicate with another
> driver. I basically want to provide a layer of indirection for the packet for
> some reason. So I wrote a pseudo driver which buffers the packets until
> signaled to flush the packet to the default driver. This is why I want my
> pseudo driver to communicate to another driver.
>
I think you're probably going about this the wrong way. Instead, maybe
you should investigate using a streams module and pushing the module on
the physical driver. (Think of it like a "filter" made up of pipes in a
stdio stream.) The STREAMs Programming book has a pertinent example,
IIRC. (Though as part of this effort, you'd probably also have to
decode the DLPI - Data Link Provider Interface. The DLPI spec is
readily findable with Google.)
-- Garrett
> Thanks,
> Neelam
>
>
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-code mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
>
>
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code