Hi 

I don't think I can use netstat -s becuase it reports numbers from the kernel 
networking stack - tcp connections and so on. 
I am bypassing this stack and reading from the NIC in promiscous mode - into a 
packet sniffer program. 
NoCanPut is defined as 

3. Ethernet Drivers and nocanput Failures

Ethernet drivers receive messages and pass them to the module above it in the 
interrupt context. Before this message passing takes place, the driver checks 
to see if there is room in the queue of the next upper module with a service 
procedure by using the canputnext(9F) kernel routine. If the queue is full (for 
example, the q_count is greater than high watermark), then canputnext() fails 
(returns 0) and the message gets dropped. The Ethernet driver increments the 
nocanput counter when this happens. The value of the nocanput count can be 
viewed using netstat -k command. 
(http://developers.sun.com/solaris/articles/streams_bandwith.html)
(cannot use netstat -k anymore)

-----------------------------------------------------------------------------------------
Is the problem that I am not using a "module above" the driver as described 
here - because I am bypassing the networking stack? Is that why I get a core 
dump?

Thanks
Greg0r
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to