Hi everybody,
I have a kernel device driver programming related question for Solaris
2.6.
We have a packet classifier which sits between the IP pseudo-driver
and the network interface driver.
We need to send an unacknowledged message from the IP driver to our
classifier so as to pass on connection setup information. The classifier
is implemented as a pseudo device driver. We have plumbed the classifier
beneath IP, and now need a way to send M_PROTO messages from the IP driver
to the classifier. We have saved up the address of the device write queue
of our classifier in a global variable, but a putnext of a message from IP
onto the classifier's device write queue causes the machine to crash.
(1) In short, is there a way for M_PROTO messages to be transmitted from
IP to our classifier beneath it.
(2) Is there a way to set up a STREAM between two kernel pseudo device
drivers?
Thanks a bunch in advance.
Regards,
ravi