[dtrace-discuss] tcptop and tcpsnoop Script errors.

Samuel Bercovici
2009-03-19T23:11:58Z

oops, need to be:

this->queuep = (queue_t *)((tcp_stack_t *)args[7)->tcps_g_q;

-Sam.


> 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.