[dtrace-discuss] tcptop and tcpsnoop Script errors.

Samuel Bercovici
2009-03-19T19:50:48Z

After looking at the open Solaris source code for tcp_xmit_early_reset. You need
to replace the following code:
this->queuep = (queue_t *)`tcp_g_q; /* ` */

with this code:
this->queuep = (queue_t *)((tcp_stack_t *)arg8)->tcps_g_q;

Seams to work for me.

-Sam.